Code Monkey home page Code Monkey logo

token-dispenser's People

Contributors

rehmatworks avatar yeriomin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

token-dispenser's Issues

Get random credentials in a single request

Would it be possible to add a way, like /email, to get a token from a random configured account?
For example, if I have configured

in my passwords.txt, the path /email/random would use one of the two.
This thing is already possible, by calling /email and using it, however it requires 2 requests.
I could write a PR if you need so.

Lot of Auth & Server errors

I was wondering how do you manage your google accounts?
When I look at the logs of my token dispenser instance, I can see a lot of 401 & 500 errors (GooglePlayException).
Do you know where it comes from and how to fix it?
Thanks.

Don't return HTTP 200 when auth or server error

It would be nice if token dispenser return an HTTP error code when auth error or server error happens, something like 5XX. It will allow us to monitor a token dispenser server and warn us when not 200 is received.

Whenever I am trying to do mvn install, I am getting this error. Can you please help?

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.072 s
[INFO] Finished at: 2017-07-14T17:42:13+05:30
[INFO] Final Memory: 6M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/avinash.af.kumar/Desktop/apache-maven-3.2.2/bin). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

Possible to change device?

Is there a way to change the arch of the requested apk? I would like for example token-dispenser to give tokens corresponding to a armeabi-v7a device.

CaptchaRequired

Hello,
Google asks me for Captcha using token dispenser like this

com.github.yeriomin.playstoreapi.AuthException: Auth error body: Error=CaptchaRequired

How can it be handled?
Thank you.

Auth error on CircleCI

When I use the token-dispenser on my laptop, I'm able to get a token, and I can use it to download APKs. However, I try to get a token with the same settings, but running on CircleCI, I get the following exception:

if (code == 401 || code == 403) {
AuthException e = new AuthException("Auth error", code);

Can you think of a reason why this might be the case? Have you ever experienced Google rate limiting tokens?

EDIT: To be more specific, I'm using ae40bc4.

Auth error

I've got Auth error for 4 hours. I've tried with another Google account but it didn't solve the problem. Have you any idea what's wrong?

how to obtain tokens

can you show me some sample http requests how the tokens are obtained from username and password?
so i can try on my preferred language?

Mongodb official docker image auth error

Using the official mongodb docker image, this app will give auth error even if all the credentials are saved correctly into mongodb (verified multiple times).

I found a workaround here but i'm not sure what these commands do, or if it is a secure approach, it just works after typing those command into mongo interactive shell.

Maybe you could just mention this in the readme.

PS. I made dockerfiles for your project, maybe they can be useful to someone

No password for this email

when i finish all steps,i get a "No password for this email" result, anyone meets the same problem and has the solution now?

connect timed out

when i run a docker image using the command like : docker run --name td -d -t -p 8080:8080 yeriomin/play-store-token-dispenser:latest
i can't connect to 127.0.0.1:8080/token/email/myemailaddress
it returns connect timed out

No password for this email

2019-03-03 12:50:49:686 +0900 INFO com.github.yeriomin.tokendispenser.Server - Initializing storage type plaintext
2019-03-03 12:50:49:689 +0900 INFO com.github.yeriomin.tokendispenser.Server - Reading passwords/passwords.txt
2019-03-03 12:50:49:703 +0900 ERROR com.github.yeriomin.tokendispenser.Server - Could not read passwords/passwords.txt
2019-03-03 12:50:49:704 +0900 INFO com.github.yeriomin.tokendispenser.Server - Exposing /email endpoint
2019-03-03 12:50:49:705 +0900 INFO com.github.yeriomin.tokendispenser.Server - Enabling rate limiting
2019-03-03 12:50:49:707 +0900 INFO org.eclipse.jetty.util.log - Logging initialized @274ms
2019-03-03 12:50:49:758 +0900 INFO spark.embeddedserver.jetty.EmbeddedJettyServer - == Spark has ignited ...
2019-03-03 12:50:49:758 +0900 INFO spark.embeddedserver.jetty.EmbeddedJettyServer - >> Listening on 0.0.0.0:8080
2019-03-03 12:50:49:761 +0900 INFO org.eclipse.jetty.server.Server - jetty-9.3.z-SNAPSHOT
2019-03-03 12:50:50:328 +0900 INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@5151916b{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2019-03-03 12:50:50:328 +0900 INFO org.eclipse.jetty.server.Server - Started @900ms

password.txt :
[email protected] blabl-blabla

What did I do wrong?

Is the "-"in the password is the problem?

'Malformed request' for some google accounts

For some accounts I am able to receive the authentication token.
However some of the accounts, I receive 'Malformed request' instead.

I was able to login with these accounts using the browser.

Is there some reason for this?

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.