commercetest / vitals-scraper

Collect data to assist in analysing Google Play Console Android Vitals
MIT License
6 stars 2 forks source link

Timeout when processing results for the PocketPaint app #24

Closed julianharty closed 5 years ago

julianharty commented 5 years ago

Oddly, the current code works for every app and project I've tried, bar one. In the last month or so it's been failing to work for the PocketPaint app's content. The request to Google Play Console seems to wait indefinitely. The generated URL does not seem to be accepted for this app, even though similarly generated URLs for other apps do work. Here's an example of the failing URL

https://play.google.com/apps/publish/?account=<removed>#AndroidMetricsErrorsPlace:p=org.catrobat.paintdroid&appVersion&detailsSpan=7&errorType=CRASH

And here's an example of one that works:

https://play.google.com/apps/publish/?account=<removed>#AndroidMetricsErrorsPlace:p=org.catrobat.paintroid&appid=<removed>&appVersion=PRODUCTION

Removing the appVersion works, the results simply include crashes for old and pre-production releases of the app.

https://play.google.com/apps/publish/?account=8841632091579025670#AndroidMetricsErrorsPlace:p=org.catrobat.paintroid&appid=4972816846915839106&appVersion

This may be a good opportunity to revise the URLs we generate/use so they're more consistent with those generated in Google Play Console e.g. by incorporating the appid in the relevant URLs.

julianharty commented 5 years ago

This issue seems to have been fixed by the various changes and improvements we made in the last few weeks.

I ran the program to retrieve 30 days of crashes for PocketPaint and PocketCode which ran without any obvious errors or problems and generated a JSON file containing the expected data.

Closing this issue.