Having the same issue. HBC tries to connect to a non HTTPS endpoint.
org.apache.http.conn.ConnectTimeoutException: Connect to stream.twitter.com:80 timed out
Any updates on how to fix this?
Update: For anyone else trying to debug this… it turns out the com.amazonaws:aws-java-sdk requires version 4.2 of org.apache.httpcomponents:httpclient, which has a bug that doesn’t respect the scheme of a URL when using DecompressingHttpClient. This issue was fixed in 4.2.1, see https://issues.apache.org/jira/browse/HTTPCLIENT-1200.
I had to exclude the old dependency on com.amazonaws:aws-java-sdk and let com.twitter:hbc-core use its newer dependency.