Closed SoHSolar closed 9 months ago
I have same issue with message on configure screen reading - "Failed to connect to OE servers. Please try again later"
Same issue here. Gas reading stopped working after updating system last night, restarted all of HomeAssistant, now fails to read any of Octopus Sensors. Checked through history and it looks like the issue might be at Octopus. Thus morning around 2:55 the electric readings stopped recording. On restart I'm getting. Logger: homeassistant.config_entries Source: config_entries.py:402 First occurred: 08:32:25 (1 occurrences) Last logged: 08:32:25
Error setting up entry A-9E82EA4C for octopus_energy Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/octopus_energy/init.py", line 83, in async_setup_entry await async_setup_dependencies(hass, config) File "/config/custom_components/octopus_energy/init.py", line 127, in async_setup_dependencies account_info = await client.async_get_account(config[CONFIG_MAIN_ACCOUNT_ID]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/octopus_energy/api_client/init.py", line 400, in async_get_account await self.async_refresh_token() File "/config/custom_components/octopus_energy/api_client/init.py", line 386, in async_refresh_token token_response_body = await self.async_read_response(token_response, url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/octopus_energy/api_client/init.py", line 1136, in async_read_response raise ServerError(msg) custom_components.octopus_energy.api_client.ServerError: DO NOT REPORT - Octopus Energy server error (https://api.octopus.energy/v1/graphql/): 502;
2023-12-05 08:32:34.977 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Account for octopus_energy Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/octopus_energy/__init__.py", line 81, in async_setup_entry await async_setup_dependencies(hass, config) File "/config/custom_components/octopus_energy/__init__.py", line 125, in async_setup_dependencies account_info = await client.async_get_account(config[CONFIG_MAIN_ACCOUNT_ID]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/octopus_energy/api_client/__init__.py", line 344, in async_get_account await self.async_refresh_token() File "/config/custom_components/octopus_energy/api_client/__init__.py", line 329, in async_refresh_token async with client.post(url, json=payload) as token_response: File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1141, in __aenter__ self._resp = await self._coro ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 560, in _request await resp.start(conn) File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 894, in start with self._timer: File "/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py", line 721, in __exit__ raise asyncio.TimeoutError from None TimeoutError
Same here
Same
I had the same problem where it went offline just after 4am but it has just come back online now at 9.15am.
Having the same problem, was ok after the upgrade then at 04:30 stopped working and after reboot, integration fails to initialise.
As per the message, this is a failure with the APIs and not the integration. Based on comments in https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/605, this looks like it has now resolved.
Closing as this seems related to the recent outage.
Describe the bug
Restarted HA, its been running beautifully for months and now suddenly failed to initialise, then reinstalled and updated and now getting server error when putting in API details and account number.
Reproduction steps
Unable to input account and API details
Expected behaviour
I expected it to set my details and create the entities
Tariff Code
?
Integration Version
9.1.0
Home Assistant Version
11.2
Fresh Install?
After upgrading
Home Assistant Logs
None available due to restarting HA
Confirmation