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

Samebug tips

  1. ,
    Expert tip

    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Coderanch by Miran Cvenkel, 1 year ago
Server returned HTTP response code: 505 for URL: http://localhost/AgroZoo10/jsp/Thesaurus.jsp?p3=dog flea
via Oracle Community by 843802, 7 months ago
Server returned HTTP response code: 500 for URL: http://myserver:8080/jnlptest.jar
via GitHub by fxprunayre
, 8 months ago
Server returned HTTP response code: 401 for URL: http://www.cmar.csiro.au/geoserver/wfs?VERSION=1.0.0&SERVICE=WFS&REQUEST=GetCapabilities
via Stack Overflow by gates
, 2 years ago
Server returned HTTP response code: 401 for URL: https://apikey:password@go-frugal.myshopify.com/admin/orders.json
via Google Groups by alaura, 2 years ago
Server returned HTTP response code: 502 for URL: http://api-directory.googleapis.com/5935/download-apiary/buzz/v1
via Google Groups by alaura, 2 years ago
Server returned HTTP response code: 502 for URL: http://api-directory.googleapis.com/5935/download-apiary/buzz/v1
java.io.IOException: Server returned HTTP response code: 505 for URL: http://localhost/AgroZoo10/jsp/Thesaurus.jsp?p3=dog flea	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)	at mc.Crawler_old_moj.addRelevantLinksTo_vectorToSearch(Crawler_old_moj.java:158)	at mc.Crawler_old_moj.addRelevantLinksTo_vectorToSearch(Crawler_old_moj.java:301)	at mc.Crawler_old_moj.addRelevantLinksTo_vectorToSearch(Crawler_old_moj.java:301)	at mc.Crawler_old_moj.(Crawler_old_moj.java:99)	at org.apache.jsp.jsp.catchAjaxRequest_jsp._jspService(catchAjaxRequest_jsp.java:350)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:222)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Thread.java:619)