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 your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

  2. ,
    Expert tip

    Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Solutions on the web

via Sonatype JIRA by Rich Seddon, 2 years ago
ldap.sonatype.com:636 [Root exception is java.net.ConnectException: Connection timed out: connect]
via Sonatype JIRA by Rich Seddon, 1 year ago
ldap.sonatype.com:636 [Root exception is java.net.ConnectException: Connection timed out: connect]
via directory-users by Tanja Ertl, 2 years ago
server:port [Root exception is java.net.ConnectException: Connection refused]
via Oracle Community by 843811, 2 years ago
107.108.81.22:636 [Root exception is java.net.SocketException: Default SSL context init failed: Invalid keystore format]
via Oracle Community by 843811, 2 years ago
107.108.81.22:636 [Root exception is java.net.SocketException: Default SSL context init failed: Invalid keystore format]
java.net.ConnectException: Connection timed out: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(Unknown Source)	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.SocksSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)	at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)	at com.sun.jndi.ldap.Connection.(Unknown Source)	at com.sun.jndi.ldap.LdapClient.(Unknown Source)	at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)	at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)	at com.sun.jndi.ldap.LdapCtx.(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)	at javax.naming.InitialContext.init(Unknown Source)	at javax.naming.ldap.InitialLdapContext.(Unknown Source)	at com.sonatype.security.ldap.realms.PlexusLdapContextFactory.itm(Unknown Source)	at com.sonatype.security.ldap.realms.PlexusLdapContextFactory.getSystemLdapContext(Unknown Source)	at com.sonatype.security.ldap.realms.ConfigurableLdapAuthenticatingRealm.queryForAuthenticationInfo(Unknown Source)	at codeguard.nexusldaprealmplugin.apnpz.queryForAuthenticationInfo(Unknown Source)	at org.jsecurity.realm.ldap.AbstractLdapRealm.doGetAuthenticationInfo(AbstractLdapRealm.java:186)	at org.jsecurity.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:168)	at org.jsecurity.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:226)	at org.jsecurity.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:278)	at org.jsecurity.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:141)	at org.jsecurity.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:171)	at org.jsecurity.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:312)	at org.jsecurity.subject.DelegatingSubject.login(DelegatingSubject.java:237)	at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.executeAnonymousLogin(NexusHttpAuthenticationFilter.java:213)	at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:144)	at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145)	at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175)	at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129)	at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)	at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)	at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)	at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)	at org.mortbay.jetty.Server.handle(Server.java:326)	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)