-
I'm successfully using Socket.IO in my project. Next, I tried using the Admin UI. I followed all of the steps:
When trying to connect to my Socket.IO server, I get this: This is shown regardless of the credentials being correct or not. I'm using the default path and namespace. As indicated, I tried the following troubleshooting steps:
This is my network tab, I can't see anything wrong: Any ideas on where I should look next? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi! "Invalid namespace" means the namespace was not found on the server side. You should see a CONNECT packet ( |
Beta Was this translation helpful? Give feedback.
Thanks for the help! I am using SvelteKit and I was doing the call to
instrument()
in myhooks.server.ts
file, but it seems like it's not evaluated until the server receives it's first request. Since the request to /socket.io is caught before it reaches SvelteKit, the hooks file was never evaluated.