documentserver_community icon indicating copy to clipboard operation
documentserver_community copied to clipboard

Error:GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 7070: Connection refused

Open PenguinSoupX opened this issue 2 years ago • 1 comments

i installed nexcloud via docker compose everything works except the community document server ,i get this error in the logs

[onlyoffice] Error: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 7070: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:7070/apps/documentserver_community/healthcheck at <>

  1. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158 GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\Handl ... l}, [7,"Failed to co ... "])
  2. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 110 GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
  3. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 47 GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
  4. /var/www/html/lib/private/Http/Client/DnsPinMiddleware.php line 113 GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameters replaced ", " sensitive parameters replaced ***")
  5. /var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 35 OC\Http\Client\DnsPinMiddleware->OC\Http\Client{closure}("*** sensitive parameters replaced ***")
  6. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31 GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameters replaced ", " sensitive parameters replaced ***")
  7. /var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71 GuzzleHttp\Middleware::GuzzleHttp{closure}("*** sensitive parameters replaced ***")
  8. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63 GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameters replaced ", " sensitive parameters replaced ***")
  9. /var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75 GuzzleHttp\Middleware::GuzzleHttp{closure}("*** sensitive parameters replaced ***")
  10. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 331 GuzzleHttp\HandlerStack->__invoke("*** sensitive parameters replaced ", " sensitive parameters replaced ***")
  11. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 168 GuzzleHttp\Client->transfer("*** sensitive parameters replaced ", " sensitive parameters replaced ***")
  12. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 187 GuzzleHttp\Client->requestAsync("get", GuzzleHttp\Psr7\Uri {}, ["/var/www/html/ ... "])
  13. /var/www/html/lib/private/Http/Client/Client.php line 218 GuzzleHttp\Client->request("get", "http://localhos ... k", ["/var/www/html/ ... e])
  14. /var/www/html/custom_apps/onlyoffice/lib/documentservice.php line 374 OC\Http\Client\Client->get("http://localhos ... k", [60,[true]])
  15. /var/www/html/custom_apps/onlyoffice/lib/documentservice.php line 259 OCA\Onlyoffice\DocumentService->Request("http://localhos ... k")
  16. /var/www/html/custom_apps/onlyoffice/lib/documentservice.php line 406 OCA\Onlyoffice\DocumentService->HealthcheckRequest()
  17. /var/www/html/custom_apps/onlyoffice/controller/settingscontroller.php line 174 OCA\Onlyoffice\DocumentService->checkDocServiceUrl(OC\URLGenerator ... }}, OCA\Onlyoffice\Crypt {})
  18. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225 OCA\Onlyoffice\Controller\SettingsController->SaveAddress("http://localhos ... /", "", "", true, "", false)
  19. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133 OC\AppFramework\Http\Dispatcher->executeController(OCA\Onlyoffice\C ... {}, "saveAddress")
  20. /var/www/html/lib/private/AppFramework/App.php line 172 OC\AppFramework\Http\Dispatcher->dispatch(OCA\Onlyoffice\C ... {}, "saveAddress")
  21. /var/www/html/lib/private/Route/Router.php line 298 OC\AppFramework\App::main("SettingsController", "saveAddress", OC\AppFramework\ ... {}, ["onlyoffice.settings.save_address"])
  22. /var/www/html/lib/base.php line 1047 OC\Route\Router->match("/apps/onlyoffice/ajax/settings/address")
  23. /var/www/html/index.php line 36 OC::handleRequest()

PUT /apps/onlyoffice/ajax/settings/address from 172.31.0.1 by Nextcloud at 2023-01-20T03:26:51+00:00

this is the docker compose i used https://pastebin.com/hfuKBCLM can anybody help me fix this

PenguinSoupX avatar Jan 20 '23 03:01 PenguinSoupX

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] avatar Feb 19 '24 00:02 github-actions[bot]