Giter VIP home page Giter VIP logo

Comments (6)

falegre05 avatar falegre05 commented on June 13, 2024

I've been doing some research about this error. Activating the debug, it seemed to me that the problem could be related to Google changing the header field 'content-type' from 'application/protobuf' to 'application/binary' or something similar given that the statusCode was 200. So I commented the assert:
'assert(res.headers['content-type'] === 'application/protobuf', 'not application/protobuf response');' in the api.js file from the gpapi lib wich was throwing the error.
The result of this change is that now gp-download-meta and gp-download-info runs perfectly again, but when I try to make an actual download with gp-download, I get the following error:
RequestError: Error retrieving information from server. [DF-DFERH-01]

from node-google-play-cli.

dweinstein avatar dweinstein commented on June 13, 2024

thanks for the report...

commenting out the assert did seem to help me, are you sure that the app you're trying to download is compatible with the profile you're using?

try downloading a few other apps, do those work at all?

I might make a release with the assert removed...

from node-google-play-cli.

dweinstein avatar dweinstein commented on June 13, 2024

there's a prerelease 4.5.1-0 that uses the gpapi version without the assert. Give that a shot.

from node-google-play-cli.

falegre05 avatar falegre05 commented on June 13, 2024

Thank you for your fast answer. Finally I've realized that I was writting 'gp-download com.twitter.android twitter.apk' without the ">" symbol, so that's what I was getting a RequestError. Commenting out the assert seems to resolve the whole problem. I hope it is for good.

Again, thanks for your work and fast answer :)

from node-google-play-cli.

Laksh47 avatar Laksh47 commented on June 13, 2024

Google changed the header field 'content-type' from 'application/protobuf' to 'application/binary'

Will this be fixed ? @dweinstein

from node-google-play-cli.

dweinstein avatar dweinstein commented on June 13, 2024

The assert was removed in the current release

from node-google-play-cli.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.