Here is someone else who has the same problem.
Failed to convert preview: Client error: POST https://XXXXXXX.de/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png
resulted in a 403 Forbidden
response
Could it be that Nextcloud Office or the Collabora Code Build-In Server has a bug here since the last version? I didn’t have that before either.
OS: Debian GNU/Linux bookworm 12.8
Kernel: Linux 6.8.12-5
Nextcloud 30.0.4
PHP 8.3.14
MySQL 10.11.6
{
"reqId": "jFeCDCL6bT9jN2yWJ1yC",
"level": 3,
"time": "2024-12-17T20:24:10+01:00",
"remoteAddr": "xxxxx",
"user": "xxxxx",
"app": "richdocuments",
"method": "GET",
"url": "/core/preview?fileId=145024&x=32&y=32&mimeFallback=true&v=aeb7e1&a=0",
"message": "Failed to convert preview: Client error: `POST https://xxxxx.de/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png` resulted in a `403 Forbidden` response",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0",
"version": "30.0.4.1",
"exception": {
"Exception": "GuzzleHttp\\Exception\\ClientException",
"Message": "Client error: `POST https://xxxxx.de/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png` resulted in a `403 Forbidden` response",
"Code": 403,
"Trace": [
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
"line": 72,
"function": "create",
"class": "GuzzleHttp\\Exception\\RequestException",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 209,
"function": "GuzzleHttp\\{closure}",
"class": "GuzzleHttp\\Middleware",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 158,
"function": "callHandler",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "::"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php",
"line": 52,
"function": "GuzzleHttp\\Promise\\{closure}",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 251,
"function": "run",
"class": "GuzzleHttp\\Promise\\TaskQueue",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 227,
"function": "invokeWaitFn",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 272,
"function": "waitIfPending",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 229,
"function": "invokeWaitList",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php",
"line": 69,
"function": "waitIfPending",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 189,
"function": "wait",
"class": "GuzzleHttp\\Promise\\Promise",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Http/Client/Client.php",
"line": 276,
"function": "request",
"class": "GuzzleHttp\\Client",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Service/RemoteService.php",
"line": 92,
"function": "post",
"class": "OC\\Http\\Client\\Client",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Service/RemoteService.php",
"line": 72,
"function": "convertTo",
"class": "OCA\\Richdocuments\\Service\\RemoteService",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Preview/Office.php",
"line": 41,
"function": "convertFileTo",
"class": "OCA\\Richdocuments\\Service\\RemoteService",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Preview/GeneratorHelper.php",
"line": 44,
"function": "getThumbnail",
"class": "OCA\\Richdocuments\\Preview\\Office",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Preview/Generator.php",
"line": 337,
"function": "getThumbnail",
"class": "OC\\Preview\\GeneratorHelper",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Preview/Generator.php",
"line": 313,
"function": "generateProviderPreview",
"class": "OC\\Preview\\Generator",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Preview/Generator.php",
"line": 119,
"function": "getMaxPreview",
"class": "OC\\Preview\\Generator",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Preview/Generator.php",
"line": 86,
"function": "generatePreviews",
"class": "OC\\Preview\\Generator",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/PreviewManager.php",
"line": 167,
"function": "getPreview",
"class": "OC\\Preview\\Generator",
"type": "->"
},
{
"file": "/var/www/nextcloud/core/Controller/PreviewController.php",
"line": 159,
"function": "getPreview",
"class": "OC\\PreviewManager",
"type": "->"
},
{
"file": "/var/www/nextcloud/core/Controller/PreviewController.php",
"line": 123,
"function": "fetchPreview",
"class": "OC\\Core\\Controller\\PreviewController",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 208,
"function": "getPreviewByFileId",
"class": "OC\\Core\\Controller\\PreviewController",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 114,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 161,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 302,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1003,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php",
"Line": 113,
"message": "Failed to convert preview: Client error: `POST https://xxxxx.de/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png` resulted in a `403 Forbidden` response",
"exception": [],
"CustomMessage": "Failed to convert preview: Client error: `POST https://xxxxx.de/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png` resulted in a `403 Forbidden` response"
},
"id": "6761d0cfc7751"
}