java.io.IOException

Server returned HTTP response code: 500 for URL: https://poseidon.xteconline.com/cas-server-webapp-3.3.3/serviceValidate?pgtUrl=https%3A%2F%2Fposeidon.xteconline.com%2Fdesktop%2Fsecure%2Freceptor&ticket=ST-7-pikBpPssSV4HXjDhA2fB-cas&service=https%3A%2F%2Fposeidon.xteconline.com%2Fdesktop%2Fj_spring_cas_security_check

Samebug tips1

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.

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

Solutions on the web11460

  • via Terracotta by kjordan, 1 year ago
    Server returned HTTP response code: 500 for URL: https://poseidon.xteconline.com/cas-server-webapp-3.3.3/serviceValidate?pgtUrl=https%3A%2F%2Fposeidon.xteconline.com%2Fdesktop%2Fsecure%2Freceptor&ticket=ST-7-pikBpPssSV4HXjDhA2fB-cas&service=https%3A%2F%2Fposeidon.xteconline.com%2Fdesktop%2Fj_spring_cas_security_check
  • via Google Groups by Lynch maniac, 14 hours ago
    Server returned HTTP response code: 500 for URL: https://localhost:8443/cas/serviceValidate?ticket=ST-1-YZaBWIkNHt5qu5hBI03V-example.fr&service=https%3A%2F%2Flocalhost%3A8443%2FmywebappOrig%2Fprotected%2F
  • via Google Groups by MrCrowley, 14 hours ago
    Server returned HTTP response code: 407 for URL: http://theserver:9080/CAS/serviceValidate?service=http%3A%2F%2Ftheserver%3A9080%2FmyApplication%2Fj_spring_cas_security_check&ticket=ST-2-LY6mdKFA4RODJUo0WLH2-cas&
  • Stack trace

    • java.io.IOException: Server returned HTTP response code: 500 for URL: https://poseidon.xteconline.com/cas-server-webapp-3.3.3/serviceValidate?pgtUrl=https%3A%2F%2Fposeidon.xteconline.com%2Fdesktop%2Fsecure%2Freceptor&ticket=ST-7-pikBpPssSV4HXjDhA2fB-cas&service=https%3A%2F%2Fposeidon.xteconline.com%2Fdesktop%2Fj_spring_cas_security_check at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.java:35) at org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:178) at org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticateNow(CasAuthenticationProvider.java:131) at org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticate(CasAuthenticationProvider.java:117) at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:120) at org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48) at org.springframework.security.cas.web.CasAuthenticationFilter.attemptAuthentication(CasAuthenticationFilter.java:104) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:109) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at com.google.inject.servlet.DefaultFilterPipeline.dispatch(DefaultFilterPipeline.java:43) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.tcInvoke(SessionValve55.java:63) at org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.invoke(SessionValve55.java:50) at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source) at org.apache.coyote.http11.Http11NioProcessor.process(Unknown Source) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Unknown Source) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    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

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    35 times, 11 months ago
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    70 more bugmates