wrangler halts after a few refreshes in dev
See original GitHub issueDescribe the problem:
After about half a dozen changes to the application, wrangler crashes.
Steps to reproduce:
- Start app, browse to http://localhost:8080/
- make a change to trigger “Detected changes…”
- refresh browser
- Repeat aprox half a dozen times
Error log 1632613019631.log has been attached.
[worker] 🌀 Detected changes...
[worker] [2021-09-25 16:36:56] GET cmc-web.essential.workers.dev/ HTTP/1.1 200 OK
[worker] [2021-09-25 16:36:57] GET cmc-web.essential.workers.dev/favicon-32x32.png HTTP/1.1 200 OK
[worker] [2021-09-25 16:36:58] GET cmc-web.essential.workers.dev/favicon-32x32.png HTTP/1.1 200 OK
[worker]
[worker] Oops! Wrangler encountered an error:
[worker]
[worker] panicked at '--watch change message failed to send: SendError { .. }', src/wranglerjs/mod.rs:112:41
[worker]
[worker] Please help Cloudflare debug this issue by submitting the error report
[worker] (/home/joel/.wrangler/errors/1632613019631.log)
[worker]
[worker] To submit this error report to Cloudflare, run:
[worker]
[worker] $ wrangler report
[worker]
[client] [HPM] Error occurred while trying to proxy request / from localhost:8080 to http://localhost:8787 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
I keep having to restart the app every few refreshes.
I have tried wrangler versions 1.19.0
, 1.19.1
, 1.19.3
.
I’m not sure where to even start solving this. I need some help. Cheers!
Link to a minimal reproduction:
https://github.com/joelnet/flareact-error
npm ci
npm run dev
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
wrangler dev often panics when it detects new files but keeps ...
It looks to me like the 'watcher' thread has problems and stops seeing changes. ... The only remedy is to kill wrangler dev...
Read more >Fuel and Oil Refresh mode in Progress Engine Running
For all the jeep 4xe fan, I was stuck in FORM always on for 2 month. Was able to clear it by driving...
Read more >2021 WRANGLER - Dealer E Process
The vehicle will automatically enter into the Fuel and Oil Refresh Mode to minimize potential for stale fuel, and to ensure lubrication of...
Read more >Export - Amazon SageMaker - AWS Documentation
Data Wrangler gives you the ability to export your data to a location within an Amazon S3 bucket. You can specify the location...
Read more >Electric Mode Temporarily Unavailable/Fuel & Oil Refresh Mode
Learn what to do if see a message in the instrument cluster display stating that electric mode is temporarily unavailable or if the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@joelnet Thanks for checking.
Will close the issue for now. Can reopen if its still a problem in the future.
Updated wrangler to 1.19.4 and it appears to be better.
I am seeing this message in the logs
So I am assuming that wrangler is handling the expired token more gracefully.