Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rheem Econet throwing mqtt exceptions #75770

Closed
tankdeer opened this issue Jul 26, 2022 · 10 comments
Closed

Rheem Econet throwing mqtt exceptions #75770

tankdeer opened this issue Jul 26, 2022 · 10 comments

Comments

@tankdeer
Copy link

The problem

I noticed that Econet stopped updating a number of entities. Upon looking at the logs, I noticed some exceptions trying to connect. This was working previously, with no changes on my end

What version of Home Assistant Core has the issue?

2022.7.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

econet

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-07-25 00:51:36 ERROR (Thread-25 (_thread_main)) [pyeconet.api] EcoNet MQTT unexpected disconnect. Attempting to reconnect.
2022-07-25 00:51:41 ERROR (Thread-25 (_thread_main)) [paho.mqtt.client] Caught exception in on_disconnect: [Errno -3] Try again
2022-07-25 00:51:41 ERROR (Thread-25 (_thread_main)) [root] Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
    self.loop_forever(retry_first_connection=True)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1185, in _loop
    return self.loop_misc()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1610, in loop_misc
    self._check_keepalive()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 2560, in _check_keepalive
    self._do_on_disconnect(rc)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3475, in _do_on_disconnect
    on_disconnect(self, self._userdata, rc)
  File "/usr/local/lib/python3.10/site-packages/pyeconet/api.py", line 218, in _on_disconnect
    client.reconnect()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

Additional information

No response

@probot-home-assistant
Copy link

econet documentation
econet source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @vangorra, @w1ll1am23, mind taking a look at this issue as it has been labeled with an integration (econet) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@BillyFKidney
Copy link

BillyFKidney commented Aug 8, 2022

I’m experiencing the same issue.

2022-08-07 13:18:29.297 ERROR (Thread-7 (_thread_main)) [pyeconet.api] EcoNet MQTT unexpected disconnect. Attempting to reconnect.
2022-08-07 13:20:29.802 ERROR (Thread-7 (_thread_main)) [pyeconet.api] EcoNet MQTT unexpected disconnect. Attempting to reconnect.
2022-08-07 13:22:30.295 ERROR (Thread-7 (_thread_main)) [pyeconet.api] EcoNet MQTT unexpected disconnect. Attempting to reconnect.
2022-08-07 13:23:30.636 ERROR (Thread-7 (_thread_main)) [pyeconet.api] EcoNet MQTT unexpected disconnect. Attempting to reconnect.

@github-actions
Copy link

github-actions bot commented Nov 6, 2022

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 6, 2022
@tankdeer
Copy link
Author

tankdeer commented Nov 6, 2022

Still an issue

@github-actions github-actions bot removed the stale label Nov 6, 2022
@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@tankdeer
Copy link
Author

tankdeer commented Feb 4, 2023

Still borked

@w1ll1am23
Copy link
Contributor

This isn't an issue with home assistant, and most likely isn't an issue with the underlying library but could be an issue with either the users network or maybe an issue with the paho library that pyeconet uses.

Moving the defect over to the pyeconet repo.

@tankdeer @BillyFKidney if you have anyore details to add please report them over on this issue.

w1ll1am23/pyeconet#30

First thing I think we can try is to bump the phao-mqtt lob to the latest version.

@w1ll1am23
Copy link
Contributor

I'm not seeing a way to close this issue... I'm on mobile so maybe I'm crazy. @frenck can you close this?

@github-actions github-actions bot removed the stale label Feb 4, 2023
@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants