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

Issue with Time out 408 on connector #8

Open
iwkse opened this issue Oct 25, 2015 · 6 comments
Open

Issue with Time out 408 on connector #8

iwkse opened this issue Oct 25, 2015 · 6 comments

Comments

@iwkse
Copy link

iwkse commented Oct 25, 2015

Hi,
I'm having this issue since a while, the connector gives a timeout. Does that mean the APIKEY is wrong?

2015-10-26 00:46:18,999  INFO  [webscripts.connector.RemoteClient] [http-bio-8081-exec-12] Exception calling (GET) http://127.0.0.1:9001/socket.io/?EIO=3&transport=websocket&sid=QKcQncV5vNDYEoBXAAAF
 2015-10-26 00:46:19,000  INFO  [webscripts.connector.RemoteClient] [http-bio-8081-exec-12] Error status 408 Read timed out

WebSocket connection to 'ws://alfdev:8081/share/proxy/etherpad/socket.io/?EIO=3&transport=websocket&sid=QKcQncV5vNDYEoBXAAAF' failed: Error during WebSocket handshake: Unexpected response code: 408
@cetra3
Copy link
Owner

cetra3 commented Oct 26, 2015

I don't believe so, it may be that it's not handling WebSocket connections correctly.

Does it still work with this error message? As it should fall back to long-polling

@iwkse
Copy link
Author

iwkse commented Oct 26, 2015

Yes I see several xhr requests with long time, POST and GET. When I use it as the default it seems to work, but I'm trying something else using the API to clear the content of a PAD but such code is not executed at all and the debug lines I've put aren't either, when they should. So I was wondering if it's related to that issue.

@iwkse
Copy link
Author

iwkse commented Oct 26, 2015

Not related..I found out the issue. But WebSocket fails also for you?

@cetra3
Copy link
Owner

cetra3 commented Oct 26, 2015

Yeah, happy to leave this one open until it finds resulotion. The problem is that websockets does not work through the proxy.

The answer may be to allow an alternative configuration, where clients access etherpad directly, rather than via the share proxy.

@iwkse
Copy link
Author

iwkse commented Oct 27, 2015

Yes, this sounds interesting. Just a question about Etherpad. Do you think it can be (easily) possible to embed it without taking advantage of the IP:port setup and embed it directly, like for example it is done for tinymce or other similar editors? To me this would be a better solution.

@cetra3
Copy link
Owner

cetra3 commented Oct 28, 2015

Would be great if it could be embedded, but since it runs on NodeJS this is probably not a feasible option without a complete rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants