-
Notifications
You must be signed in to change notification settings - Fork 8
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
Communication error with E3DC: Max retries reached #124
Comments
I'll have to forward this to https://github.com/fsantini/python-e3dc, unfortunately, I can't say how long a resolution will take as this seems rather strange. I'll cc you there. Waiting for fsantini/python-e3dc#115 |
@torbennehmer Great! |
@Phoenix-DH How often do you see this error? What side-effects does it have? Can you download the diagnostics dump from e3dc? Can you please enable debug logging and send me the next error that occures along with the information immediately before it? hacs-e3dc did pull the daily stats at that point and I don't understand what's going wrong. |
Bad thing is that my HA has just been restarted. Log gone. But if I got it right in my mind, both only one or twice a day. As it seems all 12 hours short past 12, always the same. Will try to gather the debug logs. Enabling only for this integration right? And the data directly from my e3dc? Is that save? Had to take a look how. |
I'm seeing the same error on my system, about once every minute. I'm not sure what the side effects are. |
Good Morning, EDIT:
Now it works again |
I still have the issue. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Harden e3dc data polling in coordinator to execptions: - Log ex only as warning, but continoue as good as possible. This will avoid breaking the entire update loop if one update fails (db_data does that right now). - Listen only on HomeAssistant-Type errors, not on ConfigEntryAuthFailed, let the latter propagate. - Reduce proxy error log level to debug, let upstream do the logging. Affects the logging errors we see in #113, #124
Just installed, thanks. |
As far as I understand the log, the E3DC was temporarily unreachable. I too see this from time to time, probably when E3DC is updating (or whatever). Also, there seem to be problems directly at midnight with DB Data Polling (see also #113). 3.6.3 beta-1 introduces a better error handling for testing (if you're willing to). It should no longer propagate communication error exceptions out of the update loop, instead you'll see simpler warnings stating that we can't talk to E3DC at the moment. Be aware, that this is related to E3DC being unreachable, not the integration misbehaving. At least as far as I understand it at the moment. The Tag Errors we've seen (unknown tag in manual charging data polling) something else, which I track on #114. Please check if 3.6.3 solves your problem given these provisions - either use the beta or wait for stable.
You've probably been affected by #114 as well, 3.6.1 handles this gracefully until we get the communication working again.
I believe you're seeing the same nightly outage in DB Data telemetry, so 3.6.3 should take care of the hard errors as well. For all of you, this currently means, that on midnight the statistics are a few minutes off, you will still see warnings, but that is to be expected on an E3DC outage. If you still experience funny things beyond that on midnight, please follow up on #130. Right now, We can't do much about it, as E3DC isn't answering our queries at that time for whatever reason. Nothing I can fix, just work around. Thus, I'll close this issue for now. Please reopen if the graceful error handling doesn't work for you. |
I just got the same error and found this thread. |
That would mean your switch will loose connection each night? Will see if there is something visible on the controller. edit: |
No @Phoenix-DH, in my case it was a random outage but with the same log entries. When is saw |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Sonoff
Checklist
Describe the issue
I have againt the following message on my system:
and
I am not pretty sure if we are talking about the same than earlier in #75
Wan't to double check if this is a new one. To be honest, debugging is currently still off.
Reproduction steps
Having a look to the logs
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: