šŸ‘‹ I started seeing some illegal invocation errors from my logging tail worker. i am currently using

šŸ‘‹ I started seeing some illegal invocation errors from my logging tail worker. i am currently using the datadog client to forward my tail worker logs to my datadog. i have updated wrangler and the datadog client but the issue still persists. has anyone encountered a similar issue before? Thank you!
14 Replies
Unknown User
Unknown Userā€¢4mo ago
Message Not Public
Sign In & Join Server To View
Hello, Iā€™m Allie!
IIRC Service Bindings spawn in the same isolate
Unknown User
Unknown Userā€¢4mo ago
Message Not Public
Sign In & Join Server To View
Wallacy
Wallacyā€¢4mo ago
Maybe I'm wrong here, but service binding will act like a lazy load, yes. They spawn in the same isolate, but only load after the first interaction. I did a test while ago and was what i observed, but i cant remember all details right now. Also you can do lazy load whiteout service binding. Just a normal javascript lazy module works ( await import()) do the trick. My graphql engine for example needs 250-350ms to load, i save the state on module var and pay this "price" only on the first interaction if occurs. You need to make sure to never reuse anything from the old request object between invocation btw. Its a very standard V8+ES_Modules life time circle as far i can tell. I prefer to use lazy module load vs service binding before i hit the worker size limit.
Unknown User
Unknown Userā€¢4mo ago
Message Not Public
Sign In & Join Server To View
Wallacy
Wallacyā€¢4mo ago
Yes, pretty much.
alpha328
alpha328ā€¢3mo ago
Hi guys. I am developing bet code converter with React. it is need to web scraping. Is there anyone who has experience in scraping with JS?
Suman!
Suman!ā€¢3mo ago
Hey guys, I am getting this error when running test with vitest. I have set the new_sqlite_classes in migrations but still get this error. I would like to know where exactly to set enableSql = true ? -> To enable it, set enableSql = true in your workerd config for the class. If using wrangler, under [[migrations]] in wrangler.toml, change new_classes to new_sqlite_classes. Note that this change cannot be made after the class is already deployed to production. Thanks in advance
kamlesh
kamleshā€¢3mo ago
Hi everyone! Does anyone know how to disable or remove the data-cfsrc tag? It automatically applies on mobile devices.
kfll
kfllā€¢3mo ago
Try disabling the Image Optimization features like Mirage.
No description
jed
jedā€¢3mo ago
kinda feels like at this point we should just take the last d off of this channel name.
Eduardo Piasson
Eduardo Piassonā€¢3mo ago
Good morning everyone, I have a situation here at the company I work for. They fired a devops who had access to everything, now when trying to access the SSL/TSL menu we are getting an automatic renewal API error. Something like that... How can we solve this?
Unknown User
Unknown Userā€¢3mo ago
Message Not Public
Sign In & Join Server To View
Eduardo Piasson
Eduardo Piassonā€¢3mo ago
Sorry I didn't know that. But the problem has been solved...
Want results from more Discord servers?
Add your server