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

can't find socket.io path.. #42

Closed
Neumann-Valle opened this issue Aug 16, 2017 · 3 comments
Closed

can't find socket.io path.. #42

Neumann-Valle opened this issue Aug 16, 2017 · 3 comments

Comments

@Neumann-Valle
Copy link

Ubuntu server 14.04 , Node v8.4.0,
Setup proxy nginx as https://domain.com/peercalls

All is working except that socket.io client can't fine the socket.io server at '/socket.io' can you please help with this..

const io = require('socket.io')(http,{ path : '/peercalls' })

Tried changing the path in socket.io but not to avail..

nginx settings as such,

proxy_pass http://liveCam; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

@Neumann-Valle
Copy link
Author

Neumann-Valle commented Aug 16, 2017

How do you start debug for socket.io server or PeerCalls so it can be more verbose..

Oh boy, it's getting more complicated.

@Neumann-Valle
Copy link
Author

@jeremija what are you thoughts?

@Neumann-Valle
Copy link
Author

Thanks, anyways..

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

1 participant