Hi. I’m just getting started with Django and I see this message popping up when I run my application:
[19/Feb/2021 19:39:46] "GET /socket.io/?EIO=3&transport=polling&t=NUzXPq6 HTTP/1.1" 404
Not Found: /socket.io/
I haven’t implemented socket.io to handle websockets. Why would this message be appearing?
This is Django logging that it received a GET request at
/socket,.io/... from the client.
Maybe something inside your template code is calling to
The code is pretty boilerplate. I’m just starting from scratch so I can’t imagine how it got there. Unless it’s coming from any of the installed apps or middleware.
I have used socketio in the past but that was in another virtual environment. Not sure how it could have any reference to it here, but who knows.
Well this was kinda dumb on my part. I still had a browser window open from another web app I was running on localhost that was looking for socket.io.