Bug #4679
openRepeaterBook lookup failing with SSL: CERTIFICATE_VERIFY_FAILED error
0%
Description
Windows 10 Pro, latest DAILY 20170324
Querying or Importing from RepeaterBook fails with the following relevant log entry:
C:\Program Files (x86)\CHIRP\chirpw.exe\chirp\ui\inputdialog.py:106: GtkWarning: gtk_dialog_set_default_response: assertion `GTK_IS_DIALOG (dialog)' failed
http://www.repeaterbook.com/repeaters/downloads/chirp.php?func=default&state_id=CA01&band=%%&freq=%&band6=%&loc=%&county_id=%&status_id=%&features=%&coverage=%&use=%
Traceback (most recent call last):
File "chirp\ui\mainapp.pyo", line 1598, in mh
File "chirp\ui\mainapp.pyo", line 982, in do_repeaterbook_political
File "urllib.pyo", line 98, in urlretrieve
File "urllib.pyo", line 245, in retrieve
File "urllib.pyo", line 213, in open
File "urllib.pyo", line 364, in open_http
File "urllib.pyo", line 377, in http_error
File "urllib.pyo", line 641, in http_error_302
File "urllib.pyo", line 667, in redirect_internal
File "urllib.pyo", line 213, in open
File "urllib.pyo", line 443, in open_https
File "httplib.pyo", line 1049, in endheaders
File "httplib.pyo", line 893, in send_output
File "httplib.pyo", line 855, in send
File "httplib.pyo", line 1274, in connect
File "ssl.pyo", line 352, in wrap_socket
File "ssl.pyo", line 579, in __init_
File "ssl.pyo", line 808, in do_handshake
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
[2017-03-28 12:05:11,039] chirp.platform - ERROR: Failed to get filename: (0, 'GetOpenFileNameW', 'No error message is available')
The SSL error is thrown despite the non-HTTPS request because RepeaterBook is forwarding requests to HTTPS. For what it's worth, the link in the error log works in my browser without any certificate warnings and I am able to import the data manually from the downloaded CSV file.
Thanks!
Files