TheLastGimbus / hass-pc-usage-detection

Detect if you are using PC and report it to Home Assistant
Apache License 2.0
7 stars 0 forks source link

Max retries exceeded #1

Open Maltavius opened 2 years ago

Maltavius commented 2 years ago

Hi,

I'm trying to use this script on my Manjaro desktop, my HA is behind a ngnix and uses HTTPS, but I've tried connecting with both the domain name and the local URL. But I still get this: I can ping the local URL and the domain name just fine from my machine.

Reporting off
Can't connect: HTTPSConnectionPool(host='<COMPUTERNAME>', port=8123): Max retries exceeded with url: /api/states/binary_sensor.pc_active_check (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f06d812f160>: Failed to establish a new connection: [Errno 113] No route to host'))
Reporting on
TheLastGimbus commented 2 years ago

HTTPSConnectionPool(host='<COMPUTERNAME>', port=8123):

the "<COMPUTERNAME>" seems suspicious

Maltavius commented 1 year ago

Well of course. It's because si didn't want to reveal my hostname

Den tis 9 aug. 2022 15:06Mateusz Soszyński @.***> skrev:

HTTPSConnectionPool(host='', port=8123):

the "" seems suspicious

— Reply to this email directly, view it on GitHub https://github.com/TheLastGimbus/hass-pc-usage-detection/issues/1#issuecomment-1209358375, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNKDONRK2RPFPAKIXYBWA3VYJJWHANCNFSM5574UZBA . You are receiving this because you authored the thread.Message ID: @.***>