mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
If SSDP happens but HTTPS not ready, ignore
This commit is contained in:
parent
d5a8e881ab
commit
6df73d88b3
@ -375,8 +375,11 @@ def _find_service(service, target):
|
||||
|
||||
def check_fish(urldata):
|
||||
url, data = urldata
|
||||
wc = webclient.SecureHTTPConnection(_get_svrip(data), 443, verifycallback=lambda x: True)
|
||||
peerinfo = wc.grab_json_response(url)
|
||||
try:
|
||||
wc = webclient.SecureHTTPConnection(_get_svrip(data), 443, verifycallback=lambda x: True)
|
||||
peerinfo = wc.grab_json_response(url)
|
||||
except socket.error:
|
||||
return None
|
||||
if url == '/DeviceDescription.json':
|
||||
try:
|
||||
peerinfo = peerinfo[0]
|
||||
|
Loading…
Reference in New Issue
Block a user