-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Does not work when using nginx reverse proxy #4832
Comments
From the configuration and the log, i cannot see something obvious.
|
Yeah, I have
I am running vanilla nginx.
I tried but still no change. Should the ip on |
Are you running behind a firewall, vpn.. that might impede the websocket connection? About the IP in the logs: uptime-kuma/server/uptime-kuma-server.js Line 138 in 4794f9e
=> we print the ip that we recive unless |
Not sure. I am using a gcp compute engine with the default
Do i need to set this? If so, where do i set it? |
Could you try disabling the fiewall and see if this fixes the problem?
You don't need to set this. (plus you can't if socketio is not working ^^) |
I'm not sure if it is possible, I will check.
I think it basically block access to all ports on the server by default and you have to allow the ports you want accessible ( |
We are clearing up our old |
📑 I have found these related issues/pull requests
#4797 The difference is I am using nginx config is from https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy#nginx
🛡️ Security Policy
Description
No response
👟 Reproduction steps
nginx config generated by Certbot:
uptime.example.com
on a browser.👀 Expected behavior
It should open the setup page and enable me to register and login to the dashboard.
😓 Actual Behavior
It just loads blank screen with error
Lost connection to the socket server. Reconnecting...
.Sometimes the error does not appear.
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
Linux 6.1.0-18-cloud-amd64 Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
🌐 Browser
Chromium 125.0.6422.141
🖥️ Deployment Environment
📝 Relevant log output
The text was updated successfully, but these errors were encountered: