workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🐛 BUG: Wrangler dev reporting logged out, fixed by `npx wrangler whoami`

Open poacher2k opened this issue 1 year ago • 14 comments

Which Cloudflare product(s) does this pertain to?

Wrangler

What version of Wrangler are you using?

2.13.0

What operating system are you using?

Mac

Describe the Bug

When it's been a while (~1 hr ? a day ?) since I've run wrangler dev, it fails with the following error: image

If I then run npx wrangler whoami, it correctly gets user settings and shows that I'm logged in. Subsequently, running wrangler dev again now succeeds.

poacher2k avatar Apr 03 '23 09:04 poacher2k