S
Supabase2mo ago
Bob365

Database hostname not found

Hi, I am very confused on how to solve this error. I have verified the below details. 1. Yes I am connected to WiFi. 2. Yes the project is running on supabase (not paused) 3. The URL and API key is correct in my code This is a flutter application running on android. It was working perfectly around 1month ago, I come back to it yesterday and I get this error, even though no changes were made in the code Would appreciate help in resolving this please.
No description
15 Replies
ihm40
ihm402mo ago
Supabase Docs | Troubleshooting | Supabase & Your Network: IPv4 and...
Supabase is the Postgres development platform providing all the backend features you need to build a product.
Bob365
Bob365OP2mo ago
I went through it and I am using the client library supabase_flutter. So I am unsure why it isn't working still. The limit in settings for pooling is set to 30 (max limit for free plan)
ihm40
ihm402mo ago
what version of the cli are you on
inder
inder2mo ago
Are you by any chance in UAE region? This seems to a DNS issue
Bob365
Bob365OP2mo ago
Yes, I am in UAE
Bob365
Bob365OP2mo ago
oh
inder
inder2mo ago
If this app is in production, you can setup a reverse proxy to mitigate this https://github.com/singh-inder/proxy-to-supabase-cloud if you're only running locally then you can change DNS server to 1.1.1.1, that has worked for many users
Bob365
Bob365OP2mo ago
Will try the DNS method as its currently in dev stage Thank you
inder
inder2mo ago
Are you also on Etisalat/Du network or some other network?
Bob365
Bob365OP2mo ago
DU
inder
inder2mo ago
@Bob365 Sorry to ping you but if you replace supabase.co with supabase.in in your supabase url, are you able to connect to supabase? Make sure to reset your DNS settings
Bob365
Bob365OP2mo ago
will give that a try Yes it does work I am able to login and use the database with supabase.in @inder this resolved my issue. Thank you so much for the help
inder
inder2mo ago
Another supabase user found out about this workaround. All thanks to him https://discord.com/channels/839993398554656828/1412456024912302171 @Bob365 Hi bob, I had a chat with supabase support about this and they don't recommend to use supabase.in for the ISP issue. If you're working locally, then back to previous solution - update DNS server to 1.1.1.1 and use proxy in production
Bob365
Bob365OP2mo ago
will do. thank you

Did you find this page helpful?