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

Max retries exceeded with url: xxx #104

Open
jirisykora83 opened this issue Mar 26, 2024 · 4 comments
Open

Max retries exceeded with url: xxx #104

jirisykora83 opened this issue Mar 26, 2024 · 4 comments

Comments

@jirisykora83
Copy link

Logger: custom_components.sems.sems_api
Source: custom_components/sems/sems_api.py:130
integration: GoodWe SEMS PV API (documentation, issues)
First occurred: March 21, 2024 at 7:40:32 PM (510 occurrences)
Last logged: 3:10:32 PM

Unable to fetch data from SEMS. HTTPSConnectionPool(host='eu.semsportal.com', port=443): Max retries exceeded with url: /api//v2/PowerStation/GetMonitorDetailByPowerstationId (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f683707d010>: Failed to establish a new connection: [Errno -3] Try again'))
Unable to fetch data from SEMS. HTTPSConnectionPool(host='eu.semsportal.com', port=443): Max retries exceeded with url: /api//v2/PowerStation/GetMonitorDetailByPowerstationId (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6837318620>: Failed to establish a new connection: [Errno -3] Try again'))
Unable to fetch data from SEMS. HTTPSConnectionPool(host='eu.semsportal.com', port=443): Max retries exceeded with url: /api//v2/PowerStation/GetMonitorDetailByPowerstationId (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6836e86f90>: Failed to establish a new connection: [Errno -3] Try again'))
Unable to fetch data from SEMS. HTTPSConnectionPool(host='eu.semsportal.com', port=443): Max retries exceeded with url: /api//v2/PowerStation/GetMonitorDetailByPowerstationId (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6836f4fe30>: Failed to establish a new connection: [Errno -3] Try again'))
Unable to fetch data from SEMS. HTTPSConnectionPool(host='eu.semsportal.com', port=443): Max retries exceeded with url: /api//v2/PowerStation/GetMonitorDetailByPowerstationId (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6836ef3e30>: Failed to establish a new connection: [Errno -3] Try again'))

Context:
I have connected more power plant and it seems to not working correctly.

@freddy357
Copy link

Hello,
Same issue here. Since last update.

This error originated from a custom integration.

Logger: custom_components.sems.sems_api
Source: custom_components/sems/sems_api.py:130
integration: GoodWe SEMS PV API (documentation, issues)
First occurred: March 27, 2024 at 16:34:32 (6 occurrences)
Last logged: March 28, 2024 at 12:14:41

Unable to fetch data from SEMS. HTTPSConnectionPool(host='eu.semsportal.com', port=443): Read timed out. (read timeout=30)

This error originated from a custom integration.

Logger: custom_components.sems.sensor
Source: helpers/update_coordinator.py:350
integration: GoodWe SEMS PV API (documentation, issues)
First occurred: March 27, 2024 at 16:34:32 (3 occurrences)
Last logged: March 28, 2024 at 12:11:41

Error fetching SEMS API data: Error communicating with API: 'NoneType' object is not subscriptable

@robinhood-code
Copy link

robinhood-code commented Apr 24, 2024

I had this issue when the SEMS account is still logged in to the SEMS portal and the session has not expired. Once I've logged out from the SEMS portal then it was fine.

@jirisykora83
Copy link
Author

I had this issue when the SEMS account is still logged in to the SEMS portal and the session has not expired. Once I've logged out from the SEMS portal then it was fine.

How long does it take to login expire? I have more Plant so i create multiple account (for each plant) but i do not know which account is use for each integration. There is no way to show configuration after it is set #105

@robinhood-code
Copy link

you can check the config in /.storage/core.config_entries, search for "sems" and match your plant with title / powerstation_id. You'll see your username and password there.

I have to add that I also disabled the integration for a few minutes after I have logged out from the SEMS portal, before re-enabling it again, and the integration worked after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants