-
Notifications
You must be signed in to change notification settings - Fork 774
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
🐛 BUG: JSG lock error when running locally #3289
Comments
I get the same error intermittently on macOS with remix-run 1.16.1
|
I ran into this too.
I am running MacOS, wrangler Edit: In case it's a point of curiosity, I wasn't running remix at all, this was all cloudflare workers running locally. |
Thanks for reporting this! Would you be able to post a minimal reproduction, and we can investigate further? |
The minimal repo is to create a Remix app on Cloudflare Pages and upgrade it to wrangler 3.0.0. It fails when running it:
The error in the first post was when trying to connect to a db to fetch some data. |
Similar intermittent error upon requests using wrangler 3.0.1 on macOS Ventura 13.3 & 13.4, and using Remix 1.16.1 with the Cloudflare Pages adapter.
|
Same for me in a cloudflare worker / proxy project using wrangler
uname: |
Same for me with wrangler 3.0.1 and macOS 13.4 Beta (22F5037d) workerd/jsg/jsg.c++:133: error: took recursive isolate lock; kj::getStackTrace() = 102b6723b 102e08017 102e2af97 102e2af1b 104253e03 10309fe0b 10300788f 103007ab7 10422668f 102ef798b 1042269b7 102ef8477 1042269b7 102ded257 104228337 1042269b7 102dede4b 104227663 10422668f 102deea7f 1042269b7 102deebab 104227663 10422668f 102deef8f 1042269b7 102df022f 104227663 10422668f Usually in comparison with streaming, as in |
running into the same issue running CF worker on macOS Apple M2 Pro chip with Ventura 13.3.1 seems to happen intermittently when calling the same endpoint that returns a stream from OpenAI |
also getting this, Ventura 13.4.1, wrangler 3.1.1 |
Just upgraded to Remix 1.18.0 with wrangler 3.1.1 and still getting the error:
|
I can confirm this is still happening, wrangler@beta and running Arch Linux. |
i got this too
|
I'm getting the same error with Wrangler v3.1.1/macOS 13.4.1 (arm)
|
I'm getting the same error with |
FYI @rodbs, that specific error is probably remix-run/remix#6665. |
This error occurs for me without Remix. export default {
async fetch() {
await fetch("https://google.com.au/");
return new Response("Hello, world!");
},
} satisfies ExportedHandler; I use NixOS, and have created a reproduction at scottwillmoore/cloudflare-workers-with-nix, although I don't know if it will help much as Nix can be difficult to use for first-time users. EDIT: My reproduction uses |
Oh, I should mention, I do get this error intermittently too, on Ubuntu 22.04.2 LTS. Wrangler v3.2.0, under Remix with command |
@scottwillmoore try |
@chr33s The |
cloudflare/workerd#706 (comment) I see lots of these warnings when making multiple requests to the Cache API |
@scottwillmoore true, my usecase was local files. I missed the "google.com.au" bit. |
I get the Also, I didn't notice anything not working. Everything in my app still works fine, I can't see any request timeouts or stuff. |
still an issue with wrangler 3.17.1, even after #1415 got merged - I'm seeing the following over and over...
|
Also getting this in 3.19.0:
(This seems to be the only "non-actionable" warning left now that a bunch have been cleaned up...) |
I'm also experiencing this issue with version 3.18.0. I'm unsure how to resolve it, but here's the log for reference.
|
Hey everyone! 👋 This error isn't user actionable, and was meant for internal debugging (cloudflare/workerd#706 (comment)). As of |
Anyone having this issue on NixOS, use export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt as suggested here https://github.com/scottwillmoore/cloudflare-workers-with-nix?tab=readme-ov-file Or add this to your home-manager config {
home.sessionVariables = {
SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt";
};
} |
Which Cloudflare product(s) does this pertain to?
Wrangler
What version of
Wrangler
are you using?3.0.0
What operating system are you using?
Windows 10
Describe the Bug
I'm trying to run Remix (1.16.1) on Pages locally (Win10(. It works with Wrangler 2, but after upgrading to Wrangler 3, it doesn't work producing several errors:
The text was updated successfully, but these errors were encountered: