Hello,
i have problems getting a CSRF token on a fresh installed AEM 6.4.0 author instance on ubuntu linux.
The setup is:
Ubuntu 18.04.2 LTS
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
I install the author with the command
java -jar cq5-author-p4502.jar -r author (i tried with and without nosamplecontent, it doesn't matter)
and after startup everything works well.
If i stop the installation and restart it via the command
/crx-quickstart/bin$ ./start
or any other startup script, i tried alot of things,
i am not able to receive a valid csrf token because every request to
http://x.x.x.x:4502/libs/granite/csrf/token.json
is pending forever and never returns.
I got it to work one time after i restarted the CSRF service manually, but only once...
Even if i update the version to 6.4.3 i have the same problem.
On Windows 7/10 everything works fine with the same steps described above.
Thank you for your help,
Thorsten Köhler