Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): nginx 1.22.1
PHP version (eg, 7.4): 8.1
The issue you are facing:
Error as in the following log (GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to 192.168.30.232 port 443 after 0 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://192.168.30.232/apps/richdocumentscode/proxy.php?req=/hosting/capabilities
My setup is
Internet → Reverse Proxy:443 → nextcloud 192.168.30.232:80
So all SSL termination is done on the reverse proxy and internally it is http:80 only. It seems as if collabora is trying to reach the server on :443 which is not open on the nextcloud server (collabora server installed on same ip.
So how do i tell collabora (or whatever it is, richdocuments) to use :80 and not :443?
Is this the first time you’ve seen this error? (Y/N): N
The output of your Nextcloud log in Admin > Logging:
[richdocuments] Fehler: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to 192.168.30.232 port 443 after 0 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://192.168.30.232/apps/richdocumentscode/proxy.php?req=/hosting/capabilities at <<closure>>
0. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158
GuzzleHttp\Handler\CurlFactory::createRejection()
1. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 110
GuzzleHttp\Handler\CurlFactory::finishError()
2. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 47
GuzzleHttp\Handler\CurlFactory::finish()
3. /var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php line 113
GuzzleHttp\Handler\CurlHandler->__invoke()
4. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 35
OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}("*** sensitive parameters replaced ***")
5. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31
GuzzleHttp\PrepareBodyMiddleware->__invoke()
6. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
7. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63
GuzzleHttp\RedirectMiddleware->__invoke()
8. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
9. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 331
GuzzleHttp\HandlerStack->__invoke()
10. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 168
GuzzleHttp\Client->transfer()
11. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
GuzzleHttp\Client->requestAsync()
12. /var/www/nextcloud/lib/private/Http/Client/Client.php line 218
GuzzleHttp\Client->request()
13. /var/www/nextcloud/apps/richdocuments/lib/Service/CapabilitiesService.php line 131
OC\Http\Client\Client->get()
14. /var/www/nextcloud/apps/richdocuments/lib/Service/CapabilitiesService.php line 74
OCA\Richdocuments\Service\CapabilitiesService->refetch()
15. /var/www/nextcloud/apps/richdocuments/lib/AppInfo/Application.php line 80
OCA\Richdocuments\Service\CapabilitiesService->getCapabilities()
16. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 67
OCA\Richdocuments\AppInfo\Application->OCA\Richdocuments\AppInfo\{closure}("*** sensitive parameters replaced ***")
17. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php line 51
OC\AppFramework\Bootstrap\FunctionInjector->injectFn()
18. /var/www/nextcloud/apps/richdocuments/lib/AppInfo/Application.php line 135
OC\AppFramework\Bootstrap\BootContext->injectFn()
19. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 190
OCA\Richdocuments\AppInfo\Application->boot()
20. /var/www/nextcloud/lib/private/legacy/OC_App.php line 208
OC\AppFramework\Bootstrap\Coordinator->bootApp()
21. /var/www/nextcloud/lib/private/legacy/OC_App.php line 141
OC_App::loadApp()
22. /var/www/nextcloud/lib/base.php line 1045
OC_App::loadApps()
23. /var/www/nextcloud/index.php line 36
OC::handleRequest()
from 192.168.30.150 by Christian at 2022-12-07T09:10:08+01:00