twitter4j tunneling


#1

Hi Everyone,

i am using twitter4j (2.2.5) to connect to api.twitter.com and stream.twitter.com

i am behind a firewall ,where my requests are proxied by a http proxy on statndard port (8080). proxy will not allow on port 443

as we want to make all commuications via https for twitter api , i modified the code like below

ConfigurationBuilder cb = new ConfigurationBuilder();
cb.setHttpProxyHost(“PROXY”);
cb.setHttpProxyPort(8080);
cb.setUseSSL(true);

my code does fails saying that (unable to tunnel through proxy)

is there any twitter4j releases which uses the CONNECT command to tunnel through the proxy? any suggestions?

Thanks
Prem