java.io.IOException

Invalid Http response at sun.net.www.protocol.http.HttpURLConnection.getInputStream( >> HttpURLConnection.java:1343)

Solutions on the web11082

  • via Google Groups by Shreejit Nair, 1 year ago
    Invalid Http response at sun.net.www.protocol.http.HttpURLConnection.getInputStream( >> HttpURLConnection.java:1343)
  • Invalid Http response at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1342)
  • via Google Groups by xyz, 1 month ago
    Server returned HTTP response code: 401 for URL:http://xyz:80/prweb/abcServlet at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1179) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField (HttpURLConnection.java:1913)
  • Stack trace

    • java.io.IOException: Invalid Http response at sun.net.www.protocol.http.HttpURLConnection.getInputStream( >> HttpURLConnection.java:1343) at io.swagger.parser.util.RemoteUrl.urlToString(RemoteUrl.java:130) at io.swagger.parser.Swagger20Parser.read(Swagger20Parser.java:81) at io.swagger.parser.SwaggerParser.read(SwaggerParser.java:64) at io.swagger.parser.SwaggerParser.read(SwaggerParser.java:52)

    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.