nextcloud / richdocuments

đź“‘ Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
349 stars 115 forks source link

Blank Screen - no document opens (Using Nginx & Docker) #287

Closed mistergibson closed 5 years ago

mistergibson commented 5 years ago

Steps to reproduce

  1. Configure Nginx reverse proxy (see attached config file for nextcloud & collabora)
  2. Start nginx
  3. Open Test.odt file in nextcloud

Expected behaviour

Tell us what should happen It should present me with the Collabora environment and tools with the document open.

Actual behaviour

Tab is blank -- nothing, nada. It still bears the nextcloud menu and file tab -- but collabora never cranks up and displays anything.

Server configuration

Ubuntu 18.04 Server

Nginx

MySQL

PHP7.1-fpm

14.0.3

Fresh Install

Nextcloud ... latest.zip

No errors have been found.

List of activated apps: Enabled:

The content of config/config.php: <?php $CONFIG = array ( 'instanceid' => 'octj2llmttxs', 'passwordsalt' => '', 'secret' => '', 'trusteddomains' => array ( 0 => 'nexus', 1 => '', 2 => 'localhost', ), 'datadirectory' => '/var/lib/nextcloud', 'dbtype' => 'mysql', 'version' => '14.0.3.0', 'overwrite.cli.url' => '', 'dbname' => 'nextcloud', 'dbhost' => '', 'dbport' => '', 'dbtableprefix' => 'oc', 'mysql.utf8mb4' => true, 'dbuser' => '', 'dbpassword' => '', 'installed' => true, );

Are you using external storage, if yes which one: local/smb/sftp/... No

Are you using encryption: yes/no No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No

Client configuration

Browser: Firefox 62.0.3 (64bit)

Operating system: Linux Mint (client side) 19 Tara / Ubuntu Server 18.04 (server side)

Logs

Web server error log

2018/10/23 19:07:11 [error] 8179#8179: 62 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 97.120.38.13, server: cdc.csproject.org, request: "GET /hosting/discovery HTTP/1.1", upstream: "https://127.0.0.1:9980/hosting/discovery", hos t: "cdc.csproject.org" 2018/10/23 19:07:11 [error] 8179#8179: 62 connect() failed (111: Connection refused) while connecting to upstream, client: 97.120.38.13, server: cdc. csproject.org, request: "GET /hosting/discovery HTTP/1.1", upstream: "https://[::1]:9980/hosting/discovery", host: "cdc.csproject.org" 2018/10/23 19:07:11 [error] 8179#8179: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class GuzzleHttp\Exception\RequestExc eption, because the name is already in use in /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php on line 0" while readin g response header from upstream, client: 97.120.38.13, server: cdc.csproject.org, request: "GET /apps/richdocuments/index?fileId=596&requesttoken=c7nU Cw9CruUJoiK6TwaJmAtnUiimnSaFG1hMjwJM3Fc%3D%3AQfe1bm4F69JFyw3XKTX%2FoWIAYX%2BRzm7TXWEW1zsjqz4%3D HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.1-f pm.sock:", host: "cdc.csproject.org"

Nextcloud log (data/nextcloud.log)

