Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Connection refused error - faye port 9292 #133

Open
juansneak opened this issue Nov 22, 2021 · 0 comments
Open

Connection refused error - faye port 9292 #133

juansneak opened this issue Nov 22, 2021 · 0 comments

Comments

@juansneak
Copy link

I have a ruby app hosted in Digital Ocean and chat messages have been working correctly for a long time. However, around 1 and a half month ago it stopped working and I got an error on the console that says: GET https://fake-url.com:9292/faye/faye.js net::ERR_CONNECTION_REFUSED

In order to try to solve this I did the following:

  • Restarted Faye server using this command: bundle exec thin -C /data/app/shared/config/private_pub_thin.yml -d -P /data/app/shared/tmp/pids/faye.pid --ssl-disable-verify start (I run this command through Capistrano)

  • After running that command I checked /data/app/shared/tmp/pids folder and confirmed that faye.pid is there so process seems to be running

  • Then I ran sudo lsof -i -P -n | grep LISTEN to check open ports and 9292 port is listed

  • After that I reloaded the chat and got again the net::ERR_CONNECTION_REFUSED error

  • Finally, I changed the port to 8080 in my private_pub.yml and repeated the steps above and got the same error

I wonder if this has something to do with the expired Let’s Encrypt Root Certificate (https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021). I believe this because I think my chat messages application stoped working on October 1st. Also I had other problems related to this expired certificate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant