11-11-2020 12:41 PM
Hello,
I deployed an Alfresco Community 6.2.0-ga in a docker on our server, I am trying to access the "Admin Tools" from Share, the operation ends with timeout (one line in nginx access log), share access log follows:
http request
Request URL: http://<server123>:8080/share/page/console/admin-console/application Referrer Policy: strict-origin-when-cross-origin Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Encoding: gzip, deflate Accept-Language: cs,en-US;q=0.9,en;q=0.8 Connection: keep-alive Cookie: alfUsername3=admin; JSESSIONID=3C7746104E4375C93BA928F22F902B0C; alfLogin=1605106902; Alfresco-CSRFToken=oRd9YF0vId%2fbVNdjd6Q7oaSBE0GKoYLcERiOOSwrQrQ%3d; _alfTest=_alfTest Host: <server123> Referer: http://<server123>:8080/share/page/user/admin/dashboard Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
share.log
172.18.0.12 - - [11/Nov/2020:17:17:48 +0000] "GET /share/page/console/admin-console/application HTTP/1.0" 200 55897 172.18.0.12 - - [11/Nov/2020:17:18:07 +0000] "GET /share/page/console/admin-console/application HTTP/1.0" 200 55633 172.18.0.12 - - [11/Nov/2020:17:18:26 +0000] "GET /share/page/console/admin-console/application HTTP/1.0" 200 55633
Don't you know how to investigate it further?
11-11-2020 03:16 PM
Try disabling the CSRF, add the following in share config and see if it works for you:
<config evaluator="string-compare" condition="CSRFPolicy" replace="true"> <filter/> </config>
Or, try adding this to the JAVA_OPTS in your existing docker-compose.
-Dcsrf.filter.enabled=false
I just tried launching the containers with latest docker-compose.yml available here:
https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
I do not see any issues launching the admin tools though. Try the latest docker-compose.yml given above to launch containers.
Also, share the docker-compose.yml "if" you are using currently
11-11-2020 03:16 PM
Try disabling the CSRF, add the following in share config and see if it works for you:
<config evaluator="string-compare" condition="CSRFPolicy" replace="true"> <filter/> </config>
Or, try adding this to the JAVA_OPTS in your existing docker-compose.
-Dcsrf.filter.enabled=false
I just tried launching the containers with latest docker-compose.yml available here:
https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
I do not see any issues launching the admin tools though. Try the latest docker-compose.yml given above to launch containers.
Also, share the docker-compose.yml "if" you are using currently
11-12-2020 04:05 AM
Thank you for the answer. I have two environments, one "testing" works great, the other "internal" works also great except "Admin Tools". At the beginning there were some CSFR filter errors in access logs, I deactivated CSFR in the configuration file and also in mentioned XML file. Based on the latest information the server and "Admin Tools" can be accessed from internal address. I am working throught Cisco VPN, there is some problem in the environment and some proxy server - so commit and run 🙂
11-12-2020 10:24 AM
@miroslav Glad to hear that it is now working. Good luck
Explore our Alfresco products with the links below. Use labels to filter content by product module.