Hi, I have installed Alfresco server 4.2.e. When connecting from mobile client v. 2.0.1 (iOS) everything is OK. But with mobile client v. 2.0.2 got authentication problem. How could I fix it? Thanx!
Sorry to hear that you're having connection issues.
Using a REST client, could you also please try the following URLs: hostort/alfresco/service/api/server and also hostort/alfresco/cmisatom and post the response you receive.
I am facing the same issue. I tried the URLs listed above but they didn't work as well. This issue is occuring for Alfresco Servers that have Active Directory integration.
When you say the URLs don't work do you mean you get a non 200 response?
If you are using Active Directory do you have any URL rewrite rules setup for your environment? Could it be the case that the URLs above are not being handled correctly or are not included in your rules?
As you've seen the app will not work without 200 responses for these URLs, it's how the app now discovers what version the repo is and what URLs to subsequently use to communicate with the repository.
The XML file is a good start at least it means the CMIS API endpoint is addressable. If you load the XML file into any text editor, do the URLs match that of the request? For example, if your server is at alfresco.boston.org:8080/alfresco/cmisatom, do the absolute URLs inside the XML file match those exactly?
The cmisatom.xml is the reponse to the CMIS discovery URL (/alfresco/cmisatom) it's essentially the entry point to the repository. It provides the URLs the app should use to retrieve folder and document information. The URLs this response returns should match your public facing URLs for your environment i.e. the one configured in the app. If there is a mismatch (normally due to incorrect rewrite rules or missing proxy configuration) the app will not be able to connect.
If this all looks correct then I'm not sure why you're having issues. Would you be able to provide access to your system so I can try with a debugger attached?
I found in .XML file the URLs which I use for connecting from mobile client. Looks like there's no mismatches. By the way, when connecting from mobile client, I use 1) proto - https 2) server - for example, alfresco.boston.org 3) - default "suffix" - /alfresco. In cmisatom.xml I found https://alfresco.boston.org/alfresco/cmisatom. Maybe I should manually write cmisatom after /aflresco when set up mobile client?