don't require verify for internet check
This commit is contained in:
parent
91b459f286
commit
3288bf4e6c
|
@ -138,7 +138,7 @@ def check_internet_access(services):
|
||||||
"""
|
"""
|
||||||
for host in services:
|
for host in services:
|
||||||
try:
|
try:
|
||||||
requests.get("https://%s" % (host,), timeout=TIMEOUT)
|
requests.get("https://%s" % (host,), timeout=TIMEOUT, verify=False)
|
||||||
return True
|
return True
|
||||||
except ConnectionError:
|
except ConnectionError:
|
||||||
# Failed connecting
|
# Failed connecting
|
||||||
|
|
Loading…
Reference in New Issue