I'm self hosting, and building dart functions fails even though the server connection is fine. I'm able to ping pub.dev
any chance you can try making a curl from inside the runtime container?
It seems to be related with ipv6. I assigned an ipv4 address to my server and it started working, I removed the ipv4 address and it started failing again
Whoa weird...I've definitely seen disabling ipv6 as the solution to a lot of network related problems 😅
Unfortunately in my case I need to run appwrite in ipv6 only servers
Is this worth opening an issue about? No idea if it's an appwrite or docker problem
I'm leaning towards it being a docker problem. Maybe you need to configure something more? I don't know much about ipv6
If you spin up a dart container, does it have this problem too?
Yes
Looks like docker needs additional configuration for containers to work with ipv6
to anyone that comes across this problem in the future, here's how to fix it
edit /etc/docker/daemon.json to contain these values
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64",
"experimental": true,
"ip6tables": true
}```
restart docker `sudo systemctl restart docker`
edit appwrite's `docker-compose.yml` runtimes network to this
```runtimes:
name: runtimes
enable_ipv6: true
ipam:
config:
- subnet: 2001:0DB8::/112```
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...