You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My application tried to access Firebase Realtime DB behind corporate HTTP(S) proxy, but failed. FIRAuth returned user information (AuthDataResult), but FIRDatabase did not returned any data.
I'm afraid FIRDatabase does not use HTTP(S) but webSocket.
Could it be supported to access the DB behind the proxy?
Unfortunately, the Realtime Database does not support HTTP(S) proxies and we've shifted our development focus to Firestore.
Firestore uses gRPC for transport, and that does support proxies. You can set one by setting the http_proxy environment variable. We don't yet directly support reading proxy configuration from the system, but this is something that's straightforward to wire together using an approach like this one: https://stackoverflow.com/a/11540930/6253640.
Environment
Problem
My application tried to access Firebase Realtime DB behind corporate HTTP(S) proxy, but failed. FIRAuth returned user information (AuthDataResult), but FIRDatabase did not returned any data.
I'm afraid FIRDatabase does not use HTTP(S) but webSocket.
Could it be supported to access the DB behind the proxy?
I'm using iOS - Swift to build my application. AuthDataResult is defined as follows: https://firebase.google.com/docs/reference/swift/firebaseauth/api/reference/Classes/AuthDataResult?hl=ja
The text was updated successfully, but these errors were encountered: