Can't Load /etc/clientlibs/granite/jquery.min.js and /etc/clientlibs/granite/coralui2.min.css | Community
Skip to main content
willym12724535
Level 2
Jun 27, 2019 1:02 PM UTC
Solved

Can't Load /etc/clientlibs/granite/jquery.min.js and /etc/clientlibs/granite/coralui2.min.css

Hello,

there are two files(/etc/clientlibs/granite/jquery.min.js and /etc/clientlibs/granite/coralui2.min.css) I can not download in the AEM Author System. The page is not seen well. Someone tell me the cause?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
antoniom5495929
antoniom5495929Accepted solution
Level 7
Jun 27, 2019 1:59 PM UTC

Hi Willy,

Thanks for the info.

Could you try to make the test directly on the AEM instance? Without using the Apache/Dispatcher?

It could be related to the filters configuration into the Dispatcher.

Let us know.

Thanks,

Antonio

21 replies

willym12724535
Level 2
Jul 8, 2019 12:53 PM UTC

The problem is due to the configuration in the Dispatcher.....

Translate
antoniom5495929
Level 7
Jul 1, 2019 10:56 AM UTC

Hi,

not really clear. You mention that the issue is faced also without dispatcher :/ and now you are talking about webserver.

But ok, I hope you find a solution.

Thanks,

Antonio

Translate
willym12724535
Level 2
Jul 1, 2019 10:51 AM UTC

Hi,

After doing some investigations I emptied the cache with /libs/granite/ui/content/dumplibs.rebuild.html?rebuild=true.

And when I click, some libraries open normally other references the message Content Encoding Error

An error occurred during a connection to webserver X

It's at this level where I'm thank you again for your support ....

Translate
antoniom5495929
Level 7
Jul 1, 2019 10:49 AM UTC

Hi,

can you share with us the HAR file from the network tabs?

Thanks,
Antonio

Translate
willym12724535
Level 2
Jul 1, 2019 10:30 AM UTC

Yes they exist

Translate
antoniom5495929
Level 7
Jun 28, 2019 8:42 AM UTC

Hi,

are you sure that your AEM instance works fine?

Try you to make a get as suggested above.

Thanks,

Antonio

Translate
Level 2
Jun 28, 2019 12:12 AM UTC

How are you including the client libraries? In AEM 6.4 these client libraries are enabled through proxy servlet

Can you try the following URL  - http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js

Also, access  http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.min.js if the minification is enabled.

The dispatcher filter should be enabled to access this path.

Regards

Albin I

Translate
willym12724535
Level 2
Jun 27, 2019 4:02 PM UTC

Hi,

the problem is that i can not open crx. It turns it turns but nothing comes

Thanks,

Willy

Translate
antoniom5495929
Level 7
Jun 27, 2019 3:36 PM UTC

Ok,

Let us know after the test.

If it doesn't work let us know if files:

  • /etc/clientlibs/granite/jquery.js
  • /etc/clientlibs/granite/coralui2.css

exists into  CRX.

Thanks,

Antonio

Translate
willym12724535
Level 2
Jun 27, 2019 3:15 PM UTC

Thanks for the answer I will try it tomorrow.

Translate