louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
55.3k stars 4.98k forks source link

Any way to save the full response headers / http error codes? #4948

Open luckman212 opened 1 month ago

luckman212 commented 1 month ago

⚠️ Please verify that this question has NOT been raised before.

🛡️ Security Policy

📝 Describe your problem

I know most efforts are focused on the V2.0 milestone, so I apologize in advance for this question's timing.

I'm using Kuma 1.23.13 to monitor 1 site that sits behind a cloudflared proxy. The check is an HTTP check that looks like this:

screenshot_Im1QJdTp

I have been getting frequent 530 errors (which come from Cloudflare) during these checks:

image

I found this page that describes how to troubleshoot them. It says "HTTP error 530 is returned with an accompanying 1XXX error displayed. Search for the specific 1XXX error for troubleshooting information."

TL;DR— is there any way to see the full error responses, either in the GUI or by querying the sqlite db directly, so that I can see the 1XXX error that is supposedly being returned?

📝 Error Message(s) or Log

Request failed with status code 530

🐻 Uptime-Kuma Version

1.23.13

💻 Operating System and Arch

Ubuntu 24.04 LTS

🌐 Browser

Chrome Version 126.0.6478.183

🖥️ Deployment Environment

CommanderStorm commented 1 month ago

No, there currently are no good debugging features build in. That would be nice though. Our contribution guide is here

CommanderStorm commented 1 month ago

I would suggest to switch to postman/insomnia/curl for debugging such cases