Error in workflow execution

docker
mistral

(sharoon) #1

“error”: “HTTPSConnectionPool(host=‘13.228.43.16’, port=8989): Max retries exceeded with url: /v2/workflows (Caused by NewConnectionError(’<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc1203c6690>: Failed to establish a new connection: [Errno 110] ETIMEDOUT’,))”


(Lindsay Hill) #2

Could you explain a bit more about your environment?

e.g. are all components installed on the same system? How did you install your system?

Is that system 13.228.43.16? Is the Mistral service listening on that port on that IP?


(sharoon) #3

Docker version 17.12.0-ce, build c97c6d6
st2 version st2 2.6.0
mistral 2.6.0
MongoDB shell version: 3.2.19
rabbitmq Version: 3.7.2-1
mistral api is running and port 8989 is listening

root@2ffe74180b71:/var/log/mistral# netstat -a | grep 8989
tcp 0 0 localhost:8989 : LISTEN


(Lindsay Hill) #4

For the benefit of others, the problem here is that ST2 was configured to use the public IP for Mistral, but Mistral is only listening on loopback. Updating that resolved the issue.