Stash - The remote authentication server is not available

We migrated our JIRA application from a linux server to a windows server. Then I installed Stash on the windows server. I copied the stash-home folder from the Linux server to the Windows server. I can view the projects on stash but I need to set up the URL and when I try to login as admin I get the message: The remote authentication server is not available. Please try again later.

I tried to upload the log file but the upload didn't work. Here is a section of the log file.

2013-11-05 14:15:43,090 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger Starting Stash 2.8.2 (75809c6 built on Mon Oct 14 13:04:18 EDT 2013)
2013-11-05 14:15:43,090 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18
2013-11-05 14:15:45,871 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\stash-home for 2024@ITCLEJIRA01
2013-11-05 14:16:19,645 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:51424
2013-11-05 14:16:28,183 WARN [ThreadPoolAsyncTaskExecutor::Thread 2] o.s.beans.TypeConverterDelegate PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2013-11-05 14:16:39,981 INFO [ThreadPoolAsyncTaskExecutor::Thread 4] c.a.s.internal.ssh.server.SshServer Starting SSH server on port 7999...
2013-11-05 14:16:40,200 INFO [ThreadPoolAsyncTaskExecutor::Thread 4] c.a.s.internal.ssh.server.SshServer Started SSH server successfully.
2013-11-05 14:16:46,114 INFO [localhost-startStop-1] c.a.s.internal.scm.PluginScmService Stash is using C:\Program Files (x86)\Git\cmd\git.exe version 1.8.4
2013-11-05 14:16:54,353 ERROR [scheduler_Worker-4] c.a.c.d.DbCachingDirectoryPoller Error occurred while refreshing the cache for directory [ 229377 ].
com.atlassian.crowd.exception.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403) Encountered a "403 - Forbidden" error while loading this page. Go to JIRA home
at com.atlassian.crowd.directory.RemoteCrowdDirectory.searchUsers(RemoteCrowdDirectory.java:292) ~[crowd-remote-2.6.6.jar:na]
at com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher.findAllRemoteUsers(RemoteDirectoryCacheRefresher.java:43) ~[crowd-ldap-2.6.6.jar:na]
at com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher.synchroniseAllUsers(RemoteDirectoryCacheRefresher.java:62) ~[crowd-ldap-2.6.6.jar:na]
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:78) ~[crowd-ldap-2.6.6.jar:na]
at com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseAll(EventTokenChangedCacheRefresher.java:71) ~[crowd-ldap-2.6.6.jar:na]
at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:644) ~[crowd-core-2.6.6.jar:na]
at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:63) ~[crowd-core-2.6.6.jar:na]
at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50) ~[crowd-core-2.6.6.jar:na]
at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobBean.executeInternal(DirectoryPollerJobBean.java:29) [crowd-core-2.6.6.jar:na]
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113) [spring-context-support-3.2.4.RELEASE.jar:3.2.4.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]
Caused by: com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403) Encountered a "403 - Forbidden" error while loading this page. Go to JIRA home
at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:490) ~[crowd-integration-client-rest-2.6.6.jar:na]
at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:344) ~[crowd-integration-client-rest-2.6.6.jar:na]
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.searchUsers(RestCrowdClient.java:495) ~[crowd-integration-client-rest-2.6.6.jar:na]
at com.atlassian.crowd.directory.RemoteCrowdDirectory.searchUsers(RemoteCrowdDirectory.java:284) ~[crowd-remote-2.6.6.jar:na]
... 11 common frames omitted
2013-11-05 14:23:13,571 ERROR [http-bio-7990-exec-1] 863x20x1 c38uti 0:0:0:0:0:0:0:1 "POST /j_stash_security_check HTTP/1.1" c.a.c.m.a.ApplicationServiceGeneric Directory 'JIRA User Directory' is not functional during authentication of 'jburlinghaus'. Skipped.
2013-11-05 14:23:13,587 WARN [http-bio-7990-exec-1] 863x20x1 c38uti 0:0:0:0:0:0:0:1 "POST /j_stash_security_check HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider Could not authenticate jburlinghaus; authentication by com.atlassian.stash.stash-authentication:crowdHttpAuthHandler failed
com.atlassian.stash.user.AuthenticationSystemException: The remote authentication server is not available. Please try again later.

1 answer

Hi Jeff,

Hopefully someone can help you fix that problem. In the meantime I would suggest raising a support ticket with your logs attached so we can assist you there as well.

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,105 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you