Firewall Rules #170
Unanswered
Guilhermetmt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a problem when trying to connect my application to a client that uses a firewall on its network.
When testing on my local network, everything works exactly as expected. However, the problem arises on the customer's network. I'm using the "Firebase ESP32 Client by Mobizt" library version 4.4.14. I use the Arduino IDE Version 2.3.2 and the expressif version is 2.0.16.
I asked the network security department at the client to release the URL myaplication.firebaseio.com and port 443 in the Firewall.
Even with this release, I cannot connect to Firebase. Can anyone tell me if I'm forgetting something?
Detail I'm using RealtimeDatabase->Async->Callback
ChatGPT, suggest:
Allow Firebase Hostnames or IP Ranges
Firebase is hosted on Google Cloud, so you need to ensure the firewall allows traffic to Firebase’s servers. Google doesn’t always provide a fixed set of IP addresses, but you can allow traffic to Firebase using the following domains and ranges:
Firebase domains:
firebaseio.com
googleapis.com
gstatic.com
firebasestorage.googleapis.com
"Now it worked, but I had to remove the user authentication."
#ifdef NOAuth
initializeApp(aClient, app, getAuth(no_auth),asyncCB, "authTask");
#else
initializeApp(aClient, app, getAuth(user_auth), asyncCB, "authTask");
#endif
Beta Was this translation helpful? Give feedback.
All reactions