Java SDK and proxy

171 views
Skip to first unread message

Matthieu Nantern

unread,
Jun 30, 2016, 10:35:21 AM6/30/16
to Firebase Google Group
Hi !

I have seen in an old thread (2014) that the java client doesn't support connection through proxy.

Is it still true with firebase-server-sdk 3.0 ? Even with environment variables ?


Thank you !

Michael Lehenbauer

unread,
Jul 6, 2016, 7:34:54 PM7/6/16
to Firebase Google Group
Hi Matthieu,

Unfortunately, this is probably still true.  Internally we just create a standard java Socket and don't have any logic to connect through a proxy instead.  I *think* you can tell the JVM to use a SOCKS proxy with the socksProxyHost / socksProxyPort JVM settings (see http://docs.oracle.com/javase/7/docs/technotes/guides/net/proxies.html), but unfortunately you probably can't use an HTTP proxy.  We'll look into adding support for this in the future.

Thanks!
-Michael

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/b81c9dce-914d-45d1-b608-0e71fc47513f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages