nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.85k stars 153 forks source link

help: Can't connect to the server, maybe a Websock issue—only on my computer #557

Closed ahku closed 8 months ago

ahku commented 8 months ago

📚 What are you trying to do?

A while ago my devtools just stopped working. I thought it was a temporary bug, but later I learnt that it still worked for my colleagues and even after several versions later it still has not worked for me. Since it's the same in all browsers (On Mac: Chrome, Safari, Firefox and Edge) I've concluded that it must be a system setting error of some sort. Maybe my firewall is blocking something, but I don't have any issues with any other websocket applications that I know of.

So now I'm pretty desperate to get this working again as a new work year starts.

Can anybody help me sort this ut?

The issue

Console error

🔍 What have you tried?

I've gone through the docs, created a new starter project from scratch, tested it in all of my Nuxt projects, in different browsers and so on. I would have provided a reproduction repo if I didn't know for sure that it was a me problem: It used to work, and now it doesn't, but it's only on my computer.

ℹ️ Additional context

I'm using a M1 Mac, and I'm still on Ventura 13.4.1. Might upgrade soon.

ahku commented 8 months ago

Update: The new Vue dev tools (vite-plugin-vue-devtools) work for me, so. not sure what Nuxt devtools are doing differently?

arashsheyda commented 8 months ago

you are probebly using an old cached version of devtools have you tried this? https://github.com/nuxt/devtools/issues/517#issuecomment-1814545568

ahku commented 8 months ago

you are probebly using an old cached version of devtools have you tried this? #517 (comment)

Thanks, that really solved the issue! Perhaps this should be mentioned in the docs? I saw in the replies that someone read about it there but I could not find it myself.