SupabaseS
Supabase2y ago
iba

DNS error in edge-runtime container (rootless Docker in WSL2)

Hi, I'm seeing the following error in the edge-runtime Docker container on my local machine (it happens when trying to load dependencies defined in my Edge function):
error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
An error has occured
InvalidWorkerCreation: worker boot error


I'm running rootless Docker in Windows WSL2, after I failed to get Docker for Windows working (there is an open bug on Github). I'm wondering if someone is using the same set up and got it working?

Notes:
  • Networking otherwise seems to work ok in WSL (e.g. I can ping, curl etc. external hosts)
  • I got an error during rootless Docker install so I had to use --skip-iptables option.
  • I tried starting Docker with --iptables option to override the --skip-iptables which was set during installation, but it didn't help.
  • I tried setting generateResolvConf=false in /etc/wsl.conf and using a custom nameserver (Cloudlfare) in /etc/resolv.conf, but it didn't help.
  • I tried starting supabase with --dns-resolver https option, but it didn't help.
Was this page helpful?