Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

firebase android app not working with mobile data

My Firebase Android app is not working whenever I connect with mobile data. All features such as auth, database and storage are unreachable. I am currently in India, using an Aircel sim. Is the problem from Firebase server or my network provider.

Error in logcat says:

Network error (such as timeout, interrupted connection or unreachable host) has occurred

Works on wifi though, dunno why

like image 439
Anand Rajput Avatar asked Nov 19 '22 14:11

Anand Rajput


2 Answers

Firebase server does not have any restrictions on internet connection. This would be your mobile internet provider's issue. Also, it would be worth checking whether have any settings in mobile device is enabled to restrict mobile data usage for any specific apps like to use Wifi only.

PS: I'm from India, use Airtel and Vodafone mobile data connections often for Firebase based apps when Wifi is not around . But occasionally faced similar issues when don't have sufficient signal range especially changes to 2G.

like image 191
user2695433 Avatar answered Nov 21 '22 04:11

user2695433


I got same kind of problem, (images are not downloading from Firebase Storage, over mobile data) using from Bangladesh.

So,I mailed it to 'Firebase' & they give me these solution, "Please, try to use a VPN, in similar cases like this it worked and reduced the scope of the issue."

Then, I used VPN with my Mobile data & everything worked fine. :)

like image 35
Shakhawat Hossain SHIHAB Avatar answered Nov 21 '22 05:11

Shakhawat Hossain SHIHAB