{"reqId":"YYLtgwnLCxgwddJrDObx","level":3,"time":"2018-10-24T02:14:59+00:00","remoteAddr":"97.120.38.13","user":"mistergibson","app":"richdocuments"," method":"GET","url":"\/apps\/richdocuments\/index?fileId=596&requesttoken=QnrtsnNZJtmPGxArfF2LZj%2FvwHYhnjL35qFBXFaEtNI%3D%3AcDSM1xIeY%2B7Dcj9GGm79X1a I8yEWzXqhoJgbBG%2Frw7s%3D","message":{"Exception":"GuzzleHttp\Exception\ServerException","Message":"Server error: GET https:\/\/cdc.csproject.org\/ hosting\/discovery resulted in a 502 Bad Gateway response:\n\r\n502 Bad Gateway<\/title><\/head>\r\n<body bgcolor=\"white\">\r\n</p> <center><h1>502 Bad Gateway<\/h1><\/center>\r\n (truncated...)\n","Code":502,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/guzzle\/sr c\/Middleware.php","line":65,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":[{"__class__":"GuzzleHttp\\Psr7\ \Request"},"*** sensitive parameter replaced ***"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":203,"func tion":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/next cloud\/3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":156,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::","args" :[1,"*** sensitive parameter replaced ***",[{"__class__":"GuzzleHttp\\Promise\\Promise"},{"__class__":"Closure"},null]]},{"file":"\/var\/www\/nextclou d\/3rdparty\/guzzlehttp\/promises\/src\/TaskQueue.php","line":47,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","t ype":"::","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":2 46,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->","args":[true]},{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/promises \/src\/Promise.php","line":223,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\ /3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":267,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]} ,{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":225,"function":"invokeWaitList","class":"GuzzleHttp\\Promise \\Promise","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":62,"function":"waitIfPendin g","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/guzzlehttp\/guzzle\/src\/Client.php","line" :131,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Http\/Client\/Clien t.php","line":161,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https:\/\/cdc.csproject.org\/hosting\/discovery",{"veri fy":"\/var\/lib\/nextcloud\/files_external\/rootcerts.crt","synchronous":true}]},{"file":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/WOPI\/Disco veryManager.php","line":84,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https:\/\/cdc.csproject.org\/hosting\/discovery"]} ,{"file":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/WOPI\/Parser.php","line":41,"function":"get","class":"OCA\\Richdocuments\\WOPI\\DiscoveryMa nager","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/TokenManager.php","line":148,"function":"getUrlSrc","class":"O CA\\Richdocuments\\WOPI\\Parser","type":"->","args":["application\/vnd.oasis.opendocument.text"]},{"file":"\/var\/www\/nextcloud\/apps\/richdocuments\ /lib\/Controller\/DocumentController.php","line":179,"function":"getToken","class":"OCA\\Richdocuments\\TokenManager","type":"->","args":["*** sensiti ve parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class": "OCA\\Richdocuments\\Controller\\DocumentController","type":"->","args":["*** sensitive parameter replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\ /private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args" :[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","l ine":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\Document Controller"},"index"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class ":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\DocumentController","index",{"__class__":"OC\\AppFramework\\DependencyI njection\\DIContainer"},{"_route":"richdocuments.document.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","ty pe":"->","args":[{"_route":"richdocuments.document.index"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"c all_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"richdocuments.document.index"}]},{"file":"\/var\/www\/ nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/richdocuments\/index"]},{"file":"\/va r\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/3rdparty\/guzzl ehttp\/guzzle\/src\/Exception\/RequestException.php","Line":113,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) G ecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"YYLtgwnLCxgwddJrDObx","level":3,"time":"2018-10-24T02:14:59+00:00","remoteAddr":"97.120.38.13","user":"mistergibson","app":"PHP","method":"G ET","url":"\/apps\/richdocuments\/index?fileId=596&requesttoken=QnrtsnNZJtmPGxArfF2LZj%2FvwHYhnjL35qFBXFaEtNI%3D%3AcDSM1xIeY%2B7Dcj9GGm79X1aI8yEWzXqho JgbBG%2Frw7s%3D","message":"Cannot declare class GuzzleHttp\\Exception\\RequestException, because the name is already in use at \/var\/www\/nextcloud\ /3rdparty\/guzzlehttp\/guzzle\/src\/Exception\/RequestException.php#0","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/blackisle51"><img src="https://avatars.githubusercontent.com/u/19732638?v=4" />blackisle51</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>I have also encountered this issue but with Apache proxy. Updated from V13 with everything functioning to 14.03. Blank page, no Collabora editor window. </p> <p>Log:</p> <table> <thead> <tr> <th>Error</th> <th>PHP</th> <th>Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use at /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#16</th> <th>2018-10-29T20:38:27+0000</th> </tr> </thead> <tbody> <tr> <td>Error</td> <td>richdocuments</td> <td>GuzzleHttp\Exception\ConnectException: cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (see <a href="http://curl.haxx.se/libcurl/c/libcurl-errors.html)/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php">http://curl.haxx.se/libcurl/c/libcurl-errors.html)/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php</a> - line 150: GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\H ... l}, { errno: 35, ... 6})/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 103: GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\H ... {}, GuzzleHttp\H ... l}, GuzzleHttp\H ... {})/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php - line 43: GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\H ... {}, GuzzleHttp\H ... l}, GuzzleHttp\H ... {})/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 28: GuzzleHttp\Handler\CurlHandler-><strong>invoke("*<strong> sensiti ... <em>", "</em></strong> sensiti ... *")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 51: GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}("*<strong> sensiti ... <em>")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php - line 37: GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}("</em></strong> sensiti ... *")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 30: GuzzleHttp\PrepareBodyMiddleware-></strong>invoke("*<strong> sensiti ... <em>", "</em></strong> sensiti ... *")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php - line 70: GuzzleHttp\Middleware::GuzzleHttp{closure}("*<strong> sensiti ... <em>")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 59: GuzzleHttp\RedirectMiddleware->__invoke("</em></strong> sensiti ... *", "*<strong> sensiti ... <em>")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php - line 67: GuzzleHttp\Middleware::GuzzleHttp{closure}("</em></strong> sensiti ... *")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 277: GuzzleHttp\HandlerStack->__invoke("*<strong> sensiti ... <em>", "</em></strong> sensiti ... *")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 125: GuzzleHttp\Client->transfer("*<strong> sensiti ... <em>", "</em></strong> sensiti ... *")/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 131: GuzzleHttp\Client->requestAsync("get", GuzzleHttp\Psr7\Uri {}, { verify: "/ ... }})/var/www/nextcloud/lib/private/Http/Client/Client.php - line 161: GuzzleHttp\Client->request("get", "<a href="https://off">https://off</a> ... y", { verify: "/ ... e})/var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php - line 84: OC\Http\Client\Client->get("<a href="https://off">https://off</a> ... y")/var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php - line 41: OCA\Richdocuments\WOPI\DiscoveryManager->get()/var/www/nextcloud/apps/richdocuments/lib/TokenManager.php - line 148: OCA\Richdocuments\WOPI\Parser->getUrlSrc("application ... t")/var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php - line 179: OCA\Richdocuments\TokenManager->getToken("*<strong> sensiti ... <em>")/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166: OCA\Richdocuments\Controller\DocumentController->index("</em></strong> sensiti ... *")/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99: OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocu ... {}, "index")/var/www/nextcloud/lib/private/AppFramework/App.php - line 118: OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocu ... {}, "index")/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App::main("OCA\Richdo ... r", "index", OC\AppFramew ... {}, { _route: "r ... "})OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "r ... "})/var/www/nextcloud/lib/private/Route/Router.php - line 297: call_user_func(OC\AppFramew ... {}, { _route: "r ... "})/var/www/nextcloud/lib/base.php - line 987: OC\Route\Router->match("/apps/richdocuments/index")/var/www/nextcloud/index.php - line 42: OC::handleRequest()</td> </tr> </tbody> </table> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/blackisle51"><img src="https://avatars.githubusercontent.com/u/19732638?v=4" />blackisle51</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Found the issue, looks like curl doesn't like SSL2/3 anymore. Changed my .conf to "SSLProtocol -all +TLSv1.2" and everything now working :)</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/monreal"><img src="https://avatars.githubusercontent.com/u/54005?v=4" />monreal</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>@mistergibson: do you also get "502 Bad Gateway" if you wait long enough?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mistergibson"><img src="https://avatars.githubusercontent.com/u/174752?v=4" />mistergibson</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>@blackisle51 --> nginx.conf: ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE Where/What file did you change to add TLSv1.2?</p> <p>@monreal --> If I go to THE_SITE/hosting/discovery I DO get 'Bad Gateway'</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mistergibson"><img src="https://avatars.githubusercontent.com/u/174752?v=4" />mistergibson</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Update: I updated collabora instance on docker and that solved the 'bad gateway' issue. However, <strong>all I get now is a spinning circle</strong> --> the document editor never loads.</p> <p>Note: I get perfect hosting/discovery output Also: if I go to THE_SITE/loleaflet/d02d198/loleaflet.html? I get a the editor with no file associated. It simply seems unable to load a file in the editor properly. Also: If I go to THE_SITE/loleaflet/dist/admin/adminSettings.html I get the admin console just fine. Also: when I attempt to open a file the dashboard does not see any user logged in or any document being opened.</p> <p>So, I can only conclude that there is some sort of <strong>BUG</strong> in the way it loads the file data.</p> <p>Upon examination of the log I got these two errors:</p> <p>ONE: GuzzleHttp\Exception\RequestException: <strong>cURL error 60: SSL certificate problem: self signed certificate</strong> (see <a href="http://curl.haxx.se/libcurl/c/libcurl-errors.html">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a>)</p> <pre><code>/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 150: GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\H ... l}, { errno: 60, ... 6}) /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php - line 103: GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\H ... {}, GuzzleHttp\H ... l}, GuzzleHttp\H ... {}) /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php - line 43: GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\H ... {}, GuzzleHttp\H ... l}, GuzzleHttp\H ... {}) /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 28: GuzzleHttp\Handler\CurlHandler->__invoke("*** sensiti ... *", "*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php - line 51: GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php - line 37: GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}("*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 30: GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensiti ... *", "*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php - line 70: GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php - line 59: GuzzleHttp\RedirectMiddleware->__invoke("*** sensiti ... *", "*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php - line 67: GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 277: GuzzleHttp\HandlerStack->__invoke("*** sensiti ... *", "*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 125: GuzzleHttp\Client->transfer("*** sensiti ... *", "*** sensiti ... *") /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 131: GuzzleHttp\Client->requestAsync("get", GuzzleHttp\Psr7\Uri {}, { verify: "/ ... }}) /var/www/nextcloud/lib/private/Http/Client/Client.php - line 161: GuzzleHttp\Client->request("get", "https://loc ... y", { verify: "/ ... e}) /var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php - line 84: OC\Http\Client\Client->get("https://loc ... y") /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php - line 41: OCA\Richdocuments\WOPI\DiscoveryManager->get() /var/www/nextcloud/apps/richdocuments/lib/TokenManager.php - line 148: OCA\Richdocuments\WOPI\Parser->getUrlSrc("application ... t") /var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php - line 179: OCA\Richdocuments\TokenManager->getToken("*** sensiti ... *") /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166: OCA\Richdocuments\Controller\DocumentController->index("*** sensiti ... *") /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99: OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocu ... {}, "index") /var/www/nextcloud/lib/private/AppFramework/App.php - line 118: OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocu ... {}, "index") /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App::main("OCA\\Richdo ... r", "index", OC\AppFramew ... {}, { _route: "r ... "}) OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "r ... "}) /var/www/nextcloud/lib/private/Route/Router.php - line 297: call_user_func(OC\AppFramew ... {}, { _route: "r ... "}) /var/www/nextcloud/lib/base.php - line 987: OC\Route\Router->match("/apps/richdocuments/index") /var/www/nextcloud/index.php - line 42: OC::handleRequest()</code></pre> <p>... and TWO: Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use at /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#16</p> <p>So --> That's what I know thus far.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mistergibson"><img src="https://avatars.githubusercontent.com/u/174752?v=4" />mistergibson</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Update TWO: Switched to NON-Docker install of loolwsd, and configured it to use my letsencrypt cert and key. All is good on hosting/discovery, and I can get an empty editor to launch in my browser (with no file or content associated) following one of the WOPI declared links. However, <strong>All I still get is a spinning circle</strong> in my browser when I attempt to open a file. I'm convinced at this point it is in the Collabora Online app on the nextcloud side of things. It just cannot get the file content to the tool to open. No errors now in my log either. If anyone has any ideas I'd appreciate the input.</p> <p>As I watch the spinning circle, the Inspector Console reports:</p> <p>Firefox can’t establish a connection to the server at wss://cdc.csproject.org/lool/https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs%3Faccess_token%3DgWzpwWVsLZdTxprmwLyt08IF3rtsoUiH%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs&compat=/ws.</p> <p>Does that tell you anything?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/juliushaertl"><img src="https://avatars.githubusercontent.com/u/3404133?v=4" />juliushaertl</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <blockquote> <p>Firefox can’t establish a connection to the server at wss://cdc.csproject.org/lool/https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs%3Faccess_token%3DgWzpwWVsLZdTxprmwLyt08IF3rtsoUiH%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs&compat=/ws.</p> </blockquote> <p>This looks like a configuration problem with your webserver. Please check the forums for further help on that: <a href="https://help.nextcloud.com">https://help.nextcloud.com</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mistergibson"><img src="https://avatars.githubusercontent.com/u/174752?v=4" />mistergibson</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>um, NO --> AS I SAID: I can get the WOPI data, AND I can get the editor to load with a WOPI provided link (but no way to get the data file into the editor). So I am able to communicate with loolwsd. My nginx server configuration is right out of the book - otherwise I'd not get WOPI and the editor to open at all. I feel you closed this issue prematurely.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/juliushaertl"><img src="https://avatars.githubusercontent.com/u/3404133?v=4" />juliushaertl</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <blockquote> <p>Firefox can’t establish a connection to the server at wss://cdc.csproject.org/lool/https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs%3Faccess_token%3DgWzpwWVsLZdTxprmwLyt08IF3rtsoUiH%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs&compat=/ws.</p> </blockquote> <p>As the error states, the browser cannot establish the websocket connection to the collabora server, so please check your webserver configuration in that regards.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/carlox97"><img src="https://avatars.githubusercontent.com/u/31673755?v=4" />carlox97</a> commented <strong> 2 years ago</strong> </div> <div class="markdown-body"> <blockquote> <blockquote> <p>Firefox can’t establish a connection to the server at wss://cdc.csproject.org/lool/https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs%3Faccess_token%3DgWzpwWVsLZdTxprmwLyt08IF3rtsoUiH%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2F[REDACTED]%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F283_octj2llmttxs&compat=/ws.</p> </blockquote> <p>As the error states, the browser cannot establish the websocket connection to the collabora server, so please check your webserver configuration in that regards.</p> </blockquote> <p>I'm having his same problem. If i access nextcloud via its local IP, collabora works perfectly, but on the nextcloud SSL secured domain, collabora doesn't work and gives me the blank page. If it's a websocket problem how can i fix it in the nextcloud reverse proxy entry? </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Stooovie"><img src="https://avatars.githubusercontent.com/u/10572373?v=4" />Stooovie</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Same. Using Nginx Proxy Manager. How do I fix this?</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>