Advertisement
Guest User

Untitled

a guest
Oct 11th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.11 KB | None | 0 0
  1.  
  2. CMIS 1.1 AtomPub Service Document
  3. https://mydomain/alfresco/api/-default-/public/cmis/versions/1.1/atom
  4.  
  5. ===============================================
  6. Browser
  7. ===============================================
  8.  
  9. From the browser, when clicking on 'CMIS 1.1 AtomPub Service Document'
  10. under https://mydomain/alfresco/
  11.  
  12. https://mydomain is requesting your username and password. The site says: “Alfresco -default- tenant”
  13. Secure Connection Failed (although i have logged in to /alfresco using sso)
  14.  
  15.  
  16.  
  17. ===============================================
  18. cmissync client
  19. ===============================================
  20.  
  21. Unauthorized
  22. Sorry, CmisSync can not find a CMIS server at this address.
  23. Please ask your server administrator for the CMIS endpoint URL.
  24. If you are sure about the address, open it in a browser and post
  25. the resulting XML on the cmissync forum.
  26.  
  27.  
  28. ------------------------------------------------
  29. AppData\Roaming\cmissync\debug_log.txt
  30. ------------------------------------------------
  31.  
  32. 2017-10-11 12:24:50,967 [1] INFO CmisSync.Program [(null)] - Starting. Version: 2.6.5.0
  33. 2017-10-11 12:24:50,980 [1] INFO CmisSync.Lib.FolderLock [(null)] - Creating folder lock file: D:\Users\mtsiak\CmisSync
  34. 2017-10-11 12:24:50,992 [1] DEBUG CmisSync.SetupController [(null)] - SetupController - Entering constructor.
  35. 2017-10-11 12:24:50,992 [1] DEBUG CmisSync.SetupController [(null)] - SetupController - Exiting constructor.
  36. 2017-10-11 12:24:51,036 [1] DEBUG CmisSync.Setup [(null)] - Entering constructor.
  37. 2017-10-11 12:24:51,036 [1] DEBUG CmisSync.Setup [(null)] - Exiting constructor.
  38. 2017-10-11 12:25:00,557 [1] DEBUG CmisSync.Setup [(null)] - Entering ChangePageEvent.
  39. 2017-10-11 12:25:00,585 [1] DEBUG CmisSync.Setup [(null)] - Exiting ChangePageEvent.
  40. 2017-10-11 12:25:00,585 [1] DEBUG CmisSync.Setup [(null)] - Entering ShowWindowEvent.
  41. 2017-10-11 12:25:00,614 [1] DEBUG CmisSync.Setup [(null)] - Exiting ShowWindowEvent.
  42. 2017-10-11 12:25:47,146 [4] ERROR CmisSync.Lib.Cmis.CmisUtils [(null)] - No CMIS server at this address, or no connection.
  43. DotCMIS.Exceptions.CmisRuntimeException: Unauthorized
  44. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Read(UrlBuilder url)
  45. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.GetRepositoriesInternal(String repositoryId)
  46. at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfos(IExtensionsData extension)
  47. at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
  48. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
  49. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)
  50. at CmisSync.Auth.Auth.GetCmisRepositories(Uri url, String user, String obfuscatedPassword)
  51. at CmisSync.Lib.Cmis.CmisUtils.GetRepositories(ServerCredentials credentials)
  52. 2017-10-11 12:25:47,150 [4] INFO CmisSync.Lib.Cmis.CmisUtils [(null)] - Sync | Trying with https://mydomain/alfresco/api/-default-/public/cmis/versions/1.1/atom
  53. 2017-10-11 12:25:53,071 [4] ERROR CmisSync.Lib.Cmis.CmisUtils [(null)] - No CMIS server at this address, or no connection.
  54. DotCMIS.Exceptions.CmisRuntimeException: Unauthorized
  55. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Read(UrlBuilder url)
  56. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.GetRepositoriesInternal(String repositoryId)
  57. at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfos(IExtensionsData extension)
  58. at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
  59. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
  60. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)
  61. at CmisSync.Auth.Auth.GetCmisRepositories(Uri url, String user, String obfuscatedPassword)
  62. at CmisSync.Lib.Cmis.CmisUtils.GetRepositories(ServerCredentials credentials)
  63. 2017-10-11 12:25:53,072 [4] DEBUG CmisSync.Lib.Cmis.CmisUtils [(null)] - Unauthorized
  64. 2017-10-11 12:25:53,072 [4] INFO CmisSync.Lib.Cmis.CmisUtils [(null)] - Sync | Trying with https://mydomain/alfresco/api/-default-/public/cmis/versions/1.0/atom
  65. 2017-10-11 12:25:53,466 [4] ERROR CmisSync.Lib.Cmis.CmisUtils [(null)] - No CMIS server at this address, or no connection.
  66. DotCMIS.Exceptions.CmisConnectionException: Parsing exception! ---> System.Xml.XmlException: '/' is an unexpected token. The expected token is '='. Line 118, position 125.
  67. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  68. at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
  69. at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
  70. at System.Xml.XmlTextReaderImpl.ParseAttributes()
  71. at System.Xml.XmlTextReaderImpl.ParseElement()
  72. at System.Xml.XmlTextReaderImpl.ParseElementContent()
  73. at System.Xml.XmlTextReaderImpl.Read()
  74. at DotCMIS.Binding.AtomPub.AtomPubParser.Parse()
  75. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Parse[T](Stream stream)
  76. --- End of inner exception stack trace ---
  77. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Parse[T](Stream stream)
  78. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.GetRepositoriesInternal(String repositoryId)
  79. at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfos(IExtensionsData extension)
  80. at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
  81. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
  82. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)
  83. at CmisSync.Auth.Auth.GetCmisRepositories(Uri url, String user, String obfuscatedPassword)
  84. at CmisSync.Lib.Cmis.CmisUtils.GetRepositories(ServerCredentials credentials)
  85. 2017-10-11 12:25:53,467 [4] DEBUG CmisSync.Lib.Cmis.CmisUtils [(null)] - Parsing exception!
  86. 2017-10-11 12:25:53,467 [4] INFO CmisSync.Lib.Cmis.CmisUtils [(null)] - Sync | Trying with https://mydomain/alfresco/cmisatom
  87. 2017-10-11 12:25:53,513 [4] ERROR CmisSync.Lib.Cmis.CmisUtils [(null)] - No CMIS server at this address, or no connection.
  88. DotCMIS.Exceptions.CmisConnectionException: Parsing exception! ---> System.Xml.XmlException: '/' is an unexpected token. The expected token is '='. Line 118, position 125.
  89. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  90. at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
  91. at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
  92. at System.Xml.XmlTextReaderImpl.ParseAttributes()
  93. at System.Xml.XmlTextReaderImpl.ParseElement()
  94. at System.Xml.XmlTextReaderImpl.ParseElementContent()
  95. at System.Xml.XmlTextReaderImpl.Read()
  96. at DotCMIS.Binding.AtomPub.AtomPubParser.Parse()
  97. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Parse[T](Stream stream)
  98. --- End of inner exception stack trace ---
  99. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Parse[T](Stream stream)
  100. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.GetRepositoriesInternal(String repositoryId)
  101. at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfos(IExtensionsData extension)
  102. at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
  103. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
  104. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)
  105. at CmisSync.Auth.Auth.GetCmisRepositories(Uri url, String user, String obfuscatedPassword)
  106. at CmisSync.Lib.Cmis.CmisUtils.GetRepositories(ServerCredentials credentials)
  107. 2017-10-11 12:25:53,513 [4] DEBUG CmisSync.Lib.Cmis.CmisUtils [(null)] - Parsing exception!
  108. 2017-10-11 12:25:53,513 [4] INFO CmisSync.Lib.Cmis.CmisUtils [(null)] - Sync | Trying with https://mydomain/alfresco/service/cmis
  109. 2017-10-11 12:25:53,556 [4] ERROR CmisSync.Lib.Cmis.CmisUtils [(null)] - No CMIS server at this address, or no connection.
  110. DotCMIS.Exceptions.CmisConnectionException: Parsing exception! ---> System.Xml.XmlException: '/' is an unexpected token. The expected token is '='. Line 118, position 125.
  111. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  112. at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
  113. at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
  114. at System.Xml.XmlTextReaderImpl.ParseAttributes()
  115. at System.Xml.XmlTextReaderImpl.ParseElement()
  116. at System.Xml.XmlTextReaderImpl.ParseElementContent()
  117. at System.Xml.XmlTextReaderImpl.Read()
  118. at DotCMIS.Binding.AtomPub.AtomPubParser.Parse()
  119. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Parse[T](Stream stream)
  120. --- End of inner exception stack trace ---
  121. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Parse[T](Stream stream)
  122. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.GetRepositoriesInternal(String repositoryId)
  123. at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfos(IExtensionsData extension)
  124. at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
  125. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
  126. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)
  127. at CmisSync.Auth.Auth.GetCmisRepositories(Uri url, String user, String obfuscatedPassword)
  128. at CmisSync.Lib.Cmis.CmisUtils.GetRepositories(ServerCredentials credentials)
  129. 2017-10-11 12:25:53,556 [4] DEBUG CmisSync.Lib.Cmis.CmisUtils [(null)] - Parsing exception!
  130. 2017-10-11 12:25:53,557 [4] INFO CmisSync.Lib.Cmis.CmisUtils [(null)] - Sync | Trying with https://mydomain/cmis/atom11
  131. 2017-10-11 12:25:53,563 [4] ERROR CmisSync.Lib.Cmis.CmisUtils [(null)] - No CMIS server at this address, or no connection.
  132. DotCMIS.Exceptions.CmisObjectNotFoundException: Not Found
  133. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.Read(UrlBuilder url)
  134. at DotCMIS.Binding.AtomPub.AbstractAtomPubService.GetRepositoriesInternal(String repositoryId)
  135. at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfos(IExtensionsData extension)
  136. at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
  137. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
  138. at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)
  139. at CmisSync.Auth.Auth.GetCmisRepositories(Uri url, String user, String obfuscatedPassword)
  140. at CmisSync.Lib.Cmis.CmisUtils.GetRepositories(ServerCredentials credentials)
  141.  
  142.  
  143. ----
  144. https://docs.auth.gr is requesting your username and password. The site says: “Alfresco -default- tenant”
  145. https://docs.auth.gr/alfresco/api/-default-/public/cmis/versions/1.1/atom
  146.  
  147.  
  148. ===============================================
  149.  
  150. ------------------------------------------------
  151. /etc/apache2/sites-enabled/mydomain-ssl.conf
  152. ------------------------------------------------
  153.  
  154. <Location /alfresco/api/-default-/public/cmis/versions/1.1/atom>
  155. Satisfy Any
  156. Allow from all
  157. AuthType None
  158. Require all granted
  159. </Location>
  160.  
  161. <Location /alfresco/cmisatom>
  162. Satisfy Any
  163. Allow from all
  164. AuthType None
  165. Require all granted
  166. </Location>
  167.  
  168. ------------------------------------------------
  169. alfresco-global.properties
  170. ------------------------------------------------
  171. authentication.chain=external1:external,ldap1:ldap,alfrescoNtlm1:alfrescoNtlm
  172. external.authentication.proxyUserName=
  173. external.authentication.enabled=true
  174.  
  175. opencmis.context.override=true
  176. opencmis.context.value=
  177. opencmis.servletpath.override=true
  178. opencmis.servletpath.value=
  179. opencmis.server.override=true
  180. opencmis.server.value=https://mydomain
  181. ===============================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement