custom-components / weatheralerts

A sensor that gives you weather alerts from alerts.weather.gov.
MIT License
123 stars 15 forks source link

Timeout Error #75

Closed Midnitte closed 1 year ago

Midnitte commented 1 year ago

Version of the custom_component

v0.1.5

Describe the bug

The sensor never appears to make a successful connection to the weather.gov API. Has the API perhaps changed endpoints?

Log

2023-04-03 20:41:08.631 WARNING (MainThread) [custom_components.weatheralerts.sensor] [NJZ027,NJC005] Possible API outage. Currently unable to download from weather.gov - HTTP status code 503
2023-04-03 20:41:38.640 WARNING (MainThread) [custom_components.weatheralerts.sensor] [NJZ027,NJC005] Possible API outage. Currently unable to download from weather.gov - HTTP status code 503
2023-04-03 21:16:48.537 WARNING (MainThread) [custom_components.weatheralerts.sensor] [NJZ027,NJC005] Could not update the sensor (TimeoutError)
2023-04-03 21:17:08.630 INFO (MainThread) [custom_components.weatheralerts.sensor] [NJZ027,NJC005] Update of the sensor completed
2023-04-04 15:51:16.237 WARNING (MainThread) [custom_components.weatheralerts.sensor] [NJZ027,NJC005] Could not update the sensor (ClientConnectorError)

Configuration

sensor:
  platform: weatheralerts
  state: NJ
  zone: 27
  county: 5
Midnitte commented 1 year ago

Actually appears like it is working, and this is just normal. Please disregard!