Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oak crashes sometimes #11

Closed
hsjoberg opened this issue Apr 29, 2021 · 3 comments
Closed

Oak crashes sometimes #11

hsjoberg opened this issue Apr 29, 2021 · 3 comments

Comments

@hsjoberg
Copy link
Owner

run-server.sh[208373]: error: Uncaught (in promise) Http: connection closed before message completed
run-server.sh[208373]:           for await (const requestEvent of httpConn) {
run-server.sh[208373]:                            ^
run-server.sh[208373]:     at unwrapOpResult (deno:core/core.js:99:13)
run-server.sh[208373]:     at async HttpConn.nextRequest (deno:runtime/js/40_http.js:33:23)
run-server.sh[208373]:     at async Object.next (deno:runtime/js/40_http.js:83:26)
run-server.sh[208373]:     at async serve (https://deno.land/x/[email protected]/http_server_native.ts:161:28)
@hsjoberg
Copy link
Owner Author

hsjoberg commented May 1, 2021

Seems related to denoland/deno#10384

@hsjoberg hsjoberg pinned this issue May 1, 2021
@hsjoberg
Copy link
Owner Author

hsjoberg commented May 2, 2021

The issue is addressed by temporarily compiling deno v1.9.2 cherry-picked with denoland/deno#10384 on the production server for https://taproot.watch.

@hsjoberg hsjoberg unpinned this issue May 2, 2021
@hsjoberg
Copy link
Owner Author

hsjoberg commented Jun 1, 2021

Issue fixed upstream in deno v1.10.3.

@hsjoberg hsjoberg closed this as completed Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant