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
Astro DB on Cloudflare: Build fails with "Cannot create a remote client: missing app token" error. #10872
Comments
We had some downtime earlier today. Can you confirm that you're still experiencing this? |
@matthewp still seeing both the errors.
|
@pMay2021 are you providing the environment variable |
Locally they would not need the token, it gets retrieved as long as they are logged in. @pMay2021 Can you try logging in again locally? I doubt that's the problem but would help to isolate. |
Hi @matthewp what do you mean "login locally"? There's no issue on my local machine. But unfortunately this morning I'm hitting the
Stackblitz reproduction I'm unable to reproduce on Stackblitz. Astro DB doesn't install. I get an error saying
and when I tried to install manually, I get:
here's the link to a very basic project: https://stackblitz.com/edit/github-wdwm38?file=astro.config.mjs (it won't built and fails with an error) I have a question - how do I make the remote database connection work from Stackblitz? I've created a temp token on Studio, do I give it to you to paste it in a .env? (PS - I apologize if I'm missing something basic. I'm new to a lot of this--but I love Astro though!). |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
My Cloudflare account deploys automatically on GitHub checkin.
Astro DB works fine local and with --remote (though I've been seeing some ENETUNREACH today but let's park that).
Deployment on Cloudflare fails with the following error:
ASTRO_STUDIO_APP_TOKEN
= value, is set on Cloudflare settings.My configuration is this:
Not sure what else to do.
What's the expected result?
Build to complete and deploy.
Link to Minimal Reproducible Example
It's on my CF deployment.
Participation
The text was updated successfully, but these errors were encountered: