From 70db1035b1bad86861f0902fe66e04f4f11e1b08 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 1 Sep 2014 21:06:41 +0900 Subject: [PATCH] catch another ssl error --- aqt/sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aqt/sync.py b/aqt/sync.py index e3bc5d517..d4a6f74bc 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -184,7 +184,9 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""") elif "code: 413" in err: return _("Your collection or a media file is too large to sync.") elif "EOF occurred in violation of protocol" in err: - return _("Error establishing a secure connection. This is usually caused by filtering software, or problems with your ISP.") + return _("Error establishing a secure connection. This is usually caused by antivirus, firewall or VPN software, or problems with your ISP.") + elif "certificate verify failed" in err: + return _("Error establishing a secure connection. This is usually caused by antivirus, firewall or VPN software, or problems with your ISP.") return err def _getUserPass(self):