meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

Fails to connect / Unexpected error #10

Closed mr-biz closed 2 years ago

mr-biz commented 2 years ago

Hello, I was following this tutorial: https://www.youtube.com/watch?v=9xBGO2Fpnkc I got to configuring the integration in Home Assitant. image

Error message received: Failed to connect

image

Many thanks in advance for your help.

m1ckyb commented 2 years ago

The URL needs to be the full url with http://host:PORT/ or https://host/

mr-biz commented 2 years ago

So in the case of http I should use http://host:PORT/ or http://192.168.1.33:3001/ In that case, I get an "Unexpected error".

image
meichthys commented 2 years ago

How are you running Uptime Kuma? Via the homeassistant addon? Are you able to log in to UptimeKuma?

mr-biz commented 2 years ago

I am running Uptime Kuma via the HA addon. I am able to log in to Uptime Kuma. image

image

meichthys commented 2 years ago

I don't think you need to enter the port in the URL and also in the port field. Try removing the port number from the URL.

mr-biz commented 2 years ago

If I put http://192.168.1.33/ I get "Failed to connect"

m1ckyb commented 2 years ago

Are you using the right user name and password?

I added the home assistant add on, and configured it as below and it worked.

Screenshot_20220830-225237.png

mr-biz commented 2 years ago

I have double checked the userid and passwd, I am sure they are correct

mr-biz commented 2 years ago

I changed my password and it works! Thank you for your help!

mr-biz commented 2 years ago

Where is the beer token button?!