Connect() failed (111: Connection refused) while connecting to upstream

Hello,

I am deploying OpenVidu pro on Digitalocean and got the below status after running ansible.

Screenshot 2020-02-24 at 3.27.52 PM

After that, seeing the below message in the terminal.

TASK [check-app-ready : check every 5 seconds for 60 attempts (5 minutes total) if openvidu is up and ready]

Then, nothing happens for a while and later getting the below error.

Also, I can see the below error in the nginx.error log file.

connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: video.example.com, request: "GET /inspector/ HTTP/1.1", upstream: "http://IP_ADDRESS:5443/", host: "localhost"

Could you help me to understand where it went wrong? Thanks.

KIbana is loading fine. The issue now is with the inspector and REST endpoints. The error is connect() failed (111: Connection refused) while connecting to upstream for both.

Seems like the issue was with the group_vars config. I have updated kms_ips correctly and the issues got resolved.

1 Like