home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.11k stars 29.17k forks source link

Error fetching openweathermap data: HTTPSConnectionPool #109283

Closed nawwman closed 2 weeks ago

nawwman commented 5 months ago

The problem

see error below, not sure what it does

What version of Home Assistant Core has the issue?

core-2024.1.5

What was the last working version of Home Assistant Core?

core-2024.1.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

OpenWeatherMap

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.openweathermap.weather_update_coordinator
Source: helpers/update_coordinator.py:332
Integration: OpenWeatherMap ([documentation](https://www.home-assistant.io/integrations/openweathermap), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+openweathermap%22))
First occurred: January 25, 2024 at 02:37:52 (2 occurrences)
Last logged: January 29, 2024 at 20:59:48

    Error fetching openweathermap data: HTTPSConnectionPool(host='api.openweathermap.org', port=443): Max retries exceeded with url: /data/2.5/weather?APPID=2c3004605374aab183120636f91ee26c&lang=en&lon=6.85563&lat=51.21081 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)')))
    Error fetching openweathermap data: API call timeouted

Additional information

System Information

version core-2024.1.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.63-haos-raspi
arch armv7l
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.33.0 Stage | running Available Repositories | 1384 Downloaded Repositories | 35
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 11.4 -- | -- update_channel | stable supervisor_version | supervisor-2023.12.1 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 28.5 GB disk_used | 8.3 GB healthy | true supported | true board | rpi3 supervisor_api | ok version_api | ok installed_addons | File editor (5.7.0), Samba share (12.2.0), Z-Wave JS (0.4.3), Node-RED (16.0.2), Advanced SSH & Web Terminal (17.0.4), Grafana (9.1.2), Log Viewer (0.17.0), InfluxDB (5.0.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Zigbee2MQTT (1.35.1-1)
Dashboards dashboards | 2 -- | -- resources | 24 views | 6 mode | storage
Recorder oldest_recorder_run | January 21, 2024 at 11:49 -- | -- current_recorder_run | January 21, 2024 at 12:49 estimated_db_size | 372.74 MiB database_engine | sqlite database_version | 3.41.2
home-assistant[bot] commented 5 months ago

Hey there @fabaff, @freekode, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (openweathermap) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `openweathermap` 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 openweathermap` 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)


openweathermap documentation openweathermap source (message by IssueLinks)

Phoenix-DH commented 4 months ago

Hi there,

I have exactly the same issue. Any news here?

I also saw that other integrations fail sometines to get a connection.

Maybe a generel issue?

Related to https://github.com/home-assistant/core/issues/113481 ?

UK-JustinSmall commented 4 months ago

Getting similar error

Logger: homeassistant.components.openweathermap.weather_update_coordinator Source: helpers/update_coordinator.py:350 integration: OpenWeatherMap (documentation, issues) First occurred: 05:57:32 (1 occurrences) Last logged: 05:57:32

Error fetching openweathermap data: HTTPSConnectionPool(host='api.openweathermap.org', port=443): Max retries exceeded with url: /data/2.5/forecast?APPID=64cb78aea36ef80545fe48e2582e54d9&lang=en&lon=-1.7XXXXXXXXXXXX&lat=52.4YYYYYYYYYYYYY (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))

Bikervossibaer commented 3 months ago

Getting similar error

Logger: homeassistant.components.openweathermap.weather_update_coordinator Quelle: helpers/update_coordinator.py:350 Integration: OpenWeatherMap (Dokumentation, Probleme) Erstmals aufgetreten: 11:17:36 (1 Vorkommnisse) Zuletzt protokolliert: 11:17:36

Error fetching openweathermap data: HTTPSConnectionPool(host='api.openweathermap.org', port=443): Max retries exceeded with url: /data/2.5/weather?APPID=240fc3f2b7c064a21bbb3e9bc5f1e3e0&lang=de&lon=8.419132232666017&lat=53.34209049080718 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))

issue-triage-workflows[bot] commented 3 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.