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

Fake yalp login is not working (tokendispenser-yeriomin.rhcloud.com down?) #292

Closed
jypma opened this issue Oct 2, 2017 · 10 comments
Closed
Milestone

Comments

@jypma
Copy link

jypma commented Oct 2, 2017

Expected behaviour

Using the fake yalp store should allow me to view and download APKs

Actual behaviour

The UI shows a generic server when selecting "fake yalp store account", and logcat shows

10-02 22:22:47.809  8835  9377 I com.github.yeriomin.yalpstore.PlayStoreApiAuthenticator: Login attempt #1
10-02 22:22:47.811  8835  9377 I com.github.yeriomin.yalpstore.NativeHttpClientAdapter: Requesting http://tokendispenser-yeriomin.rhcloud.com/email
10-02 22:22:48.177  8835  9377 I com.github.yeriomin.yalpstore.NativeHttpClientAdapter: HTTP result code 503
10-02 22:22:48.179  8835  9377 E com.github.yeriomin.yalpstore.NativeHttpClientAdapter: Exception java.io.FileNotFoundException http://tokendispenser-yeriomin.rhcloud.com/email
10-02 22:22:48.230  8835  8835 D com.github.yeriomin.yalpstore.AccountTypeDialogBuilder$AppProvidedCredentialsTask: com.github.yeriomin.playstoreapi.GooglePlayException caught during a google api request: Server error
10-02 22:22:51.788  3293  3293 W WindowManager: Attempted to remove non-existing token: android.os.Binder@66f5466

That's accurate, since a manual curl of http://tokendispenser-yeriomin.rhcloud.com/email (whatever that is...) yields

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Temporarily Unavailable</title>
</head><body>
<h1>Service Temporarily Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at tokendispenser-yeriomin.rhcloud.com Port 80</address>
</body></html>

(at least, it does right now). Maybe it's an intermittent problem, I'll re-try later.

Info about your device

Galaxy note 2, Android 7.1.1 (Cosmic OS ROM)

@ghost
Copy link

ghost commented Oct 3, 2017

Also experiencing this issue.

@yeriomin
Copy link
Owner

yeriomin commented Oct 3, 2017

@jypma Yes, there is a problem with the hosting. I'm moving token dispenser now.

@Guara111
Copy link

Guara111 commented Oct 3, 2017

thanks

@RSDamasceno
Copy link

Same here

@paul-grassl
Copy link

same situation but thanks for working on it!

yeriomin added a commit that referenced this issue Oct 4, 2017
@yeriomin yeriomin added this to the v0.27 milestone Oct 4, 2017
@yeriomin
Copy link
Owner

yeriomin commented Oct 4, 2017

@jypma @Guara111 @RSDamasceno @paul8klee See the releases page

@yeriomin yeriomin closed this as completed Oct 4, 2017
@breversa
Copy link

breversa commented Oct 4, 2017

Naive question : what's the use of the yalp-store-ota-27.zip file on the release page ?

@yeriomin
Copy link
Owner

yeriomin commented Oct 4, 2017

@breversa It can be used to install Yalp Store as a system app if you have your bootloader unlocked.

@breversa
Copy link

breversa commented Oct 5, 2017

Thanks, that's what I thought. But why is the zip file smaller than the apk ? Is the content the same, but with more (efficient) compression ?

@yeriomin
Copy link
Owner

yeriomin commented Oct 5, 2017

@breversa apk files are not ordinary zip files. To work on android apk files are zipaligned. It is a process which adds empty padding to most files in the apk to make them start at some predictable offset. This lets the android OS pick files out of apks without decompressing it all. This means apks are compressible. See the docs for details.

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

6 participants