# Getting error after save configuration :

**URL:** https://community.onlyoffice.com/t/getting-error-after-save-configuration/7340
**Category:** Connectors
**Created:** [23 December 2023 11:44 UTC](https://community.onlyoffice.com/t/getting-error-after-save-configuration/7340 "2023-12-23T11:44:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![apurba](https://community.onlyoffice.com/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@apurba](https://community.onlyoffice.com/u/apurba)
#### Post date: [23 December 2023 11:44 UTC](https://community.onlyoffice.com/t/getting-error-after-save-configuration/7340/1 "2023-12-23T11:44:21Z")

</div>

GuzzleHttp\Exception\ServerException: Server error: `POST https://xxxx.dgtwin.in/ConvertService.ashx` resulted in a `504 Gateway Time-out` response:

---

<div class="post-metadata">

### Author: ![Alexandre](https://community.onlyoffice.com/user_avatar/community.onlyoffice.com/alexandre/32/285_2.png) [@Alexandre](https://community.onlyoffice.com/u/Alexandre)
#### Post date: [26 December 2023 08:13 UTC](https://community.onlyoffice.com/t/getting-error-after-save-configuration/7340/2 "2023-12-26T08:13:19Z")

</div>

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](https://www.onlyoffice.com/all-connectors.aspx))? 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

---

<div class="post-metadata">

### Author: ![apurba](https://community.onlyoffice.com/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@apurba](https://community.onlyoffice.com/u/apurba)
#### Post date: [27 December 2023 12:24 UTC](https://community.onlyoffice.com/t/getting-error-after-save-configuration/7340/3 "2023-12-27T12:24:48Z")

</div>

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)

 ![Screenshot_65](https://forum.onlyoffice.com/uploads/default/original/2X/5/574c894a1819596fcdc56f234ba27d3c6c2495a3.png)

**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
# 504 Gateway Time-out

* * *
\<c (truncated...) at \<\>
1. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 69  
GuzzleHttp\Exception\RequestException::create(“\*\*\* sensitive parameters replaced \*\*\*”)
2. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 204  
GuzzleHttp\Middleware::GuzzleHttp{closure}(“\*\*\* sensitive parameters replaced \*\*\*”)
3. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 153  
GuzzleHttp\Promise\Promise::callHandler(1, “\*\*\* sensitive parameters replaced _ **", "** _ sensitive parameters replaced \*\*\*”)
4. /var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php line 48  
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}(“\*\*\* sensitive parameters replaced \*\*\*”)
5. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 248  
GuzzleHttp\Promise\TaskQueue-\>run(true)
6. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 224  
GuzzleHttp\Promise\Promise-\>invokeWaitFn()
7. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 269  
GuzzleHttp\Promise\Promise-\>waitIfPending()
8. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 226  
GuzzleHttp\Promise\Promise-\>invokeWaitList()
9. /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php line 62  
GuzzleHttp\Promise\Promise-\>waitIfPending()
10. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 187  
GuzzleHttp\Promise\Promise-\>wait()
11. /var/www/html/lib/private/Http/Client/Client.php line 301  
GuzzleHttp\Client-\>request(“post”, “[http://onlyoffi](http://onlyoffi) … x”, ["/var/www/html/ … "])
12. /var/www/html/custom\_apps/onlyoffice/lib/DocumentService.php line 372  
OC\Http\Client\Client-\>post(“[http://onlyoffi](http://onlyoffi) … x”, [“120”,["applica …]])
13. /var/www/html/custom\_apps/onlyoffice/lib/DocumentService.php line 177  
OCA\Onlyoffice\DocumentService-\>Request(“[http://onlyoffi](http://onlyoffi) … x”, “post”, [“120”,["applica …]])
14. /var/www/html/custom\_apps/onlyoffice/lib/DocumentService.php line 91  
OCA\Onlyoffice\DocumentService-\>SendRequestToConvertService(“[http://nginx-se](http://nginx-se) … I”, “xlsx”, “jpeg”, “3846367549”, false, “\*\*\* sensitive parameters replaced \*\*\*”)
15. /var/www/html/custom\_apps/onlyoffice/lib/Preview.php line 269  
OCA\Onlyoffice\DocumentService-\>GetConvertedUri(“[http://nginx-se](http://nginx-se) … I”, “xlsx”, “jpeg”, “3846367549”)
16. /var/www/html/lib/private/Preview/ProviderV1Adapter.php line 53  
OCA\Onlyoffice\Preview-\>getThumbnail(“Applications (1).xlsx”, 4096, 4096, false, [“OC\Files\View”])
17. /var/www/html/lib/private/Preview/GeneratorHelper.php line 64  
OC\Preview\ProviderV1Adapter-\>getThumbnail([“OC\Files\Node\File”], 4096, 4096)
18. /var/www/html/lib/private/Preview/Generator.php line 397  
OC\Preview\GeneratorHelper-\>getThumbnail([“OC\Preview\ProviderV1Adapter”], [“OC\Files\Node\File”], 4096, 4096)
19. /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”, “”)
20. /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”, “”)
21. /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”)
22. /var/www/html/lib/private/PreviewManager.php line 192  
OC\Preview\Generator-\>getPreview([“OC\Files\Node\File”], 250, 250, false, “fill”, “\*\*\* sensitive parameters replaced \*\*\*”)
23. /var/www/html/core/Controller/PreviewController.php line 144  
OC\PreviewManager-\>getPreview([“OC\Files\Node\File”], 250, 250, false, “fill”)
24. /var/www/html/core/Controller/PreviewController.php line 113  
OC\Core\Controller\PreviewController-\>fetchPreview([“OC\Files\Node\File”], 250, 250, true, false, “fill”)
25. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 230  
OC\Core\Controller\PreviewController-\>getPreviewByFileId(73273, 250, 250, true, false, “fill”)
26. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 137  
OC\AppFramework\Http\Dispatcher-\>executeController(["OC\Core\Cont … "], “getPreviewByFileId”)
27. /var/www/html/lib/private/AppFramework/App.php line 183  
OC\AppFramework\Http\Dispatcher-\>dispatch(["OC\Core\Cont … "], “getPreviewByFileId”)
28. /var/www/html/lib/private/Route/Router.php line 315  
OC\AppFramework\App::main(“OC\Core\Controller\PreviewController”, “getPreviewByFileId”, ["OC\AppFramewo … "], [“core.Preview.getPreviewByFileId”])
29. /var/www/html/lib/base.php line 1068  
OC\Route\Router-\>match(“/core/preview”)
30. /var/www/html/index.php line 36  
OC::handleRequest()

Thanks

---

<div class="post-metadata">

### Author: ![Alexandre](https://community.onlyoffice.com/user_avatar/community.onlyoffice.com/alexandre/32/285_2.png) [@Alexandre](https://community.onlyoffice.com/u/Alexandre)
#### Post date: [3 January 2024 10:11 UTC](https://community.onlyoffice.com/t/getting-error-after-save-configuration/7340/4 "2024-01-03T10:11:14Z")

</div>

Hello,

> [@apurba](#):
>
> i have tried NC with integrated DS and NC without DS ( Docker , truenas)

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](https://helpcenter.onlyoffice.com/installation/docs-community-index.aspx)  
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](https://forum.onlyoffice.com/t/community-document-server-app-in-nextcloud-18/268)

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
