java.io.IOException

Server returned HTTP response code: 502 for URL: ftp://user:password@machine.company.com/readme.txt

Samebug tips1

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10742

  • Server returned HTTP response code: 502 for URL: ftp://user:password@machine.company.com/readme.txt
  • via Oracle Community by 807596, 1 year ago
    Server returned HTTP response code: 502 for URL: http://www.cnn.com/
  • via JDK Bug System by Vikrant Agarwal, 10 months ago
    Server returned HTTP response code: 502 for URL: http://foo.bar.baz/
  • Stack trace

    • java.io.IOException: Server returned HTTP response code: 502 for URL: ftp://user:password@machine.company.com/readme.txt at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:562)

    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

    Once, 1 week ago
    10 times, 1 month ago
    Once, 1 month ago
    4 times, 6 months ago
    Once, 6 months ago
    75 more bugmates