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

Nord pool empty response | cannot initialize integration #133950

Open
Formatrick opened this issue Dec 24, 2024 · 3 comments · May be fixed by #134033
Open

Nord pool empty response | cannot initialize integration #133950

Formatrick opened this issue Dec 24, 2024 · 3 comments · May be fixed by #134033
Assignees

Comments

@Formatrick
Copy link

The problem

The Nord pool integration seems to be stuck on initializing in the latest beta release due to some empty response?

Logger: homeassistant.components.nordpool
Source: helpers/update_coordinator.py:494
integration: Nord Pool (documentation, issues)
First occurred: 12:08:45 (1 occurrences)
Last logged: 12:08:45

Error requesting nordpool data: Empty response

What version of Home Assistant Core has the issue?

core-2025.1.0b1

What was the last working version of Home Assistant Core?

2024.12.5?

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Nord pool

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.nordpool
Source: helpers/update_coordinator.py:494
integration: Nord Pool (documentation, issues)
First occurred: 12:08:45 (4 occurrences)
Last logged: 12:13:33

Error requesting nordpool data: Empty response

-----------------------------------------------------

2024-12-24 12:07:14.935 ERROR (MainThread) [homeassistant.components.nordpool] Error requesting nordpool data: Empty response

------------------------------------------------------


