forked from p15670423/monkey
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:
|
||||
try:
|
||||
requests.get("https://%s" % (host,), timeout=TIMEOUT)
|
||||
requests.get("https://%s" % (host,), timeout=TIMEOUT, verify=False)
|
||||
return True
|
||||
except ConnectionError:
|
||||
# Failed connecting
|
||||
|
|
Loading…
Reference in New Issue