grocy icon indicating copy to clipboard operation
grocy copied to clipboard

InsecureRequestWarning: Unverified HTTPS request is being made to host

Open cdouet opened this issue 2 years ago • 6 comments

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...

cdouet avatar Aug 19 '23 03:08 cdouet

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

B4dC4rd avatar Sep 04 '23 17:09 B4dC4rd

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 avatar Sep 29 '23 12:09 B4dC4rd

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

Issue can be closed for me.

B4dC4rd avatar Sep 30 '23 22:09 B4dC4rd

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: @.***>

cdouet avatar Oct 01 '23 01:10 cdouet

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

ShadyBrk avatar Nov 24 '23 03:11 ShadyBrk