cancel
Showing results for 
Search instead for 
Did you mean: 

Failed To Authenticate

carnold
Champ on-the-rise
Champ on-the-rise
Latest mobile app on iphone 8.3 ios. When i try to configure the app for our alfresco community server, i get "failed to authenticate. Contact your admin…". Our alfresco is reacheable at https://share.domain.tld and https://alfresco.domain.tld which goes through our apache reverse proxy fine. On the local LAN, alfresco is reachable at https://ip:8443/share and https://ip:8443/alfresco. I tried to configure the app while the phone was on our wireless and used the http://ip:8443 but got the same error. I also read where you had to add /cmis to the service line in the app, did that and tried all ways to access our server and got the same error. Is there a bug in the app or am i doing something wrong?

After a little more searching i found:
https://forums.alfresco.com/comment/149481#comment-149481
MikeH says you need to put in the proxyName and proxyPort which i did but still get the same error. We are using mod_jk and entered the proxyName and proxyPort to the 8009 connector then restarted, still get the same error. Surely we are not the only ones with this setup? We are using a godaddy cert, not self-signed
5 REPLIES 5

carnold
Champ on-the-rise
Champ on-the-rise
So, i can also get to http://domain.tld:8080/alfresco from the internet but not from the app. So this IS NOT a cert issue. Here are my app entries:

username: username
password: password
Host: domain.tld
HTTPS: off
port: 8080
service document: /alfresco

With those settings i get failed to authenticate….

mikeh
Star Contributor
Star Contributor
There shouldn't be any problems connecting to 5.0.c; especially directly to a vanilla Tomcat port. When you updated the connector with the proxy settings, was that a new connector rather than the port 8080 one?

Couple of things to try: see if you can connect with the CMIS Workbench test client (https://chemistry.apache.org/java/download.html). Another option would be to download the CMIS root document from http://domain.tld:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom and check the absolute URLs in the response body match the request URL.

Thanks,
Mike

ccandreva
Champ in-the-making
Champ in-the-making
I'm having the same problem as the OP, with the Android app. When I go to the SMIS root document, I'm presented with a login box. My normal login does not work, however I see the following in the alfresco.log file:

[http-apr-8080-exec-4] Client ccandreva using NTLMv2 logon, not valid with passthru authentication

What's interesting is that it's using the host name of my computer (Debian 8 desktop).  This log entry doesn't show up when I try the Android app.

carnold
Champ on-the-rise
Champ on-the-rise
I can not get the latest alfresco mobile to connect at all! iOS version is 8.3. I even rolled back to alfresco mobile 2.0.2 but that does not connect either. Our alfresco sits behind an apache reverse proxy. Port 8080 is open and alfresco mobile will not connect to that either. I have been on the alfresco irc and digcat told me something about needing to have full cert? We do not use self-signed cert but a godaddy cert. Here is the URL in http://domain.tld:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom - https://web/-default-/public/cmis/versions/1.0/atom/types
Web is the actual servername. If i paste that into my browser:
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404

web
Apache/2.4.10 (Linux/SUSE)

With the latest alfresco mobile with diagnostics - it fails at connecting repository….. I will be happy to supply any files from the server and anything i can supply from the iphone

mikeh
Star Contributor
Star Contributor
The "object not found" error is clearly the blocker issue here. This might be an obvious question, but has your repository started correctly? Are there any obvious errors in the alfresco.log file?

Thanks,
Mike