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
Trying to add socket.io-client in angular getting 404 #1065
Comments
same problem for me, I currently trying to connect to a test socket from wss://echo.websocket.org but automatically /socket.io/ is added which leads to a 404-response |
Any updates? I'm getting the same thing trying to integrate socket.io into our app. Using Angular CLI, installed the types, and included them in the |
Could you please provide the configuration for the server? |
@darrachequesne Hi! Yup it worked after I checked the server configuration the next day. It was a really silly oversight on my part... Sorry for bumping the issue! Not sure about the others above though. Thanks again! |
@darrachequesne our problem was the nginx configuration we had to add this location
then it worked :) |
@crebuh great! I think we can close this issue now, please reopen if needed. |
I am Trying to add socket.io-client in angular 2.
I already installed the modules and all and probably more than I need of the typings:
And I tried importing it in my component attempting two different ways:
Yet, im still getting this error in my browser:
The text was updated successfully, but these errors were encountered: