I have…
- [
] Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
- [
] Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
- Regression (a behavior that stopped working in a new release)
- [
] Bug report
- Performance issue
- Documentation issue or request
Current behavior
Since last 7 days newly uploaded/updated images are not accessible through the slug (link).
e.g. accessing https://squidex_url/api/assets/app-content/655.png via browser
results in
This page isn't working at the moment
<squidex_url> can't currently handle this request.
HTTP ERROR 500
Here is the relevant log
{"type":"SixLabors.ImageSharp.UnknownImageFormatException","message":"Image cannot be loaded. Available decoders:\n - TGA : TgaDecoder\n - BMP : BmpDecoder\n - JPEG : JpegDecoder\n - PNG : PngDecoder\n - GIF : GifDecoder\n","stackTrace":" at SixLabors.ImageSharp.Image.Load(Configuration configuration, Stream stream, IImageFormat\u0026 format)\n at Squidex.Infrastructure.Assets.ImageSharp.ImageSharpAssetThumbnailGenerator.\u003C\u003Ec__DisplayClass0_0.\u003CCreateThumbnailAsync\u003Eb__0() in /src/src/Squidex.Infrastructure/Assets/ImageSharp/ImageSharpAssetThumbnailGenerator.cs:line 85\n at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\n--- End of stack trace from previous location where exception was thrown ---\n at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task\u0026 currentTaskSlot, Thread threadPoolThread)\n--- End of stack trace from previous location where exception was thrown ---\n at Squidex.Areas.Api.Controllers.Assets.AssetContentController.ResizeAsync(IAssetEntity asset, Stream bodyStream, String fileName, ResizeOptions resizeOptions, Boolean overwrite, CancellationToken ct) in /src/src/Squidex/Areas/Api/Controllers/Assets/AssetContentController.cs:line 218\n at Squidex.Areas.Api.Controllers.Assets.AssetContentController.\u003C\u003Ec__DisplayClass8_0.\u003C\u003CDeliverAssetAsync\u003Eb__0\u003Ed.MoveNext() in /src/src/Squidex/Areas/Api/Controllers/Assets/AssetContentController.cs:line 165\n--- End of stack trace from previous location where exception was thrown ---\n at Squidex.Web.Pipeline.FileCallbackResultExecutor.ExecuteAsync(ActionContext context, FileCallbackResult result) in /src/src/Squidex.Web/Pipeline/FileCallbackResultExecutor.cs:line 65"}}
Mainly SixLabors.ImageSharp.UnknownImageFormatException
is concerning. We have tried different formats. Even the images that worked before are now giving this error.
Expected behavior
Uploaded images are accessible through link.
Minimal reproduction of the problem
- Upload the image
- Access the image through link
Environment
It’s self-hosted in Kubernetes on Azure (AKS).
App Name:
- [
] Self hosted with docker
- Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: 4.5.2.0
Browser:
- [
] Chrome (desktop)
- Chrome (Android)
- Chrome (iOS)
- Firefox
- Safari (desktop)
- Safari (iOS)
- IE
- [
] Edge
Others: