cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Mobile Android gives invalid credentials error

ccandreva
Champ in-the-making
Champ in-the-making
I'm having a similar problem to others in that the Alfresco Mobile client gives an "invalid credentials" error connecting to Alfresco Community 5.0 d . However running the suggested tests I've run into a strange error.

When I go to  myserver/alfresco/cmisatom   I seem to get two different http auth requests. The first one always fails. However, if I cancel it, I get a second slightly different one (the dialog box is wider), and on this one I can authenticate.   I'm guesing this has something to do with why the mobile app gives authentication errors.

Any clues where I can look for the problem ? My server is configured to authenticate from our active directory server via passthrough.
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
When you say you get two different auth requests, could you clarify what the content of those is please? Also, when you say "go to myserver/alfresco/cmisatom" is that from a desktop browser?

Thanks,
Mike

mathias_lin
Star Contributor
Star Contributor
What exactly is the authentication chain in your alfresco-global.properties? Passthru only or also alfrescoNtlm as a fallback? I suggest setting the log level to debug in log4j.properties (\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\log4j.properties) for all the authentication methods:


# NTLM servlet filters
log4j.logger.org.alfresco.web.app.servlet.NTLMAuthenticationFilter=debug
log4j.logger.org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter=debug


Then restart and check what's in the alfresco.log.
Are you connecting through http or https, and is it via proxy? Best to put the details of your Alfresco connection that you have set in your Android app.