Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Pages deployment fail clone repo error

pages not building git clone is wrong pages put An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH. (Code: 8000000)...

Git Cloning for more than 5 minutes, and then Failing with Error 8000000

Pages.dev: kkutu-io-static.pages.dev Deployment ID: N/A Error Code: 8000000 Hi there,...
No description

Get a Generic "Unknown Error Occurred" when trying to deploy a Gatsby site to Cloudflare pages

I've had no issues deploying sites in the past, but now I am getting a generic "An unknown error occured. Contact your account team or Cloudflare support" with error code 8000000 when trying to deploy a new Gatsby static site. I am trying to deploy via the Github integration, and have already tried to remove the CF Pages app from github and re-add it, but that didn't help anything. Account ID: b1033dd8128d617f975d2fb00423ff15...
No description

I can't get my server-side environment variables to work with my Next.js app.

I added my environment variables to production and preview and both are undefined when I call process.env.MY_VARIABLE in middleware.ts

Pages "Worker threw exception Error 1101"

Hi guys, I have semi-successfully deployed my SvelteKit application to Cloudflare Pages (connected via GitHub repository). It tells me in the logs that the build was successful, however when I go to the URL it tells me it's not working! D: (see attached)...
No description

wrangler pages deploy "Deployment complete" deployment failed (2)

I'm having the same problem reported in an earlier thread. I can upload successfully with wrangler pages deploy but in the dashboard the deployments fail without a message. Account id: 7b232cd3fa1848522d302549ae860229....

[TS] Passing object/data from CF Functions middleware to function handlers

I would like to setup Prisma in a functions _middleware.ts like: ``` import { PrismaClient } from '@prisma/client'; import { PrismaD1 } from '@prisma/adapter-d1'; ...

KV & Pages not binding

I had this working previously, but unsure what has changed... I have a remix pages application where in my loader im using a KV store that i had created through the dashboard. Im running await context.env.KV_SITE_CONFIGS.get('ABC123', { type: 'json' }) and my remix app is running fine locally (I have created the .wrangler state files so this works fine locally). But when pushing to either preview or production environments with my command wrangler pages deploy ./public --branch master --commit-hash $CI_COMMIT_HASH --project-name ui-example Ive updated my wrangler so i use the new wrangler.toml which is below. I know its this call to KV that is the issue as removing it allows my application to load. It doesnt give me a good error response though so cannot identify the issue myself and assume its to do with binding issues. Ive already checked my binding IDs are correct and the data in the dashboard is also populated & the pages app is also binded through the dashboard. also running the kv command directly also works fine: wrangler kv:key get ABC123 --binding=KV_SITE_CONFIGS Id really appreciate some ideas please. ``` name = "ui-example"...

ERR_TOO_MANY_REDIRECTS - How to fix it?

Hello everyone! Now that I have set up Cloudflare and have also set up the nameservers with my registrar as per Cloudflare's instructions, I am getting the following error when trying to access my website: This page does not work. ...

wrangler pages deploy "Deployment complete" deployment failed

Hi, I am getting the same deployment failed error in dashboard but have no ways to debug what went wrong. I did test deployment on an older commit and it seems to work fine, so I don't think it's related to the new wrangler.toml changes either. Also local preview works fine via wrangler pages dev ./dist/client. ``` 🌍 Uploading... (24/24)...

Failed to read wrangler.toml file

Failed: unable to read wrangler.toml file with code: 1
Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
Failed: unable to read wrangler.toml file with code: 1
Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
wrangler.toml in question: ...

How to connect CF Pages to self-hosted GitLab instance

See title. It's possible to connect to GitLab.com, but I couldn't find a way to connect to a self-hosted instance. Any guidance?

Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH

I've see multiple Failed: an internal error occurred errors here, but non of them helped me track down why my app is giving me the same. Unfortunately there is no detailed error log, it just gives me: ``` 22:53:42.785 Success: Finished cloning repository files 22:53:44.548 wrangler.toml config file detected...

(Relatively) high latency compared to other services

I noticed that Cloudflare Pages latency is (relatively) quite a bit high compared to Vercel and Netlify. I sent 100 requests to each of these providers and measured the latency to download a txt file containing just Hello!, only counting requests that used an already established connection to the server: Vercel:...

Free tier - Usage limits/going over them?

I've looked around the website and couldn't find anything regarding what happens if you exceed usage limits. Is it possible to inadvertently owe money by exceeding limits on the free tier? (assuming of course you don't use any features that charge you money up front, and it's just static html/css) I want to avoid the Netlify situation....

Specifying a `-- <command>` or `--proxy` is deprecated and will be removed

Recently noticed this warning when running wrangler pages dev -- vite:
[WARNING] Specifying a `-- <command>` or `--proxy` is deprecated and will be removed in a future version of Wrangler.

Build your application to a directory and run the `wrangler pages dev <directory>` instead.
This results in a more faithful emulation of production behavior.
[WARNING] Specifying a `-- <command>` or `--proxy` is deprecated and will be removed in a future version of Wrangler.

Build your application to a directory and run the `wrangler pages dev <directory>` instead.
This results in a more faithful emulation of production behavior.
...

How do I configure a Turbo project?

Hi, I’m migrating from Vercel and I need to configure a Turbo project. How can I did this?...

Can't access RPC Service Bindings in local (next dev)

i'm trying to access a Service binding (RPC) in my Next-on-Pages. My wrangler.toml looks like this: ```# Generated by Wrangler name = "tx" pages_build_output_dir = ".vercel/output/static"...

NextJS + Pages plugin error

so here is my current code that is located
@/src/app/api/contact/route.ts
@/src/app/api/contact/route.ts
``` import turnstilePlugin from '@cloudflare/pages-plugin-turnstile'; import mailChannelsPlugin from '@cloudflare/pages-plugin-mailchannels';...
No description