Thuis krijg ik dus onderstaande foutmeldingen:
Uploading sequence ad2d5dd7-e14d-480e-a659-161fc290845c.
Uploading: VIRB0521.JPG
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files\Python\lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "V:\OSM\Mapillary\upload.py", line 177, in run
upload_file(filepath, **self.params)
File "V:\OSM\Mapillary\upload.py", line 115, in upload_file
response = urllib2.urlopen(request)
File "C:\Program Files\Python\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Program Files\Python\lib\urllib2.py", line 431, in open
response = self._open(req, data)
File "C:\Program Files\Python\lib\urllib2.py", line 449, in _open
'_open', req)
File "C:\Program Files\Python\lib\urllib2.py", line 409, in _call_chain
result = func(*args)
File "C:\Program Files\Python\lib\urllib2.py", line 1240, in https_open
context=self._context)
File "C:\Program Files\Python\lib\urllib2.py", line 1194, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "C:\Program Files\Python\lib\httplib.py", line 1001, in request
self._send_request(method, url, body, headers)
File "C:\Program Files\Python\lib\httplib.py", line 1035, in _send_request
self.endheaders(body)
File "C:\Program Files\Python\lib\httplib.py", line 997, in endheaders
self._send_output(message_body)
File "C:\Program Files\Python\lib\httplib.py", line 850, in _send_output
self.send(msg)
File "C:\Program Files\Python\lib\httplib.py", line 812, in send
self.connect()
File "C:\Program Files\Python\lib\httplib.py", line 1216, in connect
server_hostname=server_hostname)
File "C:\Program Files\Python\lib\ssl.py", line 350, in wrap_socket
_context=self)
File "C:\Program Files\Python\lib\ssl.py", line 566, in __init__
self.do_handshake()
File "C:\Program Files\Python\lib\ssl.py", line 796, in do_handshake
match_hostname(self.getpeercert(), self.server_hostname)
File "C:\Program Files\Python\lib\ssl.py", line 269, in match_hostname
% (hostname, ', '.join(map(repr, dnsnames))))
CertificateError: hostname 'mapillary.uploads.manual.images.s3-eu-west-1.amazonaws.com' doesn't match either of 's3-eu-w
est-1.amazonaws.com', '*.s3-eu-west-1.amazonaws.com'
Ben blijkbaar niet de enige: https://gist.github.com/mvexel/4b1f2804e7218fa06328
Ook werd een vergelijkbaar probleem gemeld op https://github.com/mapillary/mapillary_issues/issues/512
Heb daar in de comments bij vermeld dat het niet enkel voor upload.py mis gaat, maar ook voor upload_with_authentication.py.
Workaround schijnt te zijn om te downgraden naar Python 2.7.8, dus dat probeer ik morgen maar eens.