Is Bintray-Sbt working behind a proxy? #80
Comments
Hi @softprops, I might have this issue as well, is it possible bintray-sbt is discarding SBT_OPTS before it establishes a connection to Bintray? |
Hi @softprops, after some investigation it appears the problem is due to bintray-sbt not specifying proxy support when using dispatch. Do you agree? |
We've also got an issue with this - we are behind a proxy so this means we can't use the bintray-sbt plugin. Are there any plans to fix this @softprops ? Thanks. |
Hello guys. No, there are no plans. But if you want to step up and implement it, it should not be difficult. I'm here to help out if you get stuck. |
As a workaround you can directly configure the underlying client by passing the following properties when running sbt:
|
Closing as there is a workaround. If the workaround is troublesome, please open a new ticket where we can work on implementing a proper fix. |
Hi,
I'm trying to publish on bintray using sbt bintray. I get this error. I've configured my proxy as usual (JAVA_OPTS and SBT_OPTS). Have you got an idea?
[info] delivering ivy file to /home/giena/devt/work/scala/CCP/scaerospike/target/scala-2.11/ivy-1.2.2-SNAPSHOT.xml
java.util.concurrent.ExecutionException: java.net.ConnectException: connection timed out: api.bintray.com/75.126.118.184:443 to https://api.bintray.com/maven/worldline-messaging-bintray/maven/scaerospike/com/tapad/scaerospike/scaerospike_2.11/1.2.2-SNAPSHOT/scaerospike_2.11-1.2.2-SNAPSHOT.pom;publish=1;override=0
at com.ning.http.client.providers.netty.NettyResponseFuture.abort(NettyResponseFuture.java:342)
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:107)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:418)
at org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)
at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:140)
at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: connection timed out: api.bintray.com/75.126.118.184:443 to https://api.bintray.com/maven/worldline-messaging-bintray/maven/scaerospike/com/tapad/scaerospike/scaerospike_2.11/1.2.2-SNAPSHOT/scaerospike_2.11-1.2.2-SNAPSHOT.pom;publish=1;override=0
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:103)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:418)
at org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)
at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:140)
at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.netty.channel.ConnectTimeoutException: connection timed out: api.bintray.com/75.126.118.184:443
at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:137)
at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
error java.util.concurrent.ExecutionException: java.net.ConnectException: connection timed out: api.bintray.com/75.126.118.184:443 to https://api.bintray.com/maven/worldline-messaging-bintray/maven/scaerospike/com/tapad/scaerospike/scaerospike_2.11/1.2.2-SNAPSHOT/scaerospike_2.11-1.2.2-SNAPSHOT.pom;publish=1;override=0
The text was updated successfully, but these errors were encountered: