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

Unknown error #10

Closed
roshanjonah opened this issue Nov 23, 2016 · 4 comments
Closed

Unknown error #10

roshanjonah opened this issue Nov 23, 2016 · 4 comments

Comments

@roshanjonah
Copy link

roshanjonah commented Nov 23, 2016

Installed and followed all the steps listed. It runs fine but after creating a room...it says "DEBUG: 2016/11/24 00:33:38 Websocket upgrade failed: 127.0.0.1:17182 websocket: could not find connection header with token 'upgrade'"

On the web browser console...it says "WebSocket connection to 'wss://www.tlk2me.com/w/QIrG8?handle=' failed: Unexpected response code: 400"

What do you think is not right here?

@knadh
Copy link
Owner

knadh commented Nov 24, 2016

www.tlk2me.com throws a 503 "Service unavailable". Looks like the niltak server is down. Is there a stacktrace?

@roshanjonah
Copy link
Author

Please try now. I switched it off earlier because it wasn't working. It produces a 403 on web console after entering the password to enter into the room.

@knadh
Copy link
Owner

knadh commented Nov 24, 2016

The WebSocket response is missing the 'Upgrade:websocket' header. Looks like you haven't configured Nginx properly to handle the WebSockets requests. The /w location block should have this:

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

@knadh knadh closed this as completed Nov 24, 2016
@ghost
Copy link

ghost commented Nov 22, 2017

hello
what is the probleme

run.bat

command-line-arguments

.\niltalk.go:91:69: undefined: syscall.SIGUSR1
.\niltalk.go:94:14: undefined: syscall.SIGUSR1

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