nickovs / unificontrol

A high-level Python interface to the Unifi controller software
Apache License 2.0
96 stars 41 forks source link

404 on client login #29

Closed brightkan closed 2 years ago

brightkan commented 2 years ago

I get a 404 error when I try to login the. self.client.login() unificontrol.exceptions.UnifiTransportError: 404:

brightkan commented 2 years ago

I added argument cert=None to the UnifiClient() and I hosted the controller on the cloud

menvol3 commented 2 years ago

Hi @brightkan ,

Could you please explain what you did to solve it ?

I’m receiving Max retries exceeded with url: /api/s/default/stat/guest (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1125)'))) with cert=none

brightkan commented 2 years ago

Share the code. I try to reproduce the error