Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Overkiz integration hangs on Flow aborted: already_in_progress #127986

Closed
GilDev opened this issue Oct 9, 2024 · 13 comments · Fixed by #133471
Closed

Overkiz integration hangs on Flow aborted: already_in_progress #127986

GilDev opened this issue Oct 9, 2024 · 13 comments · Fixed by #133471
Assignees

Comments

@GilDev
Copy link

GilDev commented Oct 9, 2024

The problem

Everything was working fine, for a few months using the Cloud API, then a few weeks using the Local API, and everything became unavailable. I removed the integration and now can’t get it t connect anymore.

If I try to use the Local API, I get a “Failed to connect error” with no logs. Using the mDNS or the IP address of the TaHoma V2, enabling or disabling the “Verify SSL certificate” checkbox is the same.

Using the Cloud API, I get an “Unexpected error”:

Logger: homeassistant.components.overkiz
Source: components/overkiz/config_flow.py:149
integration: Overkiz ([documentation](https://www.home-assistant.io/integrations/overkiz), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+overkiz%22))
First occurred: 11:27:20 (1 occurrences)
Last logged: 11:27:20

Unknown error
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/overkiz/config_flow.py", line 149, in async_step_cloud
    await self.async_validate_input(user_input)
  File "/usr/src/homeassistant/homeassistant/components/overkiz/config_flow.py", line 80, in async_validate_input
    await self.async_set_unique_id(gateway_id)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2451, in async_set_unique_id
    raise data_entry_flow.AbortFlow("already_in_progress")
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_in_progress

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Overkiz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/overkiz

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Oct 9, 2024

Hey there @iMicknl, @vlebourl, @tetienne, @nyroDev, @Tronix117, @alexfp14, mind taking a look at this issue as it has been labeled with an integration (overkiz) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of overkiz can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign overkiz Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


overkiz documentation
overkiz source
(message by IssueLinks)

@silkit
Copy link

silkit commented Oct 9, 2024

Similar issue - mine has been working fine for about a year using somfy local API (europe) and stopped working altogether about a week ago.

my existing connection now gets an error "failed setup, will retry: failed to connect"

@wisien
Copy link

wisien commented Oct 9, 2024

same problem stopped working about two weeks ago.
Zrzut ekranu 2024-10-09 204752

@iMicknl
Copy link
Contributor

iMicknl commented Oct 9, 2024

@wisien you are not using the Overkiz integration... Please create a new issue.

@silkit @GilDev can you still access your box in the browser? Go to your mdns address or ip address, and port 8443. e.g. gateway-xxxx-xxxx-xxxx.local:8443. Most likely after an update your box is not available anymore in local mode, and it needs a reboot or you need to reenable the developer mode.

Regarding the already_in_progress issue when you try to configure a cloud api, after you have tried to configure the local API. I would need to research this, but in the mean-time a restart might solve this issue.

@GilDev
Copy link
Author

GilDev commented Oct 10, 2024

@iMicknl Thanks for the reply. Indeed I cannot access it in my browser, though I had never tried before.
I already restarted, the box, Home Assistant and my internet router but it didn’t help.
The web interface says developer mode is enabled, I don’t see a way to disable it and re enable it (maybe it needs to be factory reset for this?).

A Cloud API configuration following a reboot of Home Assistant didn’t help either, still get that “already_in_progress” error.

@silkit
Copy link

silkit commented Oct 10, 2024

Odd - mine was rebooted the other day but didn't seem to change anything. However, i completely rebooted everything this morning; All Ubiquiti/Fiber/HA/UPS etc all shutdown and restarted. Wouldn't you know, it's come back online :-)

I have re-checked my somfy account and developer mode is still activated but oddly i have tried to access the somfy box via both the mdns address & ip address, and port 8443 - but neither will let me connect. I don't know if I've ever been able to though as i have never attempted to directly log into it this way. Not bothered by this though as it's comes back online and is functioning.
Thank you - At least that seems to have resolved it for me

@Bpmman
Copy link

Bpmman commented Oct 13, 2024

@wisien you are not using the Overkiz integration... Please create a new issue.

@silkit @GilDev can you still access your box in the browser? Go to your mdns address or ip address, and port 8443. e.g. gateway-xxxx-xxxx-xxxx.local:8443. Most likely after an update your box is not available anymore in local mode, and it needs a reboot or you need to reenable the developer mode.

Regarding the already_in_progress issue when you try to configure a cloud api, after you have tried to configure the local API. I would need to research this, but in the mean-time a restart might solve this issue.

Thank you very much. I had the same problem and after a restart everything works again

@GilDev
Copy link
Author

GilDev commented Oct 13, 2024

Any way to disable and enable back developer mode? Can’t seem to disable it from the Somfy’s web interface…

@iMicknl iMicknl changed the title Cannot add Overkiz integration anymore Overkiz integration hangs on Flow aborted: already_in_progress Oct 14, 2024
@iMicknl
Copy link
Contributor

iMicknl commented Oct 15, 2024

Any way to disable and enable back developer mode? Can’t seem to disable it from the Somfy’s web interface…

No, only through support if I am not mistaken.

@GilDev
Copy link
Author

GilDev commented Oct 15, 2024

Okay thanks. Cloud would be fine but still no way to get through that already_in_progress. Still haven’t tried factory resetting the TaHoma V2.

@fragadav
Copy link

Bonjour,
J'ai le même problème que @GilDev : Overkiz fonctionnait parfaitement (Tahoma v2), puis depuis quelques jours, ni la local API, ni la cloud API ne fonctionnent (même erreur already_in_progress sur Cloud API. La local API retourne l'erreur "Échec de connexion" ). L'ensemble des appareils ont été redémarrés (box Tahoma, routeur et HA). Le mode développeur est activé sur la box Tahoma...
Si vous avez des idées pour rétablir la connexion, je suis preneur.
Merci d'avance.

@fragadav
Copy link

Résolu à l'instant. J'ai supprimé l'intégration Overkiz, puis l'ai recréé en passant directement par Cloud API.

@GilDev
Copy link
Author

GilDev commented Oct 29, 2024

Also tried again yesterday, and the connection via the Cloud API worked, don't know what happened…

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants