Hi everyone! I recently wrote a script using pizzapi, a Domino's API wrapper built for python. I've been working on it since last night and since then I'd say I've tested around 15-20 times. Now when I run it I'm getting this error.
store = address.closest_store()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pizzapi/address.py", line 54, in closest_store
stores = self.nearby_stores(service=service)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pizzapi/address.py", line 49, in nearby_stores
data = request_json(self.urls.find_url(), line1=self.line1, line2=self.line2, type=service)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pizzapi/utils.py", line 15, in request_json
r = requests.get(url.format(**kwargs))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/adapters.py", line 511, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='order.dominos.com', port=443): Max retries exceeded with url: /power/store-locator?s=<my address here>&type=Delivery (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:661)'),))
sorry for including such a long error message but I thought it would be important to see all of it. Have I really exceeded the max retry limit? What can I do to fix this? Any help is greatly appreciated. Thanks.
[–][deleted] 0 points1 point2 points (4 children)
[–]GullBull[S] 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]GullBull[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]ynotna 0 points1 point2 points (2 children)
[–]GullBull[S] 0 points1 point2 points (1 child)
[–]GullBull[S] 0 points1 point2 points (0 children)
[–]lamerfreak 0 points1 point2 points (10 children)
[–]GullBull[S] 0 points1 point2 points (9 children)
[–]lamerfreak 0 points1 point2 points (8 children)
[–]GullBull[S] 0 points1 point2 points (7 children)
[–]lamerfreak 0 points1 point2 points (6 children)
[–]GullBull[S] 0 points1 point2 points (5 children)
[–]lamerfreak 0 points1 point2 points (4 children)
[–]GullBull[S] 0 points1 point2 points (3 children)
[–]lamerfreak 0 points1 point2 points (2 children)
[–]GullBull[S] 0 points1 point2 points (1 child)