bpicode / fritzctl

A lightweight, easy to use console client for the AVM FRITZ!Box Home Automation.
MIT License
99 stars 21 forks source link

unable to obtain login challenge #214

Closed Woastscho closed 4 years ago

Woastscho commented 4 years ago

I have a 7390 with Fritz!OS 6.86. I get " unable to obtain login challenge: error obtaining HTTP response from remote: Get https://fritz.box/login_sid.lua: dial tcp 192.168.1.1:443: connect: connection refuse" with "fritzctl boxinfo".

I tried with user/pw , without pw, skip TLS true/false. Always the same error Any idea ?

bpicode commented 4 years ago

Hi, can you try to set protocol=http in the configuration? It might be that the fritzbox does not listen on port 443 (should be configurable somewhere in the UI).

Woastscho commented 4 years ago

That solved the problem ! Thx