Closed Pushergene closed 1 month ago
i replaced # location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+).php(?:$|\/) { with location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy).php(?:$|\/) {
Still not working.
I have the same issue and I got this in my logs:
[richdocuments] Error: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to cloud.localhost.localdomain port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) at <<closure>>
0. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 155
GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\Handl ... l}, {errno: 7,error: ... "})
1. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 105
GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
2. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 43
GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
3. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 28
GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
4. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 51
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensitive parameters replaced ***")
5. /var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 37
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensitive parameters replaced ***")
6. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 29
GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
7. /var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 70
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
8. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 59
GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
9. /var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 71
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
10. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 361
GuzzleHttp\HandlerStack->__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
11. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 163
GuzzleHttp\Client->transfer("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
12. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 183
GuzzleHttp\Client->requestAsync("get", GuzzleHttp\Psr7\Uri {}, {verify: "/var/w ... }})
13. /var/www/html/lib/private/Http/Client/Client.php line 228
GuzzleHttp\Client->request("get", "https://cloud.l ... y", {verify: "/var/w ... e})
14. /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php line 106
OC\Http\Client\Client->get("https://cloud.l ... y", {timeout: 45,nex ... }})
15. /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php line 78
OCA\Richdocuments\WOPI\DiscoveryManager->fetchFromRemote()
16. /var/www/html/custom_apps/richdocuments/lib/WOPI/Parser.php line 41
OCA\Richdocuments\WOPI\DiscoveryManager->get()
17. /var/www/html/custom_apps/richdocuments/lib/TokenManager.php line 210
OCA\Richdocuments\WOPI\Parser->getUrlSrc("application/vnd ... t")
18. /var/www/html/custom_apps/richdocuments/lib/Controller/DocumentController.php line 245
OCA\Richdocuments\TokenManager->getToken("*** sensitive parameters replaced ***")
19. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 170
OCA\Richdocuments\Controller\DocumentController->index("*** sensitive parameter replaced ***", null)
20. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 100
OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocument ... {}, "index")
21. /var/www/html/lib/private/AppFramework/App.php line 137
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocument ... {}, "index")
22. /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Richdocume ... r", "index", OC\AppFramework\ ... {}, {_route: "richdocuments.document.index"})
23. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "richdocuments.document.index"})
24. /var/www/html/lib/private/Route/Router.php line 297
call_user_func(OC\AppFramework\ ... {}, {_route: "richdocuments.document.index"})
25. /var/www/html/lib/base.php line 1007
OC\Route\Router->match("/apps/richdocuments/index")
26. /var/www/html/index.php line 37
OC::handleRequest()
GET /apps/richdocuments/index?fileId=8&requesttoken=WbBcu%2BuDQYSMkJkyAOT5Stk8SP8oObArcp2ZFK2XrEk%3D%3AYeky0dzXdsHPxcoGZaaUMJNwErdZfftnP9vNI%2BbW1Hw%3D
from 172.16.238.1 by admin at 2020-08-17T12:41:12+00:00
I think the issue might be that it tries to access the apps folder instead of the custom_apps folder. Because i get 500 on the following url:
https://cloud.localhost.localdomain/index.php/apps/richdocuments/ajax/admin.php
Are there any workaround for this? I'm having the exact same issue.
same issue here
Also have this issue
Exact same issue on NC19 with docker fpm container.
Indeed, it seems that xxx.localhost
address cannot get resolved from inside the container (I am not a specialist).
I tries to put the IP address of my host (instead of cloud.localhost
), it does not raise anymore the log mentioned above, but still it does not work.
I've left some comments what you need to do in order to get the built-in CODE server to run at https://github.com/nextcloud/docker/issues/1896#issuecomment-1558810330
Closing since this isn't really an image matter.
When i go to the nextcloud settings and click on "collabora online", i get this when selecting Built in Code Method:
Could not establish connection to the Collabora Online server. This might be due to a missing configuration of your web server. For more information, please visit: Connecting Collabora Online Single Click with Nginx(https://www.collaboraoffice.com/online/connecting-collabora-online-built-in-code-server-with-nginx/)
But there, people say that it still doesnt work and theres no comment where somoene said that it will work, and i dont want to risk something... . In config.php The Overwrite protocol is https and overwrite url (i dont know the exact same ) was http://myinstance, but i changed to https://myinstance. Still doesnt work. When i select "Use your own server" i get: Could not establish connection to the Collabora Online server.
I freshly installed nextcloud on my VPS with docker, i already updated these apps but still dont work.
I have UFW firewall installed.