-
Notifications
You must be signed in to change notification settings - Fork 49
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
Try to set up kraken api server with nginx on local environment #9
Comments
Hi, have you tried suggestions in this issue #5 (comment) Indeed, there is no need to run a turn server for a local deployment. |
@cedricfung |
What's your configuration of kraken, turn server, the kraken.fm index.js and your nginx? |
[config/engine.toml] [engine] [turn] [rpc] [Turnserver] listening-port=3478 [Nginx] upstream kraken_server { map $http_upgrade $connection_upgrade { server {
} And I only changed some parts of index.js const KRAKEN_API = 'https://[kraken-api-server]'; const configuration = { These are what I have made for setting-up |
I think your engine.address is the issue, you make kraken bind to 127.0.0.1 so that the turn server can't connect with it. |
ubuntu@ip:/tmp/kraken$ ./kraken -c config/engine.toml -s engine still it's not working and same error log come out as before. |
There is no problem in this deployment, we use it the same as yours. I found another issue is the turn server configuration, a bit complicated, let me make some improvements in the kraken.fm code at first. |
@cedricfung |
Please try the latest kraken.fm code. |
@cedricfung |
I
I've been struggling with local kraken api with nginx and turn server setting-up
Whatever you need to resolve this situation, please leave any comment.
Thanks for reading it.
The text was updated successfully, but these errors were encountered: