Skip to content
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

Have to refresh to see new messages on Windows+Chrome/FireFox and iOS #327

Open
alexhulbert opened this issue Apr 10, 2014 · 4 comments
Open

Comments

@alexhulbert
Copy link

I've noticed that, when on a Windows computer, I have to refresh to see new messages if I'm using anything but Internet Explorer. What's going on? The same thing also happens on iOS devices (with both Safari and Chrome).

@alexhulbert alexhulbert changed the title Have to refresh to see new messages on some computers/networks Have to refresh to see new messages on Windows+Chrome/FireFox and iOS Apr 14, 2014
@alexhulbert
Copy link
Author

I edited my issue. [bump]

@scouttyg
Copy link
Member

My guess is that Faye isn't getting a connection or is dropping the connection. Can you open up the Chrome console (Firefox console, etc) and let me know if you are getting any javascript errors?

@alexhulbert
Copy link
Author

Yup. /faye is throwing a 404.

@reckoncraft
Copy link

I'm trying to get around this by adding this code in config.ru after line 9

run faye_server

This manages to make it work on Firefox but Chrome will take a long time to load although eventually, after around 5 minutes, chrome can begin to send and receive messages as well. It's a very long wait though, and messages are being labelled as "X seconds from now". Also, if Chrome sends any messages while loading, it won't be visible on any other browsers unless it's refreshed.

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

No branches or pull requests

3 participants