Closed PvdGulik closed 1 year ago
Hey,
This is caused by the Goodwe server returning invalid formatted JSON data. I'll see if I can handle this a bit more elegantly (only 1 error line). I see it happening as well btw but had to do some maintenance on my setup due to one of my Pi's breaking down....
Oké, thanks!
I’ll wait for a update.
Op 25 feb. 2023 om 11:39 heeft Jan-Jaap Kostelijk @.***> het volgende geschreven:
Hey,
This is caused by the Goodwe server returning invalid formatted JSON data. I'll see if I can handle this a bit more elegantly (only 1 error line). I see it happening as well btw but had to do some maintenance on my setup due to one of my Pi's breaking down....
— Reply to this email directly, view it on GitHubhttps://github.com/JanJaapKo/domoticz-GoodWeSEMS/issues/23#issuecomment-1445051626, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACH4FIROYGJNBFHJJR4PZSLWZHOM5ANCNFSM6AAAAAAVHZAAO4. You are receiving this because you authored the thread.Message ID: @.***>
I just pushed version 3.0.2 with a fix for the handling of invalid json. Let's see for a couple of days if the error is gone (it should now result in 1 nice error line).
Thanks JanJaapKo,
That solved a lot, much less lines of errors:
2023-03-10 08:00:29.240 Error: GoodWe GW5000-DT: RequestException: HTTPSConnectionPool(host='eu.semsportal.com', port=443): Read timed out. (read timeout=10)
2023-03-10 10:00:30.369 Error: GoodWe GW5000-DT: TokenRequestException: HTTPSConnectionPool(host='eu.semsportal.com', port=443): Read timed out. (read timeout=10)
2023-03-10 10:00:41.623 Error: GoodWe GW5000-DT: TokenRequestException: HTTPSConnectionPool(host='eu.semsportal.com', port=443): Read timed out. (read timeout=10)
2023-03-10 10:01:17.808 Error: GoodWe GW5000-DT: Failed to request data: Failed to call GoodWe API (too many retries)
Thanks!
Well this is in fact a different issue: no reply at all (which happens regularly) instead of a wrongly formatted reply (which is much less frequent). But I guess it will be solved so closing the issue. Should there be another problem, feel free to create a new issue.
Describe the bug Every day I see the following errors a lot of times? But also a lot of times without errors. I don't change anything. What is causing these errors, and how to solve.