Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Does Http Proxy work?

$
0
0

Hi All,

 

I'm using Smack 3.2.0

 

I have this code:

 

ProxyInfo proxyInfo = new ProxyInfo(ProxyInfo.ProxyType.HTTP, proxyHost,

                    proxyPort, proxyUser, proxyPassword);

 

config = new ConnectionConfiguration("jabberclust.somedomain.com", 443, proxyInfo);

 

config.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);

config.setCompressionEnabled(true);

config.setSASLAuthenticationEnabled(true);

 

config.connect()

 

I run wireshark and see that all my traffic is being made directly to the OpenFire server and not through the proxy (when I use wireshark for http connections through a proxy, I see traffic only going to the proxy)

 

I did some digging and found some conflicting posts, some of the posts suggest that this functionality is not supported.

 

So what is the latest? Does this actually work in 3.2.0? Should I upgrade?

 

thanks


Viewing all articles
Browse latest Browse all 10742

Trending Articles