java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/

JDK Bug System | Vikrant Agarwal | 3 months ago
  1. 0

    Testsuite name: j2se_java_rest Test name(s): java/net/URL/OpenStream.java Product(s) tested: JDK 7 u111 b32 OS/architecture: Mac OS (x64) Reproducible: Always Is it a Regression: Test also failed for 7u80b15, also test failed for JDK 7 u111 b12 on the same machine, where it had passed before Is it a platform specific issue: Yes, test passed for JDK 7 u111 b32 on Linux x64 [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No [If new configuration testing] Issue specific to execution mode or OS/browser version: Exception/Error from Log: ----------System.out:(0/0)---------- ----------System.err:(0/0)---------- result: Passed. Compilation successful #section:main ----------messages:(4/133)---------- command: main OpenStream reason: Assumed action based on file name: run main OpenStream Mode: othervm elapsed time (seconds): 0.587 ----------configuration:(0/0)---------- ----------System.out:(0/0)---------- ----------System.err:(15/977)---------- java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/ at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628) at java.net.URL.openStream(URL.java:1048) at OpenStream.main(OpenStream.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/ JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/

    JDK Bug System | 3 months ago | Vikrant Agarwal
    java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/
  2. 0

    IOException getting whatsmyip.akamai.com kills deploy

    GitHub | 3 years ago | lashex
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://whatismyip.akamai.com/ (form-init4146737830589478912.clj:1)
  3. 0

    java.io.IOException on refresh

    GitHub | 2 years ago | biozz
    java.io.IOException: Server returned HTTP response code: 422 for URL: https://api.twitch.tv/kraken/streams/test
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1.0.3 FTB launcher issue

    GitHub | 4 years ago | dus998
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://repo.creeperhost.net/direct/FTB2/6b0342f3d7703bff2ead109ef9f46f47/modpacks.xml
  6. 0

    [ERROR] net.ftb.workers.ModpackLoader.run:39 Exception during reading modpackfile

    GitHub | 4 years ago | Thezixxle
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://repo.creeperhost.net/direct/FTB2/850a53330e60b2e4fe269550100e39bc/modpacks.xml

  1. serious2monkeys 2 times, last 1 month ago
  2. tyson925 2 times, last 4 months ago
  3. aldrinleal 14 times, last 4 months ago
  4. regisso 1 times, last 5 months ago
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Server returned HTTP response code: 502 for URL: http://foo.bar.baz/

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    URL.openStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
    2. java.net.URL.openStream(URL.java:1048)
    2 frames
  3. Unknown
    OpenStream.main
    1. OpenStream.main(OpenStream.java:41)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. com.sun.javatest
    MainWrapper$MainThread.run
    1. com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame