mirror of https://github.com/Syncplay/syncplay
Fallback check on reason value for SSL reason
This commit is contained in:
parent
434d035374
commit
5bdee90ecd
|
@ -112,7 +112,7 @@ class SyncClientProtocol(JSONCommandProtocol):
|
||||||
elif "mismatched_id=DNS_ID" in str(reason.value):
|
elif "mismatched_id=DNS_ID" in str(reason.value):
|
||||||
self._client.ui.showErrorMessage(getMessage("startTLS-server-certificate-invalid-DNS-ID"))
|
self._client.ui.showErrorMessage(getMessage("startTLS-server-certificate-invalid-DNS-ID"))
|
||||||
self._client._clientSupportsTLS = False
|
self._client._clientSupportsTLS = False
|
||||||
elif "tls" in str(reason.stack):
|
elif "tls" in str(reason.stack) or "SSL" in str(reason.value):
|
||||||
self._client._clientSupportsTLS = False
|
self._client._clientSupportsTLS = False
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue