The remote server may be unavailable or your authentication details have not been recognized

¿Problemas al arrancar el Share de Alfresco recién instalado? Cuando te salga el aviso “the remote server may be unavailable or your authentication details have not been recognized” comprueba los end-points:

Copia el archivo share-config.xml de $ALF_HOME\tomcat\webapps\share\WEB-INF\classes\alfresco y pégalo en la siguiente ruta: $ALF_HOME\tomcat\shared\classes\alfresco\web-extension\ y renómbralo así: share-config-custom.xml

Descomenta los dos bloques que comienzan por (línea 170 y 191)

El archivo debe quedar con lo siguiente descomentado:

<!-- 
        NTLM authentication config for Share
        NOTE: you will also need to enable the NTLM authentication filter in Share web.xml
              change localhost:8080 below to appropriate alfresco server location if required
   -->
   
   <config evaluator="string-compare" condition="Remote">
      <remote>
         <connector>
            <id>alfrescoCookie</id>
            <name>Alfresco Connector</name>
            <description>Connects to an Alfresco instance using cookie-based authentication</description>
            <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>
         </connector>
         
         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfrescoCookie</connector-id>
            <endpoint-url>http://localhost/alfresco/wcs</endpoint-url>
            <identity>user</identity>
            <external-auth>true</external-auth>
         </endpoint>
      </remote>
   </config>
  
   <config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>


         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>


         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>

De esta forma, si volvemos a arrancar, ya no aparecerá el error y todo irá correctamente :-)

Espero que a más de uno le quite quebraderos de cabeza.

Un pensamiento en “The remote server may be unavailable or your authentication details have not been recognized

  1. Altmas5

    I found this in alfresco documentation:
    “To make sure that other users can access the machine where Alfresco is installed, you need to define and create a publicly addressable name.”
    I think this is related.

    Your solution did’nt work for me using Debian 6 and alfresco-community-4.0.d-installer-linux-x64.bin installer

    Responder

Deja un comentario