-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faye Troubleshooting #355
Comments
Could this be linked to issue #327? I know faye was freaking out there. |
It's different though, in the issue you referenced, faye is returning 404s,
|
I notice Cybertron goes down a bit in the console, but it usually comes right back up. Are you experiencing dropped messages? IE If you post a message are you still seeing things like:
|
What version of Phusion Passenger + nginx are you using for the app? From faye-websocket's documentation: (supported environments)
|
I'm not noticing dropped messages, but the account menu in the top right I created a kandan dockerfile to spin up kandan instances on demand, I
|
I now have both nginx serving through passenger on port 8080 and thin serving simultaneously on port 3000. I'm noticing that the thin server is having the loading messages problem and the passenger server is getting a popup after I login saying it cannot connect (but it does seem to send messages and load previous messages). |
lol, I have no idea how to debug this ... it's intermittent. After a few reloads, both load previous messages ... even though passenger is still saying that message on page refresh. |
Perhaps I need to upgrade the connection to support websockets in nginx 1.6, but it's not proxying the connection to passenger, it's running passenger through custom nginx commands. |
currently, only in the 3000 (thin) server do multiple users display in the chat list. |
I'm using vagrant/docker for all this ... so please let me know if you'd like a copy of my files to spin this up yourself for further analysis. |
Note: you can see an on-going discussion here phusion/passenger-docker#22 as well. |
Here is my (partially) working snippet for nginx/faye configuration for nginx-1.9.2.
One big point is http protocol upgrade option to support WebSocket. It has an issue not to make desktop notification working. I've used kandan with https, it may be an issue with https support. |
I'm using Phusion Passenger + nginx instead of thin. Almost everything works right out of the box, except I need to add
therubyracer
gem andfaye
constantly has to reconnect. Do you have any recommendations on gettingfaye
to work?I see a lot of this repeated in the console.
The text was updated successfully, but these errors were encountered: