-
Notifications
You must be signed in to change notification settings - Fork 403
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
Problem with deployment #336
Comments
Did you already pull in the latest changes from master? (Merged in 2 pull requests last night). In #334, I hit into the same issue. The solution was to add |
Thanks, that fixed the problem. But now I'm having the same issue as #327 in which I need to refresh to see new messages. |
Here's what the console says about the error. It seems that faye is getting a 502 for some reason.
|
I just tried to access your chat app at http://chat.detune.org/ and I get a 502 bad gateway (like the one mentioned in your logs) -- it sounds like your server configuration might be buggy. Do you have an external url to access the chat? |
Ah, I see... the chat works when I access it from http://detune.org:3000 . It must be a problem with my nginx configuration. Currently it looks like this:
I suppose the proxy pass is what makes faye to keep getting the 502. However, is there a way to make it so that it would work from http://chat.detune.org ? |
Unfortunately, it's beyond the scope of what I can probably help out with -- I'm not very familiar with configuring nginx, plus it could be a permissions issue. That being said, from this stack overflow I found something that could be close to what you need:
If that doesn't work, I'd recommend asking the nginx support groups. If you do figure out what went wrong, let us know and we would be glad to update the documentation! |
Hello, I'm trying to deploy kandan on my own private server and I got this error:
My Ruby version is 2.1.1 and I'm using MySQL for the database instead of postgres. I'm also using proxy-pass on an nginx server although directly going to localhost:3000 still gives out the same error.
Thanks
The text was updated successfully, but these errors were encountered: