mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Monitoring Remote Home Assistant #3028
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#3028
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 @Lockie85 on GitHub (Jan 13, 2024).
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
Hey,
I've tried to search and figure out the correct setup for this monitor but I can't figure it out. Help would be appreciated.
I've two remote servers. On server 1 I've Ubuntu with Docker running Uptime Kuma. On server 2 I've Home Assistant which I access via a domain e.g. https://myhassserver.uk/ (example domain not the real one)
I want to create a monitor in Uptime Kuma for the Home Assistant server via the domain but I'm failing to figure out how to do this.
What I've tried is a monitor type of HTTP(s) with the domain but I get a 403 error, Forbidden response.
Can anyone help me on how I'm meant to setup a monitor like this?
Many Thanks
📝 Error Message(s) or Log
403 forbidden response.
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Ubuntu
🌐 Browser
Chrome
🐋 Docker Version
CE 2.19.4
🟩 NodeJS Version
No response
@CommanderStorm commented on GitHub (Jan 13, 2024):
403 forbidden usually means you are not allowed to access this site because the credentials you provided are not valid ,(assuming correct usage by HA)
https://en.wikipedia.org/wiki/HTTP_403
@Lockie85 commented on GitHub (Jan 13, 2024):
Yep that bit I get, but I'm not trying to access it/login (I'd assume). I'm only trying to check the page loads, in this case the login page. Would it need access/login to get a 200?
If I go to my domain I don't get a 403, I get the login page.
Worth noting I tried adding a monitor for a site like:
https://www.cloudflare.com
and it works fine. Which to me confirms Uptime Kuma can access the internet okay.
@CommanderStorm commented on GitHub (Jan 13, 2024):
Please make sure that you have your ip banning configured correctly.
See https://community.home-assistant.io/t/solved-out-of-the-blue-now-i-get-403-forbidden/324107
See https://github.com/louislam/uptime-kuma/wiki/Troubleshooting#uptime-kuma-reports-down-but-the-service-can-be-accessed
=> please try to reproduce this behaviour and see what the endpoint is really responding with
It seems to require correct credentials.
I don't have a HA instance to test on, it also depends on what endpoint you are using.
To be on the same page: you are using "System Health" to get the status?
@Lockie85 commented on GitHub (Jan 13, 2024):
Argh! I've found the issue. I forgot my Cloudflare setup blocked IPs which weren't based in a specific country. Which my server is NOT! So I've had to allow the IP on cloudflare and now it works. Totally forgot I did that! Oops.