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

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

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?A_CantLoadJquery.PNG

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

27-06-2019

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

Answers (20)

Answers (20)

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

01-07-2019

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

Avatar

Avatar

Albin_Issac

MVP

Avatar

Albin_Issac

MVP

Albin_Issac
MVP

27-06-2019

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

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

27-06-2019

Hi,
have you some error code during the loading of this clientlibs into the browser?
Thanks,
Antonio

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

08-07-2019

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

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

01-07-2019

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 ....

Rebuilts_Labrary.PNG

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

01-07-2019

Hi,

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

Thanks,
Antonio

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

01-07-2019

Yes they exist

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

28-06-2019

Hi,

are you sure that your AEM instance works fine?

Try you to make a get as suggested above.

Thanks,

Antonio

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

Hi,

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

Thanks,

Willy

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

27-06-2019

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

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

Thanks for the answer I will try it tomorrow.

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

the problem arises at the level of the author(Without using the Apache/Dispatcher) in the publish with or without distpachter it works very well.

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

Thank you I will test this case

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

Hi Antonio,

which AEM version are you using? AEM 6.4

Are you using a dispatcher in front of the instance? Yes

Thanks,

Willy

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

27-06-2019

Hi Willy,

which AEM version are you using?

Are you using a dispatcher in front of the instance?

Thanks,

Antonio

Avatar

Avatar

Vish_dhaliwal

Employee

Avatar

Vish_dhaliwal

Employee

Vish_dhaliwal
Employee

27-06-2019

Maybe these are blocked at the dispatcher, are you testing without dispatcher?

Avatar

Avatar

aemmarc

Employee

Avatar

aemmarc

Employee

aemmarc
Employee

27-06-2019

Compiled js and css and minified versions of those live on the file system in a folder outputcache.

  • Search in the AEM instance home folder with command below:

        find launchpad/felix -path "*/bundle*/data/outputcache" -type d   

  • Delete "outputcache" folder

See the following for more details :

How to force a recompilation of all Sling scripts jsps, java, and sightly in AEM 6.4

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

Hi,

On Opera

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

The website is not accessible´may be temporarily unavailable or permanently moved to a new web address.

ERR_CONTENT_DECODING_FAILED

/etc/clientlibs/granite/coralui2.min (test)

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Thanks,

Willy

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

27-06-2019

Hi,

just a simple test, could you try to test it without minify enabled?

Let me know.

Thanks,

Antonio

Avatar

Avatar

willym12724535

Avatar

willym12724535

willym12724535

27-06-2019

Hi Antonio,

thank for the reply,

no I do not receive an error except on the two URLs that are enumerated (See also attached document)

ErrorRessourceAnswert.png

Thanks,

Willy