-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remotely is reporting Lost Connection #42
Comments
Unfortunately, I have no experience with Apache nor the time to set it up and test. It sounds like the websocket connection is not successfully upgrading. It does a handshake process first over https, then upgrades to wss. You'll notice in the Nginx config that there's special handling for the Upgrade and Connection headers. You'll need to replicate that part as well. I'll keep this open for a bit. Let me know how it goes! |
Sorry that it took me so long to get back to this, but I did end up getting it to work. Attached is a stripped down config for Apache2.4 that removes everything personal to my server. Feel free to include it as an option for those who don't want or can't load Ngnix.
|
Awesome! Thanks! I'll include this in the Utilities folder as an example. |
Hey @jay-rad, please put the file in the Utilities folder. Took me quite some time to find the apache sample config. 😉 |
@Zeik0s Sorry! I thought I did, but messed up. I uploaded it now. :) |
@agottschling I tried your config for apache, i am still getting the errors. I am using plain http for testing, can this be the reason? |
@Zeik0s This config is built for an SSL site. What errors are you gettings? |
Every few seconds a little window pops up with a message "the connection was lost, please reconnect" or something like that. I am currently not in range of the PC i am testing on. |
I know, i commented every ssl related line out, so basically it should be fine. Of course i changed the Port to 80. |
Another thing to check is if mod_proxy_wstunnel is enabled. If it's not, that would explain why it's not working. |
I haven't, i only enabled mod_proxy and mod_proxy_http. Will try it later, thx a lot. |
Hey all, I installed remotely on my server and decided to try and use Apache for the reverse proxy instead of NGINX, as I already had apache running some stuff. It does seem to work, but when I log in, the dashboard console keeps saying that the connection has been lost and that I need to reload the page to reconnect. Reloading doesn't help, as the same message appears once the page reloads.
I've attached my Apache config below, I tried to mimic the NGINX config as best I could, but maybe I missed something.
Thanks,
Andrew
BEGIN Apache2 CONFIG:
The text was updated successfully, but these errors were encountered: