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 Jenkins JIRA by voorth, 1 year ago
Server returned HTTP response code: 502 for URL: http://jira/
via Jenkins JIRA by voorth, 1 year ago
Server returned HTTP response code: 502 for URL: http://jira/
via Google Groups by jnl1, 2 years ago
Server returned HTTP response code: 401 for URL: http://.../services/ReportingService?wsdl
via YouTrack by Unknown author, 2 years ago
Server returned HTTP response code: 502 for URL: http://www.intellij.net/websupport/error/
via Coderanch by rajendhar gangoni, 1 year ago
Server returned HTTP response code: 403 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
via Stack Overflow by Paolo
, 2 years ago
Server returned HTTP response code: 403 for URL: https://hostname/api/
java.io.IOException: Server returned HTTP response code: 502 for URL: http://jira/	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)	at hudson.util.FormValidation$URLCheck.open(FormValidation.java:369)	at hudson.plugins.jira.JiraProjectProperty$DescriptorImpl$1.check(JiraProjectProperty.java:136)	at hudson.plugins.jira.JiraProjectProperty$DescriptorImpl.doUrlCheck(JiraProjectProperty.java:127)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)	at org.kohsuke.stapler.Stapler.service(Stapler.java:123)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)	at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)	at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)	at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)	at java.lang.Thread.run(Thread.java:619)