.jpeg image is not visible though VIP url or Load balancer URL | Community
Skip to main content
Level 2
December 7, 2023

.jpeg image is not visible though VIP url or Load balancer URL

  • December 7, 2023
  • 4 replies
  • 2040 views

I have one asset (image) file.jpeg and I can access it in the author as well as publishers but when I am trying to access the asset through the VIP url I am getting error 404.
and it is working in other env Stage.
I have compared working and non-working env config files and they are same (dispatcher.any) also cleared the cache at the dispatcher level .
not sure why is not working?

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

4 replies

arunpatidar
Community Advisor
Community Advisor
December 7, 2023

Hi @akashch2 

Are other assets type (and other Jpeg) loading?

Arun Patidar
AkashCh2Author
Level 2
December 15, 2023

@arunpatidar  Yes other jpeg are loading.

arunpatidar
Community Advisor
Community Advisor
December 15, 2023

Could you please check the dispatcher filter rules and try to remove the space or any other character from the file name?

Arun Patidar
Harwinder-singh
Community Advisor
Community Advisor
December 7, 2023

@akashch2 Can you try the following options and see what is the behavior : 

 

  1.  Deactivate and Delete the file.jpeg Image and reupload it in the DAM and reactivate it. Do you still see the 404 ?
  2.  Re-name the asset to something other than file.jpeg and re-activate and try to access it from the VIP url.

 

AkashCh2Author
Level 2
December 13, 2023

@harwinder-singh Yes, I have followed steps but still facing the issue,any other suggestions.

aanchal-sikka
Community Advisor
Community Advisor
December 8, 2023

@akashch2 

 

Please set  following log levels in dispatcher and validate via logs.

  • DISP_LOG_LEVEL to debug
  • REWRITE_LOG_LEVEL to trace2

Now restart dispatcher and validate logs.

You would be able to notice the incoming requests, rewrites etc.

For debugging rewrite rules, refer to https://techrevel.blog/2023/09/01/aem-dispatcher-filters-ignoreurlparams-virtualhosts-rewrites/#debugging-rewrite-rules 

 

Aanchal Sikka
AkashCh2Author
Level 2
December 13, 2023

@aanchal-sikka  I have tried your as you suggest getting these errors.

[Tue Dec 12 20:20:09 2023] [D] [pid 9130] checking [/content/dam/test/AEM%202023.jpg]
[Tue Dec 12 20:20:09 2023] [D] [pid 9130] cachefile does not exist: /application/cache/content/dam/test/AEM 2023.jpg
[Tue Dec 12 20:20:09 2023] [D] [pid 9130] try to create new cachefile: /application/cache/content/dam/test/AEM 2023.jpg
[Tue Dec 12 20:20:09 2023] [D] [pid 9130] cache-action for [/content/dam/test/AEM%202023.jpg]: CREATE
[Tue Dec 12 20:20:09 2023] [I] [pid 9130] "GET /content/dam/test/AEM%202023.jpg" 404 none [website/rend01] 15ms

AkashCh2Author
Level 2
January 23, 2024

@aanchal-sikka  Any thoughts? 

kautuk_sahni
Community Manager
Community Manager
December 11, 2023

@akashch2 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
AkashCh2Author
Level 2
January 23, 2024

@arunpatidar @aanchal-sikka @harwinder-singh 
I have applied the CUG group at the folder of an asset when I tried without CUG group the .jpeg file are accessible.