Request on AEM 6.4 author to /libs/granite/csrf/token.json is pending forever | Community
Skip to main content
Level 2
March 18, 2019

Request on AEM 6.4 author to /libs/granite/csrf/token.json is pending forever

  • March 18, 2019
  • 1 reply
  • 7483 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
Level 10
March 18, 2019

So you only see this issue on that specific OS?

Level 2
March 18, 2019

I retried the installation as described on an older Ubuntu installation

Ubuntu 14.04.5 LTS

Java(TM) SE Runtime Environment (build 1.8.0_45-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

and everything works fine.

Level 2
March 19, 2019

Today i got another machine with the same setup and the problems are exactly the same:

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)

Looks like a bug for me on that specific OS, maybe an Adobe technican can reproduce it?

Best regards

Thorsten Köhler