cancel
Showing results for 
Search instead for 
Did you mean: 

WQS unable to connect to repository: Unauthorized

mzietlow
Champ in-the-making
Champ in-the-making

Hello!
I'm trying to get an upgrade going from my ldap auth enabled Alfresco5.0.d  too 5.2 then too 7.0 as the guide sugests.
When I upgrade to 5.2 I See the following warnings in my ~tomcat/logs/catalina.out

----------------

14:50:01,299 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:03,317 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:05,335 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:07,354 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:09,373 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:11,392 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:13,414 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:15,435 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:17,455 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized
14:50:19,476 WARN [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Unauthorized

-------------

After some troubleshooting I was able to clear the warning by changing the Alfresco "admin" password to "admin"
Unfortunatly when I go into user settings and change the password to anything other than admin, the WQS warnings return.      This stumps me, where is it getting that password from?!

1 ACCEPTED ANSWER

mzietlow
Champ in-the-making
Champ in-the-making

I figured it out.

{{ alfresco_home }}/tomcat/shared/classes/alfresco/extension/wqsapi-custom.properties

wcmqs.api.alfresco=http://127.0.0.1:8080/alfresco
#wcmqs.api.user=admin
wcmqs.api.password=admin

The bad part is I need to enter admin's password here "CLEAR TEXT"!
I tried entering in admin's md4 hash but no go.  =(

plain text passwords are unacceptable so I need to figure out a way to mask it... =/

View answer in original post

1 REPLY 1

mzietlow
Champ in-the-making
Champ in-the-making

I figured it out.

{{ alfresco_home }}/tomcat/shared/classes/alfresco/extension/wqsapi-custom.properties

wcmqs.api.alfresco=http://127.0.0.1:8080/alfresco
#wcmqs.api.user=admin
wcmqs.api.password=admin

The bad part is I need to enter admin's password here "CLEAR TEXT"!
I tried entering in admin's md4 hash but no go.  =(

plain text passwords are unacceptable so I need to figure out a way to mask it... =/