mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
HTTP status code selection does not allow 0 #3767
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#3767
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 @julianbraasch on GitHub (Nov 18, 2024).
📑 I have found these related issues/pull requests
None
🛡️ Security Policy
Description
I'm using the gRPC keyword monitor type which I would like to connect to a ChirpStack instance.
I did confirm that my proto file and method are correct by using Postman for the same request. I noticed that Postman lists "0 OK" as the status code of the response. However, I am unable to add 0 as my desired status code in Uptime Kuma. I am not sure if this is actually the reason why this monitor fails.
👟 Reproduction steps
Add new gRPC monitor
👀 Expected behavior
The monitor returns the response of my proto service
😓 Actual Behavior
The monitor reports a failed connection. Ping statistics are available through. No entries in the event list of the monitor itself.
🐻 Uptime-Kuma Version
1.23.15
💻 Operating System and Arch
macOS 15.1
🌐 Browser
Google Chrome 130.0.6723.119
🖥️ Deployment Environment
📝 Relevant log output
@CommanderStorm commented on GitHub (Nov 19, 2024):
What is the message that the grpc endpoint is responding with?
@julianbraasch commented on GitHub (Nov 19, 2024):
The result JSON contains a single entry called
jwtwhich contains a JSON Web Token, which admittedly can be quite long@CommanderStorm commented on GitHub (Nov 19, 2024):
If the message is referring to bits, that would be 219 MB.
If it's bytes that would be 1.7GB
Having a limit against such requests is reasonable.
In postman what is the size of the message in MB?
@julianbraasch commented on GitHub (Nov 19, 2024):
I concur with enforcing request limits, but I can assure you they are orders of magnitude lower. The response in Postman was just 250 bytes long.
@CommanderStorm commented on GitHub (Nov 19, 2024):
Interesting.
So not really exceeding the limit...
@julianbraasch commented on GitHub (Aug 18, 2025):
Any updates on this?
@CommanderStorm commented on GitHub (Aug 18, 2025):
I have no clue where this is coming from.
If you have the time, adding running a debuggoer and looking where this fails would be the way to go.
Without having access to the concreate data, debugging this is impossible on my end.
@julianbraasch commented on GitHub (Aug 23, 2025):
Wouldn't the first step be to investigate why 0 is not an allowed value for the status code dropdown? This does not require concrete test data. I'm really no expert with Node/web development in general unfortunately.
@CommanderStorm commented on GitHub (Aug 23, 2025):
You are confusing grpc-status and http status.
We don't currently let you check grpc status.
We might just look for OK, would need to check.