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

Google Groups | Shreejit Nair | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Swagger.json read () method failing

    Google Groups | 10 months ago | Shreejit Nair
    java.io.IOException: Invalid Http response at sun.net.www.protocol.http.HttpURLConnection.getInputStream( >> HttpURLConnection.java:1343)

    Root Cause Analysis

    1. java.io.IOException

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

      at io.swagger.parser.util.RemoteUrl.urlToString()
    2. io.swagger.parser
      SwaggerParser.read
      1. io.swagger.parser.util.RemoteUrl.urlToString(RemoteUrl.java:130)
      2. io.swagger.parser.Swagger20Parser.read(Swagger20Parser.java:81)
      3. io.swagger.parser.SwaggerParser.read(SwaggerParser.java:64)
      4. io.swagger.parser.SwaggerParser.read(SwaggerParser.java:52)
      4 frames