-
Notifications
You must be signed in to change notification settings - Fork 10
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
Stuck at "Establishing connection, please wait..." #14
Comments
Hi @Toraih, are you running the server part behind an Nginx proxy, or connecting directly to it by setting up the server endpoint in NextCloud? I created a Helm chart to deploy the server on a Kubernetes cluster and am facing the same issue. |
Hi, try with a different server where is installed Nextcloud (ubuntu 18.04 fresh install), i runthe docker version and the server version as Toraih (both works fine): la@pdfdraw:/server$ nodejs server.js i have the same error (on both launch),always "establishing connection.. please wait" Any help is very appreciated. |
Hello Guys! i have the same problem. The server is running in docker (port 8080). My Nextcloud is running behind an apache2 reverse proxy. Is there an "translation" from the nginx proxy settings to apache2? First i used the app version from git (with git clone in my apps directory) but it crashes nextcloud (blank page) ... with the app out of the app store it works to install but also the error... "Establishing connection, please wait..." web console says if i use directly the ip (unfortunatly in german): i tried with but didnt help ProxyPass /socket.io http://127.0.0.1:8080/socket.io |
Maybe this online conversion tool can help you? http://labs.gidix.de/nginx/ |
Hey,
As far as I remember, a fresh install of nextcloud is configured to listen on port 80, isn't it? I had the I ended with a nginx reverse proxy for both my nextcloud and pdf-annotations server, that does the ssl termination and passes the connection via http. (As described in my post here) The log posted by @Toraih looks good so far. @baronluca
From which server is the log you have shown? Do you have a rule configured in your reverse proxy to pass /socket.io and /download to your pdf-annotations server or is the reverse proxy passing the whole traffic to your nextcloud instance which is blocking all non-ssl traffic? |
Sorry, try with a fresh install, same server for both (ngix + nextcloud + https) and docker running in the same machine. No way that it works.. sorry but i don't see any hint in your documentation to fix that. |
the problem it happens where you publish the nextcloud on https:// |
I did a fresh install of Ubuntu 20.04.1 with a LEMP-stack and installed Nextcloud 20.0.5 the classic way (so far everything works fine).
I cloned the pdfdraw-repo including subs into the nextcloud-apps-folder, installed all requirements for the backend-server, configurated it (in files&admin) and started the backend-server.
If i open a PDF to Annotate, the PDF is loaded and displayed correctly (the annotation-tools are visible), but there's also a message overlay:
Establishing connection, please wait...
, that won't vanish...In the same time server.js prints:
I can't do annotations, but drawing works but isn't saved. I can't find any error-messages on client- or server-side.
On closing the document, server.js prints:
The only non 200 or 30x HTTP codes i noticed was a '101 Switching Protocols' from socket.io, which should be ok.
I tried for days, but couldn't find the problem... (i tried first on an active install of NC20 on a Ubuntu18, but had dependencies problems, so i started with a fresh maschine, the one i described here)
Any help is much appreciated!
The text was updated successfully, but these errors were encountered: