WQS unable to connect to repository: Unauthorized

cancel
Showing results for 
Search instead for 
Did you mean: 
mzietlow
Member II

WQS unable to connect to repository: Unauthorized

Jump to solution

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 Solution

Accepted Solutions
mzietlow
Member II

Re: WQS unable to connect to repository: Unauthorized

Jump to solution

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 solution in original post

1 Reply
mzietlow
Member II

Re: WQS unable to connect to repository: Unauthorized

Jump to solution

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... =/