URGENT: Serverless runtimes corrupted on some regions
See original GitHub issueVerify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022
Binaries:
Node: 16.14.2
npm: 8.0.0
Yarn: 1.22.18
pnpm: N/A
Relevant packages:
next: 12.1.4
react: 18.0.0
react-dom: 18.0.0
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
atob
/btoa
functions are not available on Vercel serverless runtime in some regions.
This caused auth to break on our project because auth library relies on globalThis.atob
.
Expected Behavior
I would expect atob
/btoa
to be available as described:
https://vercel.com/docs/concepts/functions/edge-functions#runtime-apis
To Reproduce
It can’t safely be reproduced since some regions are corrupted while others are good. We use the same auth and same functions on 2 projects.
The first one works, the second one doesn’t because it doesn’t have atob
/btoa
.
Keep in mind it all works locally since we run native Node.js runtime.
As a temporary solution, I polyfilled them.
Thanks!
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Lambda runtimes - AWS Documentation
Learn about the languages that Lambda supports through runtimes. ... For new regions, Lambda will not support runtimes that are set to be...
Read more >Process Events with Kinesis and Lambda - Thundra Blog
In this guide we will learn the basics of stream processing with AWS Kinesis and Lambda, as serverless is perfectly suited for such...
Read more >Sledge: a Serverless-first, Light-weight Wasm Runtime for the ...
The Wasm sandbox ensures that logic within the runtime cannot maliciously or accidentally corrupt memory or control outside of the sandbox. Each Wasm...
Read more >Azure Synapse Analytics pricing
Limitless analytics with unmatched time to insight · Explore pricing options · Data Pipelines · Data Flows · Operation charges · Serverless ·...
Read more >AWS Lambda Functions - Serverless Framework
runtime : python2.7 # optional overwrite, default is provider runtime ... Action: # Gives permission to DynamoDB tables in a specific region.
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 FreeTop 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
Top GitHub Comments
No specific ETA is available currently, adding global polyfills in the meantime should be safe until v16 support is available.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.