The injected client.js will try to reconnect to the sse endpoint as soon as the port is bound
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- backend
Research direction
Reproduce the sequence with webdev_proxy serve, a Chrome tab on the served port, termination, and restart. Start by inspecting the injected client.js and the SSE endpoint handling; done means the initial reconnect during startup no longer produces a server-log error while the connection succeeds once webdev serve is ready.
Written by the indexing model from the issue text.
Description
- Run
webdev_proxy serve - Open the served port in a chrome browser tab
- Terminate the
webdev_proxy serveinstance - Restart
webdev_proxy serveand note that the browser tab immediately tries to reestablish its SSE connection which produces an error in the server logs because the underlyingwebdev serveprocess has not yet started
We likely just need to detect this scenario during startup and silence the error on first request to that endpoint (it ends up succeeding as soon as webdev serve has started up).
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Workiva/webdev_proxy
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Workiva/webdev_proxy#10 · 1 comment ·
All issues in Workiva/webdev_proxy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·