2024-12-24 12:09:00.698 DEBUG (MainThread) [pynordpool.const] Response status 204
2024-12-24 12:09:00.698 DEBUG (MainThread) [pynordpool.const] Empty response error Empty response
2024-12-24 12:09:00.698 DEBUG (MainThread) [homeassistant.components.nordpool] Connection error: Empty response
2024-12-24 12:09:00.706 DEBUG (MainThread) [homeassistant.components.nordpool] Wait 30 seconds for next try
2024-12-24 12:09:30.707 DEBUG (MainThread) [pynordpool.const] Retrieve prices from https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices with params {'date': '2024-12-23', 'market': 'DayAhead', 'deliveryArea': 'BE', 'currency': 'EUR'}
2024-12-24 12:09:30.707 DEBUG (MainThread) [pynordpool.const] Attempting get with path https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices and parameters {'date': '2024-12-23', 'market': 'DayAhead', 'deliveryArea': 'BE', 'currency': 'EUR'}
2024-12-24 12:09:32.187 DEBUG (MainThread) [pynordpool.const] Response {'method': 'GET', '_real_url': URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-23&market=DayAhead&deliveryArea=BE&currency=EUR'), '_url': URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-23&market=DayAhead&deliveryArea=BE&currency=EUR'), '_request_info': RequestInfo(url=URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-23&market=DayAhead&deliveryArea=BE&currency=EUR'), method='GET', headers=<CIMultiDictProxy('Host': 'dataportal-api.nordpoolgroup.com', 'User-Agent': 'HomeAssistant/2025.1.0b1 aiohttp/3.11.11 Python/3.13', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Cookie': 'route=1735038252.57.27.614691|9898ac1b7e0bd8fc3874537f2a76b591')>, real_url=URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-23&market=DayAhead&deliveryArea=BE&currency=EUR')), '_timer': <aiohttp.helpers.TimerContext object at 0x7f750a0480>, '_cache': {'headers': <CIMultiDictProxy('Date': 'Tue, 24 Dec 2024 11:09:32 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Content-Encoding': 'br', 'Vary': 'Accept-Encoding', 'Request-Context': 'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f', 'Strict-Transport-Security': 'max-age=31536000')>}, '_traces': [], '_loop': <_UnixSelectorEventLoop running=True closed=False debug=False>, '_session': None, '_resolve_charset': <function ClientSession.<lambda> at 0x7fb51f8ea0>, '_closed': True, '_protocol': <aiohttp.client_proto.ResponseHandler object at 0x7f610b1f10>, '_connection': None, 'version': HttpVersion(major=1, minor=1), 'status': 200, 'reason': 'OK', '_headers': <CIMultiDictProxy('Date': 'Tue, 24 Dec 2024 11:09:32 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Content-Encoding': 'br', 'Vary': 'Accept-Encoding', 'Request-Context': 'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f', 'Strict-Transport-Security': 'max-age=31536000')>, '_raw_headers': ((b'Date', b'Tue, 24 Dec 2024 11:09:32 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Content-Encoding', b'br'), (b'Vary', b'Accept-Encoding'), (b'Request-Context', b'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f'), (b'Strict-Transport-Security', b'max-age=31536000')), 'content': <StreamReader 3375 bytes eof>, '_history': (), '_in_context': True}
2024-12-24 12:09:32.188 DEBUG (MainThread) [pynordpool.const] Response status 200
2024-12-24 12:09:32.189 DEBUG (MainThread) [pynordpool.const] Retrieve prices from https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices with params {'date': '2024-12-24', 'market': 'DayAhead', 'deliveryArea': 'BE', 'currency': 'EUR'}
2024-12-24 12:09:32.190 DEBUG (MainThread) [pynordpool.const] Attempting get with path https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices and parameters {'date': '2024-12-24', 'market': 'DayAhead', 'deliveryArea': 'BE', 'currency': 'EUR'}
2024-12-24 12:09:32.218 DEBUG (MainThread) [pynordpool.const] Response {'method': 'GET', '_real_url': URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-24&market=DayAhead&deliveryArea=BE&currency=EUR'), '_url': URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-24&market=DayAhead&deliveryArea=BE&currency=EUR'), '_request_info': RequestInfo(url=URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-24&market=DayAhead&deliveryArea=BE&currency=EUR'), method='GET', headers=<CIMultiDictProxy('Host': 'dataportal-api.nordpoolgroup.com', 'User-Agent': 'HomeAssistant/2025.1.0b1 aiohttp/3.11.11 Python/3.13', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Cookie': 'route=1735038252.57.27.614691|9898ac1b7e0bd8fc3874537f2a76b591')>, real_url=URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-24&market=DayAhead&deliveryArea=BE&currency=EUR')), '_timer': <aiohttp.helpers.TimerContext object at 0x7f74f05580>, '_cache': {'headers': <CIMultiDictProxy('Date': 'Tue, 24 Dec 2024 11:09:32 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Content-Encoding': 'br', 'Vary': 'Accept-Encoding', 'Request-Context': 'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f', 'Strict-Transport-Security': 'max-age=31536000')>}, '_traces': [], '_loop': <_UnixSelectorEventLoop running=True closed=False debug=False>, '_session': None, '_resolve_charset': <function ClientSession.<lambda> at 0x7fb51f8ea0>, '_closed': True, '_protocol': <aiohttp.client_proto.ResponseHandler object at 0x7f610b1f10>, '_connection': None, 'version': HttpVersion(major=1, minor=1), 'status': 200, 'reason': 'OK', '_headers': <CIMultiDictProxy('Date': 'Tue, 24 Dec 2024 11:09:32 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Content-Encoding': 'br', 'Vary': 'Accept-Encoding', 'Request-Context': 'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f', 'Strict-Transport-Security': 'max-age=31536000')>, '_raw_headers': ((b'Date', b'Tue, 24 Dec 2024 11:09:32 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Content-Encoding', b'br'), (b'Vary', b'Accept-Encoding'), (b'Request-Context', b'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f'), (b'Strict-Transport-Security', b'max-age=31536000')), 'content': <StreamReader 3387 bytes eof>, '_history': (), '_in_context': True}
2024-12-24 12:09:32.218 DEBUG (MainThread) [pynordpool.const] Response status 200
2024-12-24 12:09:32.219 DEBUG (MainThread) [pynordpool.const] Retrieve prices from https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices with params {'date': '2024-12-25', 'market': 'DayAhead', 'deliveryArea': 'BE', 'currency': 'EUR'}
2024-12-24 12:09:32.219 DEBUG (MainThread) [pynordpool.const] Attempting get with path https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices and parameters {'date': '2024-12-25', 'market': 'DayAhead', 'deliveryArea': 'BE', 'currency': 'EUR'}
2024-12-24 12:09:32.250 DEBUG (MainThread) [pynordpool.const] Response {'method': 'GET', '_real_url': URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-25&market=DayAhead&deliveryArea=BE&currency=EUR'), '_url': URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-25&market=DayAhead&deliveryArea=BE&currency=EUR'), '_request_info': RequestInfo(url=URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-25&market=DayAhead&deliveryArea=BE&currency=EUR'), method='GET', headers=<CIMultiDictProxy('Host': 'dataportal-api.nordpoolgroup.com', 'User-Agent': 'HomeAssistant/2025.1.0b1 aiohttp/3.11.11 Python/3.13', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Cookie': 'route=1735038252.57.27.614691|9898ac1b7e0bd8fc3874537f2a76b591')>, real_url=URL('https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?date=2024-12-25&market=DayAhead&deliveryArea=BE&currency=EUR')), '_timer': <aiohttp.helpers.TimerContext object at 0x7f61045080>, '_cache': {'headers': <CIMultiDictProxy('Date': 'Tue, 24 Dec 2024 11:09:32 GMT', 'Connection': 'keep-alive', 'Request-Context': 'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f', 'Strict-Transport-Security': 'max-age=31536000')>}, '_traces': [], '_loop': <_UnixSelectorEventLoop running=True closed=False debug=False>, '_session': None, '_resolve_charset': <function ClientSession.<lambda> at 0x7fb51f8ea0>, '_closed': True, '_protocol': <aiohttp.client_proto.ResponseHandler object at 0x7f610b1f10>, '_connection': None, 'version': HttpVersion(major=1, minor=1), 'status': 204, 'reason': 'No Content', '_headers': <CIMultiDictProxy('Date': 'Tue, 24 Dec 2024 11:09:32 GMT', 'Connection': 'keep-alive', 'Request-Context': 'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f', 'Strict-Transport-Security': 'max-age=31536000')>, '_raw_headers': ((b'Date', b'Tue, 24 Dec 2024 11:09:32 GMT'), (b'Connection', b'keep-alive'), (b'Request-Context', b'appId=cid-v1:ddfe5a25-b9d8-4f0e-b951-f04e01c2922f'), (b'Strict-Transport-Security', b'max-age=31536000')), 'content': <EmptyStreamReader>, '_history': (), '_in_context': True}

Additional information

No response

@home-assistant
Copy link

Hey there @gjohansson-ST, mind taking a look at this issue as it has been labeled with an integration (nordpool) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of nordpool can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign nordpool Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


nordpool documentation
nordpool source
(message by IssueLinks)

@Formatrick
Copy link
Author

Seems to be working now, maybe had to wait a bit longer. Sorry for creating the ticket too fast :)

@gjohansson-ST
Copy link
Member

Reopening as the issue is still present

@gjohansson-ST gjohansson-ST reopened this Dec 26, 2024
@gjohansson-ST gjohansson-ST linked a pull request Dec 26, 2024 that will close this issue
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants