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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by list_m...@libero.it, 6 months ago
java.lang.RuntimeException: Response code = 502, msg = Bad Gateway
via Google Groups by adii, 6 months ago
java.lang.RuntimeException: Response code = 502, msg = Bad Gateway
via Google Groups by HA Thi Tham, 6 months ago
Response code = 400, msg = Bad Request
via Google Groups by list_m...@libero.it, 1 year ago
java.lang.RuntimeException: java.io.IOException: Response code = 403, msg = Forbidden
via GitHub by dschrempf
, 8 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)
java.lang.RuntimeException: Response code = 502, msg = Bad Gateway
at com.gc.android.market.api.MarketSession.executeRawHttpQuery(MarketSession.java:358)
at com.gc.android.market.api.MarketSession.executeProtobuf(MarketSession.java:325)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.