Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Map Download Failed Error when using Google account #20

Closed
claimer21 opened this issue Jul 26, 2016 · 15 comments
Closed

Map Download Failed Error when using Google account #20

claimer21 opened this issue Jul 26, 2016 · 15 comments
Labels

Comments

@claimer21
Copy link

claimer21 commented Jul 26, 2016

Was getting Map Download failed error when using -c. Downloaded latest version. Getting this error now only when using Google to login. (PTC works)

2016-07-26 19:03:41,253 [auth_google] [ INFO] Google Login successful.
2016-07-26 19:03:41,325 [ search] [ INFO] Login successful
2016-07-26 19:03:42,221 [ rpc_api] [ ERROR] Could not parse response:
Traceback (most recent call last): File "c:\pokeman\pogom\pgoapi\rpc_api.py", line 205, in parse_main_request response_proto.ParseFromString(response_content)
File "C:\Python27\lib\site-packages\google\protobuf\message.py", line 186, in ParseFromString self.MergeFromString(serialized)
File "C:\Python27\lib\site-packages\google\protobuf\internal\python_message.py", line 844, in MergeFromString raise message_mod.DecodeError('Unexpected end-group tag.') DecodeError: Unexpected end-group tag.

@nborrmann
Copy link
Collaborator

Do you only get one error or dozens like this?

@claimer21
Copy link
Author

It seems to be the same error but it repeats. See below:

http://imgur.com/a/Cnj5f

@uhzair
Copy link

uhzair commented Jul 26, 2016

Can you paste your init file content ?

@claimer21
Copy link
Author

#!/usr/bin/python

-- coding: utf-8 --

config = {
'LOCALE': 'en',
'LOCALES_DIR': 'static/locales',
'ROOT_PATH': None,
'GOOGLEMAPS_KEY': 'XXXX'
}

@coltonmccormack
Copy link

Getting the same thing here.

Put my GMaps key into the init config.

Running on Windows 10 x64.

Replaced rpc_api.py:212 with log.exception('Could not parse response: \n%s', response_content) and noticed that the response was an HTML error page.

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>

Not a Python guy, but maybe I can figure out how to log the headers for each request (with/without pycurl) and see if I can spot the difference, if someone else doesn't figure it out first.

@favll favll added the bug label Jul 27, 2016
@newshaggy
Copy link

was working fine until PTC went down ran the script with google and now I am also getting this error.

@Toliver182
Copy link

I have the same issue, running on ubuntu

@claimer21
Copy link
Author

Maybe it's an issue isolated to Google logins? Anyone here using PTC having the issue?

@fakirpic
Copy link

fakirpic commented Jul 27, 2016

yes ptc went down and i started to get same error , it works without -c option but very slow

@jimdrie
Copy link

jimdrie commented Jul 27, 2016

Same issue as #11 . -c worked with PTC, but not with Google accounts.

@claimer21
Copy link
Author

Yup, just tested. It works with PTC but not google accounts

@claimer21 claimer21 changed the title Map Download Failed Error Using -c follow up Map Download Failed Error when using Google account Jul 27, 2016
@DanHazard
Copy link

Yup, PTC ate dirt sometime last night when I was hoping to begin some real scans of my city. Realised that PTC is terrible and wanted to swap all my scans to google. I have it running now with Google but with no -C and it seems like it's taking a bit longer more. Not really a big deal to me. I just want data to use to find nests, etc but still it was nice when it was blazing fast.

@yodaofborg
Copy link

Tried the google login with and without -c, states im logged in, but no scans happen. getting the same errors as above Could not parse response:

@Zyrixion
Copy link

This happens with -c on PTC accounts as well.

@chrishoadley
Copy link

This is happening for me without -c on google and ptc accounts.

@favll favll closed this as completed Aug 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests