java.lang.RuntimeException: java.lang.RuntimeException: Response code = 502, msg = Bad Gateway


Solutions on the web5

Solution icon of googlegroups
java.lang.RuntimeException: Response code = 502, msg = Bad Gateway

Solution icon of googlegroups
java.lang.RuntimeException: Response code = 502, msg = Bad Gateway

Solution icon of googlegroups
via Google Groups by HA Thi Tham, 4 months ago
Response code = 400, msg = Bad Request

Solution icon of googlegroups
via Google Groups by list_m...@libero.it, 1 year ago
java.lang.RuntimeException: java.io.IOException: Response code = 403, msg = Forbidden

Solution icon of github
via GitHub by dschrempf
, 6 months ago
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)

Stack trace

java.lang.RuntimeException: java.lang.RuntimeException: Response code
= 502, msg = Bad Gateway
	at com.gc.android.market.api.MarketSession.executeProtobuf(MarketSession.java:331)
	at com.gc.android.market.api.MarketSession.flush(MarketSession.java:291)
	at adii.download.apk.AndroidMarketApkDownloader.searchIdByPackageName(AndroidMarketApkDownloader.java:206)
	at adii.download.apk.AndroidMarketApkDownloader.downloadFromUrl(AndroidMarketApkDownloader.java:226)
	at adii.download.apk.AndroidMarketApkDownloader.main(AndroidMarketApkDownloader.java:247)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
Response code = 502, msg = Bad Gateway
	at com.gc.android.market.api.MarketSession.executeRawHttpQuery(MarketSession.java:377)
	at com.gc.android.market.api.MarketSession.executeProtobuf(MarketSession.java:325)
	... 4 more
Caused by: java.lang.RuntimeException: Response code = 502, msg = Bad
Gateway
	at com.gc.android.market.api.MarketSession.executeRawHttpQuery(MarketSession.java:358)
	... 5 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.