mar-v-in / BlankStore

An open source Google Play Store client.
136 stars 24 forks source link

Crash when on WiFi #21

Open dschrempf opened 7 years ago

dschrempf commented 7 years ago

Hello,

I know, this is not anymore actively developed but still the best option to download APKs directly from Google without installing Google Play Store.

When I do a search or click on install in Blank Store when on WiFi, I get the following error:

02-14 11:12:25.782  4522  4564 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
02-14 11:12:25.782  4522  4564 E AndroidRuntime: Process: com.android.vending, PID: 4522
02-14 11:12:25.782  4522  4564 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at android.os.AsyncTask$3.done(AsyncTask.java:325)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.util.concurrent.FutureTask.run(FutureTask.java:242)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.lang.Thread.run(Thread.java:761)
02-14 11:12:25.782  4522  4564 E AndroidRuntime: Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: unexpected end of stream on Connection{android.clients.google.com:80, proxy=DIRECT hostAddress=216.58.208.46 cipherSuite=none protocol=http/1.1} (recycle count=1)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.gc.android.market.api.MarketSession.executeProtobuf(MarketSession.java:156)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.gc.android.market.api.MarketSession.flush(MarketSession.java:300)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.vending.google.DefaultGooglePlayConnection.startGetImageRequestSynced(DefaultGooglePlayConnection.java:337)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.vending.google.DefaultGooglePlayConnection.startGetImageRequest(DefaultGooglePlayConnection.java:327)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.vending.google.DefaultGooglePlayConnection.queryImage(DefaultGooglePlayConnection.java:289)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.vending.tasks.ImageToViewTask.doInBackground(ImageToViewTask.java:42)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.vending.tasks.ImageToViewTask.doInBackground(ImageToViewTask.java:13)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at android.os.AsyncTask$2.call(AsyncTask.java:305)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    ... 4 more
02-14 11:12:25.782  4522  4564 E AndroidRuntime: Caused by: java.lang.RuntimeException: java.io.IOException: unexpected end of stream on Connection{android.clients.google.com:80, proxy=DIRECT hostAddress=216.58.208.46 cipherSuite=none protocol=http/1.1} (recycle count=1)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.gc.android.market.api.MarketSession.executeRawHttpQuery(MarketSession.java:235)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.gc.android.market.api.MarketSession.executeProtobuf(MarketSession.java:149)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    ... 12 more
02-14 11:12:25.782  4522  4564 E AndroidRuntime: Caused by: java.io.IOException: unexpected end of stream on Connection{android.clients.google.com:80, proxy=DIRECT hostAddress=216.58.208.46 cipherSuite=none protocol=http/1.1} (recycle count=1)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:907)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:783)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:463)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:521)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.gc.android.market.api.MarketSession.executeRawHttpQuery(MarketSession.java:188)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    ... 13 more
02-14 11:12:25.782  4522  4564 E AndroidRuntime: Caused by: java.io.EOFException: \n not found: size=0 content=...
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:200)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
02-14 11:12:25.782  4522  4564 E AndroidRuntime:    ... 20 more
02-14 11:12:25.795   604   808 W ActivityManager:   Force finishing activity com.android.vending/.BlankActivity

When I am doing the search via the data connection of the phone, everything works perfectly.

Maybe you have time or are interested in looking into this.

Thanks.