-
Notifications
You must be signed in to change notification settings - Fork 335
Cannot connect to websocket with wrangler dev #1910
Comments
I have tried |
We currently do not support WebSocket debugging in |
Hey it's September now, how's this doing? I've found the same issue with wrangler dev and can confirm it only works when published. $ wrangler -V
wrangler 1.19.3 |
We've scheduled to fix this in q4 (ie - before the end of this year) Until then, the recommendation is to use miniflare #2079 (comment) Sorry for the delay on this, we'll fix it soon. |
Just a heads up to maybe update the note at https://developers.cloudflare.com/workers/learning/using-websockets#writing-a-websocket-server in case this should already be fixed in production! |
Good catch! sent a PR that removes the message cloudflare/cloudflare-docs#3082. Thanks! |
🐛 Bug report
Describe the bug
I keep getting this message when trying to connect to websocket using
wrangler dev
. Non-websocket routes work fine though.Reproduce the bug
account_id
inwrangler.toml
wrangler dev
index.html
Optional: It works fine when published.
wrangler publish
index.html
index.html
Expected behavior
Should be able to connect to websocket using
wrangler dev
.Environment and versions
Fill out the following information about your environment.
wrangler -V
: wrangler 1.16.0-durable-objects-rc.0node -v
: v15.10.0wrangler.toml
: per repoThe text was updated successfully, but these errors were encountered: