meichthys / uptime_kuma

Uptime Kuma HACS integration
105 stars 24 forks source link

Cannot add instance with 2FA enabled on uptime kuma #72

Closed DjordjeMandic closed 7 months ago

DjordjeMandic commented 11 months ago

As title says, having 2FA enabled will always cause error when clicking submit button while adding new instance

meichthys commented 11 months ago

It's working for me, I'm going to need some more logs or information to help out on this one. The best way to troubleshoot this integration is to make sure you can access the '/metrics' endpoint for your uptime, instance from a regular browser.

meichthys commented 11 months ago

Also, I don't want to be assuming, but you would need to have an API key if you have two factor enabled. You would use no username and the API key as the password as to readme indicates..

pippo73 commented 9 months ago

Hello, I'm having the same problem. Im running the 1.23.8 version. The site is working for me, but I cannot reach the metrics page

meichthys commented 9 months ago

If you cannot reach the metrics page that is not an issue with this integration. You may need to make sure 2fa is off.

The metrics endpoint must be reachable for this integration to work.

pippo73 commented 9 months ago

if i acces to the local network ip it works, but if i try to access to the fqdn (via clouflare) it does not :(

meichthys commented 9 months ago

Okay, if you are running home assistant locally then just use the IP address in the integration setup. Otherwise you will need to troubleshoot the cloudflare configuration since that is obviously not working correctly.

meichthys commented 7 months ago

I've seen some other reports related to cloudflare. I'm not sure i can help with this unfortunately.