Closed marlonqpa closed 1 year ago
rest documentation rest source (message by IssueLinks)
There is also a new message in the log, but it looks like it is truncated somehow.
Logger: homeassistant.components.rest.data Source: components/rest/data.py:74 Integration: RESTful (documentation, issues) First occurred: 10:06:37 (1 occurrences) Last logged: 10:06:37
Error fetching data: https://www.tauron-dystrybucja.pl/iapi/outage/GetOutages?gaid=897411&type=street failed with
Got similar issue with wrong signature type
Just FYI
As far as I know the issue occurs because of the new python version. Because we do not know when it is going to be fixed I made a quick work around for it. From REST platform I changed it quickly to command line like this
platform: command_line
name: MY NAME
command: >
curl
"<GET URL>"
json_attributes:
- "ATTRIBUTE HERE"
scan_interval: 900
value_template: OK
and it works perfectly
try to disable the system proxy
proxies = {"http": None, "https": None}
Hi @kkosyl, your approaching works well, thank you.
try to disable the system proxy
proxies = {"http": None, "https": None}
Hi. Where I should put that, somewhere in config files?
res = requests.get(url,data,proxies=proxies)
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.
The problem
Hi
After update from the core from 2022.6.7 to 2022.7.0b one of my REST sensor stopped working. No changes in the configuration from my side.
What version of Home Assistant Core has the issue?
core-2022.7.1
What was the last working version of Home Assistant Core?
core-2022.6.7
What type of installation are you running?
Home Assistant OS
Integration causing the issue
RESTful
Link to integration documentation on our website
https://www.home-assistant.io/integrations/rest/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response