custom-components / grocy

Custom Grocy integration for Home Assistant
Apache License 2.0
163 stars 50 forks source link

InsecureRequestWarning: Unverified HTTPS request is being made to host #284

Open cdouet opened 1 year ago

cdouet commented 1 year ago

Describe the bug Warning message in HA logs No impact on the functionality of the custom component

Expected behavior No warning message

To Reproduce Steps to reproduce the behavior: Simply start HA and wait a little bit

General information to help debugging:

What sensors do you have enabled? Are they working and/or what state are they in? Do you have the corresponding functions enabled in Grocy? sensor.grocy_chores binary_sensor.grocy_overdue_chores

What is your installed versions of Home Assistant, Grocy and this integration? Home Assistant 2023.8.3 Supervisor 2023.08.1 Operating System 10.4 Frontend 20230802.1 - latest Grocy addon 0.19.1 Grocy integration 4.11.1 Nginx Proxy Manager addon 0.12.3

How do you have Grocy installed? Add-on or external? Grocy is installed as an addon (version 0.19.1)

Have you added debugging to the log, and what does the log say? Logger: py.warnings Source: custom_components/grocy/grocy_data.py:74 Integration: Grocy (documentation, issues) First occurred: 8:42:40 AM (18050 occurrences) Last logged: 12:36:43 PM

/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py:1056: InsecureRequestWarning: Unverified HTTPS request is being made to host 'redacted'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(

Note: 'redacted' is my external domain name...

B4dC4rd commented 1 year ago

Same here: First occurred: 3 September 2023 at 22:18:16 (94668 occurrences)

B4dC4rd commented 1 year ago

Still a lot of regular occurences of this warning. Grocy is running in a external docker in my case, with a fully qualified domain name.

B4dC4rd commented 1 year ago

Managed to configure the integration access in HTTPS which stopped the log warnings.

Issue can be closed for me.

cdouet commented 1 year ago

Hello,

May I know what you configured?

Thanks in advance

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: B4dC4rd @.> Sent: Sunday, October 1, 2023 9:00:24 AM To: custom-components/grocy @.> Cc: cdouet @.>; Author @.> Subject: Re: [custom-components/grocy] InsecureRequestWarning: Unverified HTTPS request is being made to host (Issue #284)

Managed to configure the integration access in HTTPS which stopped the log warnings.

Issue can be closed

— Reply to this email directly, view it on GitHubhttps://github.com/custom-components/grocy/issues/284#issuecomment-1741868535, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQF7VGPEYON7NCQ25KY46LX5CI7RANCNFSM6AAAAAA3WIO6UM. You are receiving this because you authored the thread.Message ID: @.***>

ShadyBrk commented 11 months ago

I am experiencing this issue as well... it's really bogging down my logs.

helicalchris commented 1 month ago

Any update on this. Its still happening a year later with no progress on the issues. Does anyone monitor these issues?