mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Settings page doesn't load #11
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @12nick12 on GitHub (Jul 11, 2021).
Settings page doesn't load behind NGiNX reverse proxy.
@louislam commented on GitHub (Jul 12, 2021):
I cannot reproduce your problem. It is working for me. I am using this nginx conf.
@0mni commented on GitHub (Jul 12, 2021):
Can confirm, I am running with the following docker compose file, without any issues described, it's possible you have a missconfiguration on your nginx
, or uptime kuma isn't actually listening on port 3001. Edit: is it just the settings page?@Antoine2tt commented on GitHub (Jul 12, 2021):
Hi
I have the same bug
Using simple docker compose and nginx proxy manager
Here's the log :
@TheGuyDanish commented on GitHub (Jul 12, 2021):
@antoine2tt Check your browser developer tools and look in the Javascript console. Are you seeing any websockets-related errors?
@Antoine2tt commented on GitHub (Jul 12, 2021):
@TheGuyDanish Yes i'm having a lot of
And it keeps going (the same error)
@TheGuyDanish commented on GitHub (Jul 12, 2021):
@antoine2tt Your nginx config is not passing through the websocket connection properly. See the nginx configuration in #3, specifically the proxy_set_header lines.
Without these, nginx doesn't successfully pass through the websocket connection.
@Antoine2tt commented on GitHub (Jul 12, 2021):
@TheGuyDanish
It seems like that Nginx Proxy Manager is not happy with these settings. It breaks my proxy
@TheGuyDanish commented on GitHub (Jul 12, 2021):
@antoine2tt I'm not that familiar with Nginx Proxy Manager, but it seems you need to set Websockets support in the Details tab on your proxy host, as well as HTTP/2 Support in the SSL tab. According to what I can find on Google.
@Antoine2tt commented on GitHub (Jul 12, 2021):
@TheGuyDanish
Alright, i have upgraded Nginx Proxy Manager to the last version
Enable Websocket + HTTP/2, and it's working.
Thank you !!
@Antoine2tt commented on GitHub (Jul 12, 2021):
@TheGuyDanish
Short story, i was in 2.9.1 of nginx proxy manager, here's a part of the 2.9.2 release :
That's why it was not working :p
@12nick12 commented on GitHub (Jul 12, 2021):
I get the following error. I have verified America/New_York is the timezone on the system and the TZ variable.
Invalid time zone specified: Asia/Qostanay
@TheGuyDanish commented on GitHub (Jul 12, 2021):
What distribution are you running? Check if your /usr/share/zoneinfo directory is populated, and that you have /usr/share/zoneinfo/Asia/Qostanay. If you do not, you may need to install the tzdata package found in most distros.
@12nick12 commented on GitHub (Jul 12, 2021):
Debian 10. The /usr/share/zoneinfo/Asia/Qostanay exists.
@louislam commented on GitHub (Jul 12, 2021):
Oh, I think I know the problem. I got the timezone list from here: https://stackoverflow.com/questions/38399465/how-to-get-list-of-all-timezones-in-javascript
However, I guess old version of Chrome browsers or other browsers maybe missing some timezones like Asia/Qostanay. So it throws error.
Let's see how to fix it.
@TheGuyDanish commented on GitHub (Jul 12, 2021):
Given that most (if not all) servers should have tzdata installed. You could recursively look for timezones in /usr/share/zoneinfo. That would give you all the zones the server supports and not cause any trouble with the browser.
@louislam commented on GitHub (Jul 12, 2021):
Because I handle the timezone in the frontend, it is not related to the server.
@12nick12 commented on GitHub (Jul 12, 2021):
Just verifying it's due to the browser (like you've already figured out). Using Firefox and the settings is working. Thank you.