I recently moved our web application from Google Appengine (python 2.7) to Nodejs/Firebase/Firestore.
When hosting on Google Appengine users could access the database (NDB) regardless if they were behind a corporate proxy or not.
Now, since switching to Firestore, users behind a corporate proxy cannot access their data that is stored in Firestore.
The answer here indicates that the user has to make some adjustments to their firewall configuration for applications using Firestore to work. So, at the very least, I'd like to indicate to the user that the application is not working because they need to make adjustments to their firewall.
How can I detect if the user is having trouble accessing the Firestore because of a proxy? Are any of the FirestoreErrorCodes triggered in this case?