Introduction
If you're a developer based in India or have a large user base there, you might have recently experienced a sudden and unexplained outage in your Supabase projects. Specifically, users connected to the Jio network (JioFiber, Jio Mobile, and Jio AirFiber), India’s largest ISP, started reporting major connection timeouts and failed DNS requests to Supabase APIs.
While the Supabase dashboard remained accessible for most, backend data, authentication, and storage endpoints simply stopped resolving for millions of users. In this post, we’ll break down exactly what happened, why it happened, and the immediate solutions you can implement to keep your app running smoothly.
Problem
Developers first noticed the issue when frontend applications suddenly couldn't access backend data. Tokens were burning out, signups were throwing errors, and database requests were timing out. Upon further investigation, the pattern became clear: the problem was isolated almost entirely to users on the Jio network, particularly for projects hosted in the AP-south-1 (Mumbai) region.
The root cause of this outage was a DNS-level block by the ISP. Jio’s default DNS resolvers began failing to resolve the *.supabase.co domains.
Because it was a DNS routing/blocking issue on the ISP's end rather than a server crash on Supabase's end, developers found that switching networks (to Airtel or Vodafone) or using a VPN immediately restored connectivity. Unfortunately, you cannot expect your average user to install a VPN or switch their ISP just to use your app. When an ISP with the massive market share of Jio blocks your database's domain, your app is effectively dead in the water for a huge chunk of your audience.
Solution
Since the block occurs at the DNS resolution level on Jio's default servers, the fix requires bypassing their DNS or routing your traffic through a domain that Jio hasn't blocked. Here are the most effective solutions:
Using a Cloudflare Worker (Recommended Proxy)
One of the fastest ways to get your app back online is to route your Supabase API calls through a Cloudflare Worker. By proxying the requests, the traffic goes to a Cloudflare worker domain (which Jio allows) and then Cloudflare securely routes it to Supabase.Custom Domains via Cloudflare
While Supabase offers custom domains, their default custom domain implementation still routes through their infrastructure. A more robust solution is to use a service like Supabyoi or manage your own custom subdomain entirely on Cloudflare’s network. By keeping the DNS entirely on Cloudflare’s edge, Jio’s resolver issues won't affect your endpoint.Changing DNS Servers (For Local Development)
If you are a developer just trying to get back to work, you can easily bypass the block on your local machine by changing your network's DNS settings. Switching from Jio's default DNS to Google's (8.8.8.8) or Cloudflare's (1.1.1.1) instantly resolves the domain routing issue.
Tips/Best Practices
To prevent your application from crashing due to unexpected ISP blocks in the future, consider these best practices:
- Don't Rely Solely on Default Provider Domains: Whenever possible, use custom domains for your production apps. It adds an extra layer of abstraction between your backend provider's default domain (which might get caught in a blanket block) and your users.
- Implement Robust Error Handling: Make sure your frontend gracefully handles API timeouts. Instead of a blank screen or a cryptic "Token Error," show users a friendly message.
- Set Up External Uptime Monitoring: Don't just ping your app from one region. Use global uptime monitors that test your API endpoints from various global ISPs (including Indian networks) to detect regional blocks early.
- Communicate Quickly: If your app goes down due to an ISP issue, immediately put up a banner on your site or update your status page. Informing users that the issue is related to their specific network provider can reduce frustration and support tickets.
Conclusion
The sudden Jio block on Supabase is a stark reminder of how fragile web infrastructure can be when ISPs step in. A simple DNS block can sever the connection between your frontend and backend, causing immediate downtime for thousands of users.
By utilizing Cloudflare Workers, setting up proper custom domains, and implementing robust error handling, you can insulate your application against these unpredictable ISP-level routing issues. Stay proactive, monitor your uptime across different networks, and never assume that a working server means a reachable server.
Top comments (0)