
Publishing a function deployment on your own Appwrite server will give an error
Docker Error: Preparing for build ... Resolving dependencies... It looks like pub.dartlang.org is having some trouble. Pub will wait for a while before trying to connect again.

Can you ping/connect to pub.dartlang.org?

I can not

I think you will need then to manually download dependencies, etc throught another way

It looks like you’ll have to configure a mirror - https://docs.flutter.dev/community/china

You’ll need to see some envvars, and it looks like you’ll have to build Flutter manually, or something?

It’s probably possible for Appwrite to integrate this into the runtime

But until that happens, you’ll need to do some manual configuration

Yes, I solved it now by setting the variable in the method

[SOLVED] build dart function not support china
Recommended threads
- Appwrite CLI
I try to deploy a function using Appwrite CLI but it says: `appwrite functions createDeployment ^ --functionId=xyz^ --code="." ^ --activate error: u...
- Cloud Functions Executions partially dow...
Yesterday we reported a wide Function-Downtime. Today we have the same - just not wide-spread across all functions. DEV is down - Prod still working. Its the s...
- Appwrite Functions Generally Down?
We are getting customer support requests, that our service is down. We tried to pinpoint it, and we can't see any logs of any appwrite cloud function in the pas...
