sander1988 / Indego

Home Assistant Custom Component for Bosch Indego Lawn Mower
Apache License 2.0
95 stars 29 forks source link

HTTP 403 error after update 5.7 #231

Closed arnoakavdb closed 4 months ago

arnoakavdb commented 4 months ago

After updating to the latest version i'm facing issues with my mower --|> no more accessible and when i try to re add it i'm facing issue

image

everything was working fine with 5.6 version

defuuss commented 4 months ago

I just wanted to create a ticket and saw you created one , have the same error and the same problem .

kimzeuner commented 4 months ago

Did you already try to change the User-Agent as described in several closed issues ?

See e.g. Issue #225

defuuss commented 4 months ago

Yeah stupid me , just change in the integration the User-Agent and everything is working

arnoakavdb commented 4 months ago

Thank you for pointing this I searched about the update but I found nothing.now everything is running fine

NJ-89 commented 4 months ago

This fix also worked for me!

bmause commented 4 months ago

Ich habe noch Probleme mit der Weiterleitung nach der Anmeldung von Single key image

kimzeuner commented 4 months ago

I would say you are using the wrong browser as it says "Safari kann die seite nicht öffnen". It obly works with the chrome browser (and dont forget to install the extension before)

Ich denke du benutzt den falschen Browser. Du musst den Chrome Browser benutzen und nicht vergessen vorher die Chrome Erweiterung zu installieren.

Stargate4848 commented 4 months ago

Even with Chrome browser and Chrome extension, the renewed activation of version 5.7 via Bosch SingleKey is not possible. The older version is running and you can also activate it.

kimzeuner commented 4 months ago

What do you mean with "activating it"? Which failure occurs ? Is it the same as in the screenshot by bmause ? Do you have an error in your HA Logs ?

Stargate4848 commented 4 months ago

What do you mean with "activating it"? Which failure occurs ? Is it the same as in the screenshot by bmause ? Do you have an error in your HA Logs ?

After Update from 5.5.0 -> 5.7.0 and restart HA:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: pyIndego.indego_base_client Quelle: custom_components/indego/init.py:743 Integration: Bosch Indego Mower (Dokumentation)

Request to 'https://api.indego-cloud.iot.bosch-si.com/api/v1/alms/603702617/state?longpoll=true&timeout=300&last=258' failed with HTTP status code: 502

Mower state update failed, reason: 502, message='Bad Gateway', url=URL('https://api.indego-cloud.iot.bosch-si.com/api/v1/alms/603702617/state?longpoll=true&timeout=300&last=258‘)

Mower unusable in HA Back to 5.5.0 and it works fine as before.

sander1988 commented 4 months ago

See known issues regarding 4XX and 5XX errors: https://github.com/jm-73/Indego?tab=readme-ov-file#known-issues

It's normal for their endpoints to see these some time to time. If you see them continuously please open a new issue following the issue template. It's impossible to debug these can of issues when issues don't contain the minimum required information.