The remote authentication server is not available. Please try again later.

dylan_millikin July 8, 2014

I'm getting this error when trying to log into stash. Stash is configured to use the Jira Directory. The only thing that changed since it last worked is the IP for the VM both Stash and Jira are running on.

It seems to be a cache issue and everything I find online says to remove and recreate the directory. My problem is that I have absolutely no access to stash (I'm logged out). I get the same error when logging into the account on the local stash directory ( id : 32769 )

Does anyone know how I could proceed?

Here's the stash-atlassian tail logs:

2014-07-08 17:42:23,424 ERROR [scheduler_Worker-1] c.a.c.d.DbCachingDirectoryPoller Error occurred while refreshing the cache for directory [ 229377 ].

com.atlassian.crowd.exception.OperationFailedException: java.net.SocketException: Connection reset

at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:353) ~[crowd-integration-client-rest-2.7.2-rc2.jar:na]

at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getNewEvents(RestCrowdClient.java:1086) ~[crowd-integration-client-rest-2.7.2-rc2.jar:na]

at com.atlassian.crowd.directory.RemoteCrowdDirectory.getNewEvents(RemoteCrowdDirectory.java:785) ~[crowd-remote-2.7.2-rc2.jar:na]

at com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseChanges(EventTokenChangedCacheRefresher.java:102) ~[crowd-ldap-2.7.2-rc2.jar:na]

at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:993) ~[crowd-core-2.7.2-rc2.jar:na]

at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:75) ~[crowd-core-2.7.2-rc2.jar:na]

at com.sun.proxy.$Proxy121.synchronise(Unknown Source) ~[na:na]

at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50) ~[crowd-core-2.7.2-rc2.jar:na]

at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobBean.executeInternal(DirectoryPollerJobBean.java:29) [crowd-core-2.7.2-rc2.jar:na]

at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:111) [spring-context-support-4.0.0.RELEASE.jar:4.0.0.RELEASE]

at org.quartz.core.JobRunShell.run(JobRunShell.java:223) [quartz-1.8.6.jar:na]

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) [quartz-1.8.6.jar:na]

... 11 frames trimmed

Caused by: java.net.SocketException: Connection reset

at java.net.SocketInputStream.read(SocketInputStream.java:196) ~[na:1.7.0_51]

at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_51]

at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[na:1.7.0_51]

at java.io.BufferedInputStream.read(BufferedInputStream.java:254) ~[na:1.7.0_51]

at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) ~[commons-httpclient-3.1.jar:na]

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) ~[commons-httpclient-3.1.jar:na]

at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:452) ~[crowd-integration-client-rest-2.7.2-rc2.jar:na]

at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:341) ~[crowd-integration-client-rest-2.7.2-rc2.jar:na]

... 12 common frames omitted

1 answer

1 accepted

0 votes
Answer accepted
dylan_millikin July 9, 2014

This was related to a dns issue. Had it resolved once the server could properly resolve domains

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events