Thumbnails is not always generated

Hi, block tumbnails is not always generated, we get a 500 error on https://url.se/Litium/app/api/common/thumbnailgenerator

ERROR Error: Uncaught (in promise): HttpErrorResponse: {“headers”:{“normalizedNames”:{},“lazyUpdate”:null},“status”:500,“statusText”:“OK”,“url”:“https://url.se/Litium/app/api/common/thumbnailgenerator",“ok”:false,“name”:“HttpErrorResponse”,“message”:"Http failure response for https://url.se/Litium/app/api/common/thumbnailgenerator: 500 OK”,“error”:{“message”:“An error has occurred.”}}

Am not 100% sure but I think this is connected to this error log:

System.ArgumentNullException at Litium.Application.Media.OrphanBlobsCleanup.CleanupThumbnails
Value cannot be null. Parameter name: source

System.ArgumentNullException:
at System.Linq.Enumerable.Select (System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at Litium.Application.Media.OrphanBlobsCleanup.CleanupThumbnails (Litium.Application, Version=7.4.3.0, Culture=neutral, PublicKeyToken=093d4a638630e7c5)
at Litium.Application.Media.OrphanBlobsCleanup+<>c__DisplayClass1_0.<.ctor>b__1 (Litium.Application, Version=7.4.3.0, Culture=neutral, PublicKeyToken=093d4a638630e7c5)
at Litium.Application.Events.EventBrokerImpl+<>c__DisplayClass11_1`1.b__4 (Litium.Application, Version=7.4.3.0, Culture=neutral, PublicKeyToken=093d4a638630e7c5)
at Litium.Application.Common.FifoExecution+WorkItem+<>c.<.cctor>b__7_0 (Litium.Application, Version=7.4.3.0, Culture=neutral, PublicKeyToken=093d4a638630e7c5)
at Litium.Application.Common.FifoExecution+WorkItem.Execute (Litium.Application, Version=7.4.3.0, Culture=neutral, PublicKeyToken=093d4a638630e7c5)
at Litium.Application.Common.FifoExecution.ProcessQueuedItems (Litium.Application, Version=7.4.3.0, Culture=neutral, PublicKeyToken=093d4a638630e7c5)

Any input on how we solve this?

Litium version: 7.4.3

OrphanBlobsCleanup should be triggered only when a page or a block is deleted, so I am not sure it is related.

Can you find any other error logs related to the Thumbnail generator? Do you know a specific block which has the problem? If you do then we can try to update it and find error logs after the moment you click the Save button.

I do not find any error in azure, but I will try some more, this seamed to hit everytime we try to create a thumbnail of a non published block on our startpage. But it dose not happen on local dev

Do the backoffice and store front have the same domain? Do they have valid SSL cert?

We use the main domain to edit litium not just the BO, but all servers have valid SSL certs.
This dose not happen on my local, so it must be some missmatch of the database that trigger this un catched error

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.