-
Notifications
You must be signed in to change notification settings - Fork 77
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
Immediately get "Disconnected. Will refresh when connected." after picking a team, or /reconnect ing? #578
Comments
A couple of questions:
|
Another question:
Just to confirm: is it the case that the web client works without issues in that setup? |
I solved it myself by looking at them. I'll go through it with you so maybe this fix doesn't have to be added? The log from Matterhorn was (I can supply full logs if you like, but this is the problematic part):
I checked the nginx proxy logs, and it wasn't creating any issues. So I checked the MatterMost logs, and found the following corresponding to a request:
So it looks like it's an issue with missing Upgrade headers in the http header? So I added:
It works fine now, I'm not sure if this is something I should have had in there to begin with? Although I'm also reading that this has been removed in HTTP2. Maybe a patch could be added to re-establish a new connection if the upgrade fails (if I'm understanding the problem correctly)? |
That's great news, @CaerphillyMediaLtd ! Would you be willing to share the (anonymized) set of nginx configuration elements you are running with that pertain to matterhorn/mattermost? It might be worth adding that to our documentation to help other folks setting things up behind a proxy like you have. |
An FAQ entry about this has been added to the README. Thanks! |
I can't figure out this now either. When I sign in on the clieent I get to the pick a team screen, then I pick one and immediately I get "Disconnected. Will refresh when connected.". If I type /reconnect then it immediately comes back with "Disconnected. Will refresh when connected." instantly.
I've tried setting:
But it still seems to happen?
I'm on version:
Our MatterMost is setup through an nginx proxy, which handles the SSL, then connects via HTTP to MM locally.
The text was updated successfully, but these errors were encountered: