Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get CODE container (office apps) running on nextcloud #6

Open
marcus-grant opened this issue Feb 21, 2022 · 0 comments
Open

Get CODE container (office apps) running on nextcloud #6

marcus-grant opened this issue Feb 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@marcus-grant
Copy link
Owner

It seems like there's might need to be a seperate server running for the free edition of collabora. This problem was noticed when attempting to start a spreadsheet file in nextcloud and nothing would happen on the UI after an hourglass delay. Then checking up on the nextcloud user log ui it shows these errors in order:

{"reqId":"dMkoNPNk1MgSiQ86wVzx","level":3,"time":"2022-02-21T19:18:38+00:00","remoteAddr":"your.home.ip.address","user":"marcus","app":"richdocuments","method":"GET","url":"/apps/richdocuments/index?fileId=1287&requesttoken=lcI6UAoYKCMXOJU44GGiHOaDQ0fWicRFW%2F8wADpZbe4%3D%3Ap7JiN1pBS3EhAPxJhgf7WZOxFw6T5PxqP5pdU34gVIM%3D","message":"cURL error 28: Operation timed out after 45001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud-domain.com/custom_apps/richdocumentscode/proxy.php?req=/hosting/discovery","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0","version":"22.2.5.1","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Operation timed out after 45001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud-domain.com/custom_apps/richdocumentscode/proxy.php?req=/hosting/discovery","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[{"sink":{"__class__":"GuzzleHttp\\Psr7\\Stream"},"headers":[],"response":null,"request":{"__class__":"GuzzleHttp\\Psr7\\Request"},"options":{"verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":45,"nextcloud":{"allow_local_address":true},"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"0":"And 5 more entries, set log level to debug to see all entries"},"errno":28,"onHeadersException":null,"createResponseException":null,"__class__":"GuzzleHttp\\Handler\\EasyHandle"},{"errno":28,"error":"Operation timed out after 45001 milliseconds with 0 bytes received","appconnect_time":0.042621,"url":"https://nextcloud-domain.com/custom_apps/richdocumentscode/proxy.php?req=/hosting/discovery","content_type":null,"0":"And 36 more entries, set log level to debug to see all entries"}]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[{"__class__":"GuzzleHttp\\Handler\\CurlHandler"},{"sink":{"__class__":"GuzzleHttp\\Psr7\\Stream"},"headers":[],"response":null,"request":{"__class__":"GuzzleHttp\\Psr7\\Request"},"options":{"verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":45,"nextcloud":{"allow_local_address":true},"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"0":"And 5 more entries, set log level to debug to see all entries"},"errno":28,"onHeadersException":null,"createResponseException":null,"__class__":"GuzzleHttp\\Handler\\EasyHandle"},{"__class__":"GuzzleHttp\\Handler\\CurlFactory"}]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[{"__class__":"GuzzleHttp\\Handler\\CurlHandler"},{"sink":{"__class__":"GuzzleHttp\\Psr7\\Stream"},"headers":[],"response":null,"request":{"__class__":"GuzzleHttp\\Psr7\\Request"},"options":{"verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":45,"nextcloud":{"allow_local_address":true},"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"0":"And 5 more entries, set log level to debug to see all entries"},"errno":28,"onHeadersException":null,"createResponseException":null,"__class__":"GuzzleHttp\\Handler\\EasyHandle"},{"__class__":"GuzzleHttp\\Handler\\CurlFactory"}]},{"file":"/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php","line":113,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":35,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["get",{"__class__":"GuzzleHttp\\Psr7\\Uri"},{"verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":45,"nextcloud":{"allow_local_address":true},"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"0":"And 6 more entries, set log level to debug to see all entries"}]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":223,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https://nextcloud-domain.com/custom_apps/richdocumentscode/proxy.php?req=/hosting/discovery",{"verify":"/var/www/html/resources/config/ca-bundle.crt","timeout":45,"nextcloud":{"allow_local_address":true},"headers":{"User-Agent":"Nextcloud Server Crawler","Accept-Encoding":"gzip"},"synchronous":true}]},{"file":"/var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php","line":84,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://nextcloud-domain.com/custom_apps/richdocumentscode/proxy.php?req=/hosting/discovery",{"timeout":45,"nextcloud":{"allow_local_address":true}}]},{"file":"/var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php","line":56,"function":"fetchFromRemote","class":"OCA\\Richdocuments\\WOPI\\DiscoveryManager","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/WOPI/Parser.php","line":41,"function":"get","class":"OCA\\Richdocuments\\WOPI\\DiscoveryManager","type":"->","args":[]},{"file":"/var/www/html/custom_apps/richdocuments/lib/TokenManager.php","line":202,"function":"getUrlSrc","class":"OCA\\Richdocuments\\WOPI\\Parser","type":"->","args":["application/vnd.oasis.opendocument.spreadsheet"]},{"file":"/var/www/html/custom_apps/richdocuments/lib/Controller/DocumentController.php","line":222,"function":"getToken","class":"OCA\\Richdocuments\\TokenManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"index","class":"OCA\\Richdocuments\\Controller\\DocumentController","type":"->","args":["*** sensitive parameter replaced ***",null]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\DocumentController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"richdocuments.document.index"}]},{"file":"/var/www/html/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/index"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"CustomMessage":"--"}}

It seems to mostly come from CODE not being available as a seperate collabora dockerized server so try the below reference links to install it.

References

@marcus-grant marcus-grant added the bug Something isn't working label Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant