don't require verify for internet check

This commit is contained in:
itay 2019-04-23 11:49:03 +03:00
parent 91b459f286
commit 3288bf4e6c
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def check_internet_access(services):
"""
for host in services:
try:
requests.get("https://%s" % (host,), timeout=TIMEOUT)
requests.get("https://%s" % (host,), timeout=TIMEOUT, verify=False)
return True
except ConnectionError:
# Failed connecting