Hi,
I am new to stackstorm. Trying out the st2client for the remote connectivity. I had some issue on the
establishment. Apparently all others seem ok including the access through API, eg https://{host}/api.
Would appreciate if anyone can give me some pointer.
My client config is:
[general]
base_url = https://192.168.1.3/api
#api_version = v1
# Path to the CA cert bundle used to validate the SSL certificates
cacert =
[cli]
debug = True
# True to cache the retrieved auth token during authentication in ~/.st2/token
# and use the cached token in the subsequent API requests
cache_token = True
# Timezone used for timestamps displayed in the CLI. If not provided it defaults
# to UTC
timezone = Europe/Ljubljana
[credentials]
# Credentials used to authenticate against the auth API and retrieve the auth
# token
username = st2admin
password = changeme
[api]
url = https://192.168.1.3:9101/api
# or for a remote instance
# url = https://example.com/api/v1
[auth]
url = https://192.168.1.2:9100/auth
# or for a remote instance
#url = https://example.com/auth/v1
[stream]
url = http://192.168.1.2:9102
# or for a remote instance
# url = https://example.com/stream/v1
Issue:
~/st2client/.st2# st2 --config-file=./config action list
2021-05-18 09:48:45,777 WARNING - Auth API server is not available, skipping authentication.
ERROR: HTTPSConnectionPool(host=‘192.168.1.3’, port=9101): Max retries exceeded with url:
/api/actions?include_attributes=ref%2Cpack%2Cdescription (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection
object at 0x7f4992178668>: Failed to establish a new connection: [Errno 111] Connection refused’,))