Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is happening ? #2477

Closed
sapentiae opened this issue Feb 5, 2018 · 2 comments
Closed

What is happening ? #2477

sapentiae opened this issue Feb 5, 2018 · 2 comments

Comments

@sapentiae
Copy link

2018-02-05 22:15:34,394 [ MainThread][ runserver][ INFO] No file "custom.css" found, using default settings.
2018-02-05 22:15:34,395 [ MainThread][ runserver][ INFO] No file "custom.js" found, using default settings.
2018-02-05 22:15:34,569 [ MainThread][ utilities][ INFO] Location for 'Oldenburg, Oldenburg, Germany' found: Oldenburg, Germany
2018-02-05 22:15:34,569 [ MainThread][ utilities][ INFO] Coordinates (lat/long/alt) for location: 53.1434501 8.2145521 0.0
From cffi callback <function _verify_callback at 0x7f215e119aa0>:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 313, in wrapper
_lib.X509_up_ref(x509)
AttributeError: 'module' object has no attribute 'X509_up_ref'
2018-02-05 22:15:34,648 [ MainThread][ altitude][ ERROR] Unable to retrieve altitude from Google APIs: HTTPSConnectionPool(host='maps.googleapis.com', port=443): Max retries exceeded with url: /maps/api/elevation/json?locations=53.1434501,8.2145521&key=AIzaSyC0s06g_tuNqKq53nDPX-V05oKrgSpzrZk (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)).
Traceback (most recent call last):
File "/root/RocketMap/pogom/altitude.py", line 21, in get_gmaps_altitude
timeout=5)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 506, in send
raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='maps.googleapis.com', port=443): Max retries exceeded with url: /maps/api/elevation/json?locations=53.1434501,8.2145521&key=AIzaSyC0s06g_tuNqKq53nDPX-V05oKrgSpzrZk (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
2018-02-05 22:15:34,650 [ MainThread][ runserver][ ERROR] Unable to retrieve altitude from Google APIssetting to 0
2018-02-05 22:15:34,651 [ MainThread][ runserver][ INFO] Parsed location is: 53.1435/8.2146/0.0000 (lat/lng/alt).
2018-02-05 22:15:34,651 [ MainThread][ runserver][ INFO] Parsing of Pokemon enabled.
2018-02-05 22:15:34,651 [ MainThread][ runserver][ INFO] Parsing of Pokestops enabled.
2018-02-05 22:15:34,651 [ MainThread][ runserver][ INFO] Parsing of Gyms enabled.
2018-02-05 22:15:34,652 [ MainThread][ runserver][ INFO] Pokemon encounters disabled.
2018-02-05 22:15:34,653 [ MainThread][ app][ INFO] Retrieving blacklist...
From cffi callback <function _verify_callback at 0x7f215dab1230>:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 313, in wrapper
_lib.X509_up_ref(x509)
AttributeError: 'module' object has no attribute 'X509_up_ref'
2018-02-05 22:15:34,740 [ MainThread][ blacklist][ ERROR] Unable to retrieve blacklist, setting to empty.
2018-02-05 22:15:34,741 [ MainThread][ models][ INFO] Connecting to MySQL database on 127.0.0.1:3306...
2018-02-05 22:15:34,756 [ MainThread][ runserver][ INFO] Webhook disabled.
2018-02-05 22:15:34,757 [ MainThread][ runserver][ INFO] Scanning speed limit set to 35 km/h.
2018-02-05 22:15:34,757 [ MainThread][ runserver][ INFO] High-level speed limit set to 25 km/h.
2018-02-05 22:15:34,758 [ MainThread][ runserver][CRITICAL] Hash key is required for scanning. Exiting.

@ghost
Copy link

ghost commented Feb 5, 2018

CRITICAL] Hash key is required for scanning. Exiting.

The last line tells you what's happening. You need a hash key. This will likely get closed off, head over to the discord channel if you need help.

@FrostTheFox
Copy link
Member

^ This is important but you're also getting "certificate verify failed", which means you probably have a firewall or something else causing issues with the connection to Google.

In either case, this doesn't look like a bug with RocketMap to me. Use the Discord for support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants