8000 Search Services 1.2 throw error 403 with ACS 7.2 · Issue #635 · Alfresco/alfresco-sdk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Search Services 1.2 throw error 403 with ACS 7.2 #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrea-ligios opened this issue Mar 25, 2022 · 2 comments
Closed

Search Services 1.2 throw error 403 with ACS 7.2 #635

andrea-ligios opened this issue Mar 25, 2022 · 2 comments

Comments

@andrea-ligios
Copy link
Member

Current Behavior

The Search Services 1.2 are too old to work properly with ACS 7.2, and are not configured to use Secure Communications.

Hence, the following error is thrown:

ERROR (searcherExecutor-21-thread-1-processing-x:alfresco) [   x:alfresco] o.a.s.t.AbstractTracker Model tracking failed for core: archive
 org.alfresco.error.AlfrescoRuntimeException: 02220000 archive GetModelsDiff return status is 403

Solution

To fix the problem, let's edit the docker/docker-compose.yml as follows.

  1. Add the following Java options to ACS:
-Dsolr.secureComms=secret
-Dsolr.sharedSecret=secret

Example:
image

  1. Change the Alfresco Search Services version from 1.2.0 to 2.0.3, and add the following environment variables:
ALFRESCO_SECURE_COMMS: "secret"
JAVA_TOOL_OPTIONS: "-Dalfresco.secureComms.secret=secret"

Example:
image

@SanjayBandhniya
Copy link

It works. thanks

@eagleeye1984
Copy link

Nice, but I had to use SOLR_OPTS instead of JAVA_TOOL_OPTIONS.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0