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 Oracle Community by Crgf-Oracle, 1 year ago
Server returned HTTP response code: 401 for URL: http://10.180.58.138:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
via Oracle Community by Suchith Shivakumar, 1 year ago
Server returned HTTP response code: 500 for URL: http://localhost:8180/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
via Oracle Community by 843836, 10 months ago
Server returned HTTP response code: 403 for URL: http://www.google.com/search?sitesearch=www.mysite.com&output=googleabout&submit=Search&q=foam
via Stack Overflow by brelian
, 2 years ago
Server returned HTTP response code: 401 for URL: http://192.168.1.2:9095/postcode?wsdl
via Stack Overflow by Erick Reis
, 2 years ago
Server returned HTTP response code: 500 for URL: https://ssoweb.intranet.bb.com.br:443/sso/jaxrpc/SMSObjectIF
via Google Groups by ajumell, 9 months ago
Server returned HTTP response code: 500 for URL: http://waitdownload.github.com/280north-browserjs-v0.1.1-6-g7e6eae6.zip
java.io.IOException: Server returned HTTP response code: 401 for URL: http://10.180.58.138:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)	at java.net.HttpURLConnection.getResponseCode(Unknown Source)	at com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler.authenticateUsernamePasswordInternal(CSAuthenticationHandler.java:130)	at org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler.doAuthentication(AbstractUsernamePasswordAuthenticationHandler.java:56)	at org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate(AbstractPreAndPostProcessingAuthenticationHandler.java:71)	at org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:88)	at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:417)	at org.jasig.cas.web.flow.AuthenticationViaFormAction.submit(AuthenticationViaFormAction.java:107)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:99)	at org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:133)	at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:192)	at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:146)	at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:59)	at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:156)	at org.springframework.webflow.engine.State.enter(State.java:191)	at org.springframework.webflow.engine.Transition.execute(Transition.java:212)	at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)	at org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)	at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)	at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:161)	at org.springframework.webflow.engine.State.enter(State.java:191)	at org.springframework.webflow.engine.Transition.execute(Transition.java:212)	at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)	at org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)	at org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)	at org.springframework.webflow.engine.impl.FlowExecutionImpl.signalEvent(FlowExecutionImpl.java:202)	at org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:222)	at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:111)	at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.fatwire.cas.web.CASXSSFilter.doFilter(CASXSSFilter.java:64)