GuzzleHttp\Exception\ServerException: Server error: POST https://xxxx.dgtwin.in/ConvertService.ashx
resulted in a 504 Gateway Time-out
response:
Hello @apurba
Please provide us with additional information of the situation:
A. Document server version and installation type (docker, packages, exe)
B. Did you integrate DS with your own self-written app or with ready-to-go ones (Ready-to-use connectors for your platform | ONLYOFFICE)? If you used ready-to-go integration, please let us know the connector app version.
C. Reproduce the situation and make a screenshot of the error itself. After that collect whole Document server logs folders and attach them to your reply. The logs are located here:
docker: /app/onlyoffice/DocumentServer/logs/documentserver/
deb\rpm: /var/log/onlyoffice/documentserver/
Windows: Program Files\ONLYOFFICE\DocumentServer\log
Hello,
As you requested
A. server version – ubuntu 22.04.01 package
b. i have tried NC with integrated DS and NC without DS ( Docker , truenas)
NC error Log
[onlyoffice] Error: GuzzleHttp\Exception\ServerException: Server error: POST http://onlyoffice-document-server/ConvertService.ashx
resulted in a 504 Gateway Time-out
response:
504 Gateway Time-out
<c (truncated...) at <>
- /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 69
GuzzleHttp\Exception\RequestException::create(“*** sensitive parameters replaced ***”) - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 204
GuzzleHttp\Middleware::GuzzleHttp{closure}(“*** sensitive parameters replaced ***”) - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 153
GuzzleHttp\Promise\Promise::callHandler(1, “*** sensitive parameters replaced ", " sensitive parameters replaced ***”) - /var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php line 48
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}(“*** sensitive parameters replaced ***”) - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 248
GuzzleHttp\Promise\TaskQueue->run(true) - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 224
GuzzleHttp\Promise\Promise->invokeWaitFn() - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 269
GuzzleHttp\Promise\Promise->waitIfPending() - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 226
GuzzleHttp\Promise\Promise->invokeWaitList() - /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 62
GuzzleHttp\Promise\Promise->waitIfPending() - /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
GuzzleHttp\Promise\Promise->wait() - /var/www/html/lib/private/Http/Client/Client.php line 301
GuzzleHttp\Client->request(“post”, “http://onlyoffi … x”, ["/var/www/html/ … "]) - /var/www/html/custom_apps/onlyoffice/lib/DocumentService.php line 372
OC\Http\Client\Client->post(“http://onlyoffi … x”, [“120”,["applica … ]]) - /var/www/html/custom_apps/onlyoffice/lib/DocumentService.php line 177
OCA\Onlyoffice\DocumentService->Request(“http://onlyoffi … x”, “post”, [“120”,["applica … ]]) - /var/www/html/custom_apps/onlyoffice/lib/DocumentService.php line 91
OCA\Onlyoffice\DocumentService->SendRequestToConvertService(“http://nginx-se … I”, “xlsx”, “jpeg”, “3846367549”, false, “*** sensitive parameters replaced ***”) - /var/www/html/custom_apps/onlyoffice/lib/Preview.php line 269
OCA\Onlyoffice\DocumentService->GetConvertedUri(“http://nginx-se … I”, “xlsx”, “jpeg”, “3846367549”) - /var/www/html/lib/private/Preview/ProviderV1Adapter.php line 53
OCA\Onlyoffice\Preview->getThumbnail(“Applications (1).xlsx”, 4096, 4096, false, [“OC\Files\View”]) - /var/www/html/lib/private/Preview/GeneratorHelper.php line 64
OC\Preview\ProviderV1Adapter->getThumbnail([“OC\Files\Node\File”], 4096, 4096) - /var/www/html/lib/private/Preview/Generator.php line 397
OC\Preview\GeneratorHelper->getThumbnail([“OC\Preview\ProviderV1Adapter”], [“OC\Files\Node\File”], 4096, 4096) - /var/www/html/lib/private/Preview/Generator.php line 373
OC\Preview\Generator->generateProviderPreview([“OC\Files\SimpleFS\SimpleFolder”], [“OC\Files\Node\File”], 4096, 4096, false, true, “application/vnd … t”, “”) - /var/www/html/lib/private/Preview/Generator.php line 166
OC\Preview\Generator->getMaxPreview([“OC\Files\SimpleFS\SimpleFolder”], “*** sensitive parameters replaced ***”, [“OC\Files\Node\File”], “application/vnd … t”, “”) - /var/www/html/lib/private/Preview/Generator.php line 116
OC\Preview\Generator->generatePreviews([“OC\Files\Node\File”], [[250,250,false,“fill”]], “application/vnd … t”) - /var/www/html/lib/private/PreviewManager.php line 192
OC\Preview\Generator->getPreview([“OC\Files\Node\File”], 250, 250, false, “fill”, “*** sensitive parameters replaced ***”) - /var/www/html/core/Controller/PreviewController.php line 144
OC\PreviewManager->getPreview([“OC\Files\Node\File”], 250, 250, false, “fill”) - /var/www/html/core/Controller/PreviewController.php line 113
OC\Core\Controller\PreviewController->fetchPreview([“OC\Files\Node\File”], 250, 250, true, false, “fill”) - /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 230
OC\Core\Controller\PreviewController->getPreviewByFileId(73273, 250, 250, true, false, “fill”) - /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 137
OC\AppFramework\Http\Dispatcher->executeController(["OC\Core\Cont … "], “getPreviewByFileId”) - /var/www/html/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch(["OC\Core\Cont … "], “getPreviewByFileId”) - /var/www/html/lib/private/Route/Router.php line 315
OC\AppFramework\App::main(“OC\Core\Controller\PreviewController”, “getPreviewByFileId”, ["OC\AppFramewo … "], [“core.Preview.getPreviewByFileId”]) - /var/www/html/lib/base.php line 1068
OC\Route\Router->match(“/core/preview”) - /var/www/html/index.php line 36
OC::handleRequest()
Thanks
Hello,
Please point me to the guide that you used for the installation. Also please let us know version of installed Document server.
Please bear in the mind that official installation guides are placed on our web site: Installation Guides - Docs Community Edition - ONLYOFFICE
If you have installed the Nextcloud forked version of Document server, please remove it and use the guides from the link above. The information about forked version is here: Community Document Server app in Nextcloud 18
If you have installed the correct version of Document server, please let us know the connector app version, the Document server version, reproduce the situation with the integration (click Save button on the connector app page) and provide us with whole Document server logs folder. It’s located here:
docker: /app/onlyoffice/DocumentServer/logs/documentserver/
deb\rpm: /var/log/onlyoffice/documentserver/
Windows: Program Files\ONLYOFFICE\DocumentServer\log