getting connection refused Exception using web socket
hamidrezaabroshan opened this issue · comments
When I run websocketDepth example, I'm getting ConnectionRefusedException.
This is the log:
starting
20:02:56.576 [main] DEBUG org.eclipse.jetty.util.log - Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
20:02:56.592 [main] INFO org.eclipse.jetty.util.log - Logging initialized @420MS to org.eclipse.jetty.util.log.Slf4jLog
20:02:56.809 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - WebSocketClient@d44e68e3[httpClient=org.eclipse.jetty.client.HttpClient@574caa3f,openSessions.size=0] added {org.eclipse.jetty.client.HttpClient@574caa3f,AUTO}
20:02:56.866 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.websocket.common.scopes.SimpleContainerScope@6aceb1a5 added {org.eclipse.jetty.util.thread.QueuedThreadPool@WebSocketContainer@1791930789{STOPPED,8<=0<=200,i=0,q=0},AUTO}
20:02:56.984 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting WebSocketClient@d44e68e3[httpClient=org.eclipse.jetty.client.HttpClient@574caa3f,openSessions.size=0]
20:02:56.987 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.client.HttpClient@574caa3f
20:02:56.988 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {SslContextFactory@63d4e2ba(null,null),AUTO}
20:02:57.000 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {org.eclipse.jetty.util.thread.QueuedThreadPool@HttpClient@1464642111{STOPPED,8<=0<=200,i=0,q=0},AUTO}
20:02:57.002 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {org.eclipse.jetty.io.MappedByteBufferPool@33a10788,POJO}
20:02:57.004 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@3aa9e816,AUTO}
20:02:57.004 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {org.eclipse.jetty.client.http.HttpClientTransportOverHTTP@17d99928,AUTO}
20:02:57.006 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {org.eclipse.jetty.util.SocketAddressResolver$Async@6fffcba5,POJO}
20:02:57.050 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting SslContextFactory@63d4e2ba(null,null)
20:02:57.050 [main] DEBUG org.eclipse.jetty.util.ssl.SslContextFactory - No keystore or trust store configured. ACCEPTING UNTRUSTED CERTIFICATES!!!!!
20:02:57.859 [main] DEBUG org.eclipse.jetty.util.ssl.SslContextFactory - Selected Protocols [TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
20:02:57.860 [main] DEBUG org.eclipse.jetty.util.ssl.SslContextFactory - Selected Ciphers [TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256] of [TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256]
20:02:57.860 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1690ms SslContextFactory@63d4e2ba(null,null)
20:02:57.860 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.util.thread.QueuedThreadPool@HttpClient@1464642111{STOPPED,8<=0<=200,i=0,q=0}
20:02:57.862 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1692ms org.eclipse.jetty.util.thread.QueuedThreadPool@HttpClient@1464642111{STARTED,8<=8<=200,i=2,q=0}
20:02:57.862 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@3aa9e816
20:02:57.865 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1695ms org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@3aa9e816
20:02:57.865 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.client.http.HttpClientTransportOverHTTP@17d99928
20:02:57.867 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.http.HttpClientTransportOverHTTP@17d99928 added {org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager@23ceabc1,AUTO}
20:02:57.867 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager@23ceabc1
20:02:57.868 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager@23ceabc1 added {org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0},MANAGED}
20:02:57.876 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - EatWhatYouKill@735b5592/SelectorProducer@724af044/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0} added {SelectorProducer@724af044,POJO}
20:02:57.876 [main] DEBUG org.eclipse.jetty.util.thread.strategy.EatWhatYouKill - EatWhatYouKill@735b5592/SelectorProducer@724af044/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0} created
20:02:57.877 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.io.ManagedSelector@4678c730 id=0 keys=-1 selected=-1 added {EatWhatYouKill@735b5592/SelectorProducer@724af044/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0},MANAGED}
20:02:57.877 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager@23ceabc1 added {org.eclipse.jetty.io.ManagedSelector@4678c730 id=0 keys=-1 selected=-1,AUTO}
20:02:57.877 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - EatWhatYouKill@6767c1fc/SelectorProducer@29ee9faa/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0} added {SelectorProducer@29ee9faa,POJO}
20:02:57.878 [main] DEBUG org.eclipse.jetty.util.thread.strategy.EatWhatYouKill - EatWhatYouKill@6767c1fc/SelectorProducer@29ee9faa/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0} created
20:02:57.878 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.io.ManagedSelector@c038203 id=1 keys=-1 selected=-1 added {EatWhatYouKill@6767c1fc/SelectorProducer@29ee9faa/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0},MANAGED}
20:02:57.878 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager@23ceabc1 added {org.eclipse.jetty.io.ManagedSelector@c038203 id=1 keys=-1 selected=-1,AUTO}
20:02:57.878 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0}
20:02:57.879 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1709ms org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0}
20:02:57.879 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.io.ManagedSelector@4678c730 id=0 keys=-1 selected=-1
20:02:57.879 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting EatWhatYouKill@735b5592/SelectorProducer@724af044/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0}
20:02:57.879 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1710ms EatWhatYouKill@735b5592/SelectorProducer@724af044/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0}
20:02:57.890 [main] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - queue org.eclipse.jetty.io.ManagedSelector$$Lambda$5/892529689@68c4039c
20:02:57.891 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1721ms org.eclipse.jetty.io.ManagedSelector@4678c730 id=0 keys=0 selected=0
20:02:57.891 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - run org.eclipse.jetty.io.ManagedSelector$$Lambda$5/892529689@68c4039c
20:02:57.891 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting org.eclipse.jetty.io.ManagedSelector@c038203 id=1 keys=-1 selected=-1
20:02:57.891 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.util.thread.strategy.EatWhatYouKill - EatWhatYouKill@735b5592/SelectorProducer@724af044/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0} produce
20:02:57.891 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting EatWhatYouKill@6767c1fc/SelectorProducer@29ee9faa/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0}
20:02:57.891 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1722ms EatWhatYouKill@6767c1fc/SelectorProducer@29ee9faa/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0}
20:02:57.892 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:02:57.892 [main] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - queue org.eclipse.jetty.io.ManagedSelector$$Lambda$5/892529689@ae45eb6
20:02:57.893 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1723ms org.eclipse.jetty.io.ManagedSelector@c038203 id=1 keys=0 selected=0
20:02:57.893 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - run org.eclipse.jetty.io.ManagedSelector$$Lambda$5/892529689@ae45eb6
20:02:57.893 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1723ms org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager@23ceabc1
20:02:57.893 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1723ms org.eclipse.jetty.client.http.HttpClientTransportOverHTTP@17d99928
20:02:57.893 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.util.thread.strategy.EatWhatYouKill - EatWhatYouKill@6767c1fc/SelectorProducer@29ee9faa/IDLE/org.eclipse.jetty.util.thread.ReservedThreadExecutor@100fc185{s=0,p=0} produce
20:02:57.893 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1723ms org.eclipse.jetty.client.HttpClient@574caa3f
20:02:57.893 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:02:57.893 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1723ms WebSocketClient@d44e68e3[httpClient=org.eclipse.jetty.client.HttpClient@574caa3f,openSessions.size=0]
20:02:57.896 [main] DEBUG org.eclipse.jetty.websocket.client.WebSocketClient - connect websocket com.smartsoft.binanceTerminal.Test$1@42d80b78 to wss://stream.binance.com:9443/ws/ethbtc@depth
20:02:57.945 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - org.eclipse.jetty.client.HttpClient@574caa3f added {HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=0,pool=null,MANAGED}
20:02:57.945 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - starting HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=0,pool=null
20:02:57.947 [main] DEBUG org.eclipse.jetty.util.component.ContainerLifeCycle - HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=0,pool=DuplexConnectionPool@64bfbc86[c=0/64,a=0,i=0] added {DuplexConnectionPool@64bfbc86[c=0/64,a=0,i=0],POJO}
20:02:57.948 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle - STARTED @1779ms HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=0,pool=DuplexConnectionPool@64bfbc86[c=0/64,a=0,i=0]
20:02:57.949 [main] DEBUG org.eclipse.jetty.client.HttpClient - Created HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=0,pool=DuplexConnectionPool@64bfbc86[c=0/64,a=0,i=0]
20:02:57.952 [main] DEBUG org.eclipse.jetty.client.HttpDestination - Queued HttpRequest[GET /ws/ethbtc@depth HTTP/1.1]@1e127982 for HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=1,pool=DuplexConnectionPool@64bfbc86[c=0/64,a=0,i=0]
20:02:57.952 [main] DEBUG org.eclipse.jetty.client.AbstractConnectionPool - Connection 1/64 creation
20:02:57.955 [main] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - queue org.eclipse.jetty.util.SocketAddressResolver$Async$$Lambda$7/555826066@66480dd7
20:02:57.955 [HttpClient@1464642111-10] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - run org.eclipse.jetty.util.SocketAddressResolver$Async$$Lambda$7/555826066@66480dd7
20:02:57.992 [HttpClient@1464642111-10] DEBUG org.eclipse.jetty.util.SocketAddressResolver - Resolved stream.binance.com in 34 ms
20:02:57.995 [HttpClient@1464642111-10] DEBUG org.eclipse.jetty.io.ManagedSelector - Queued change org.eclipse.jetty.io.ManagedSelector$Connect@398a1721 on org.eclipse.jetty.io.ManagedSelector@4678c730 id=0 keys=0 selected=0
20:02:57.995 [HttpClient@1464642111-10] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - ran org.eclipse.jetty.util.SocketAddressResolver$Async$$Lambda$7/555826066@66480dd7
20:02:57.995 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop woken up from select, 0/0 selected
20:02:57.996 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Running action org.eclipse.jetty.io.ManagedSelector$Connect@398a1721
20:02:57.997 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:03:00.577 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop woken up from select, 1/1 selected
20:03:00.579 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - selected sun.nio.ch.SelectionKeyImpl@7d5df3d9 org.eclipse.jetty.io.ManagedSelector$Connect@398a1721
20:03:00.583 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.client.HttpClientTransport - Could not connect to HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=1,pool=DuplexConnectionPool@64bfbc86[c=1/64,a=0,i=0]
20:03:00.586 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Queued change org.eclipse.jetty.io.ManagedSelector$Connect@3c673310 on org.eclipse.jetty.io.ManagedSelector@c038203 id=1 keys=0 selected=0
20:03:00.587 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:03:00.587 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop woken up from select, 0/0 selected
20:03:00.588 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Running action org.eclipse.jetty.io.ManagedSelector$Connect@3c673310
20:03:00.589 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:03:03.205 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop woken up from select, 1/1 selected
20:03:03.205 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - selected sun.nio.ch.SelectionKeyImpl@eb82d48 org.eclipse.jetty.io.ManagedSelector$Connect@3c673310
20:03:03.209 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.client.HttpClientTransport - Could not connect to HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=1,pool=DuplexConnectionPool@64bfbc86[c=1/64,a=0,i=0]
20:03:03.211 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Queued change org.eclipse.jetty.io.ManagedSelector$Connect@7fc2ef on org.eclipse.jetty.io.ManagedSelector@4678c730 id=0 keys=0 selected=0
20:03:03.212 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop woken up from select, 0/0 selected
20:03:03.212 [HttpClient@1464642111-12] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:03:03.213 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Running action org.eclipse.jetty.io.ManagedSelector$Connect@7fc2ef
20:03:03.214 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
20:03:05.770 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop woken up from select, 1/1 selected
20:03:05.770 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - selected sun.nio.ch.SelectionKeyImpl@2c746446 org.eclipse.jetty.io.ManagedSelector$Connect@7fc2ef
20:03:05.772 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.client.HttpClientTransport - Could not connect to HttpDestination[wss://stream.binance.com:9443]@5649fd9b,queue=1,pool=DuplexConnectionPool@64bfbc86[c=1/64,a=0,i=0]
20:03:05.777 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.client.AbstractConnectionPool - Connection 1/64 creation failed
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.doFinishConnect(SelectorManager.java:385)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:154)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.779 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.client.HttpExchange - Failed HttpExchange@256aa851 req=COMPLETED/java.net.ConnectException: Connection refused: no further information@19c1e16b res=COMPLETED/java.net.ConnectException: Connection refused: no further information@19c1e16b: req=true/rsp=true java.net.ConnectException: Connection refused: no further information
20:03:05.780 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.client.HttpExchange - Aborting while queued HttpExchange@256aa851 req=COMPLETED/java.net.ConnectException: Connection refused: no further information@19c1e16b res=COMPLETED/java.net.ConnectException: Connection refused: no further information@19c1e16b: java.net.ConnectException: Connection refused: no further information
20:03:05.781 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest - onComplete() - Result[HttpRequest[GET /ws/ethbtc@depth HTTP/1.1]@1e127982 > HttpResponse[null 0 null]@d02d819] java.net.ConnectException: Connection refused: no further information
20:03:05.782 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest - General Failure
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.doFinishConnect(SelectorManager.java:385)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:154)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.782 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest - Request Failure
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.doFinishConnect(SelectorManager.java:385)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:154)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.783 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest - Response Failure
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.doFinishConnect(SelectorManager.java:385)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:154)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.783 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.websocket.common.events.AbstractEventDriver - incomingError(java.net.ConnectException)
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.doFinishConnect(SelectorManager.java:385)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:154)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.783 [HttpClient@1464642111-13] ERROR com.webcerebrium.binance.websocket.BinanceWebSocketAdapterDepth - onWebSocketError: {}
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.doFinishConnect(SelectorManager.java:385)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:154)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.784 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.websocket.common.events.AbstractEventDriver - incomingError(org.eclipse.jetty.websocket.api.UpgradeException)
org.eclipse.jetty.websocket.api.UpgradeException: 0 null
at org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest.onComplete(WebSocketUpgradeRequest.java:520)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
at org.eclipse.jetty.client.HttpExchange.notifyFailureComplete(HttpExchange.java:269)
at org.eclipse.jetty.client.HttpExchange.abort(HttpExchange.java:240)
at org.eclipse.jetty.client.HttpConversation.abort(HttpConversation.java:141)
at org.eclipse.jetty.client.HttpRequest.abort(HttpRequest.java:748)
at org.eclipse.jetty.client.HttpDestination.abort(HttpDestination.java:447)
at org.eclipse.jetty.client.HttpDestination.failed(HttpDestination.java:227)
at org.eclipse.jetty.client.AbstractConnectionPool$1.failed(AbstractConnectionPool.java:122)
at org.eclipse.jetty.util.Promise$Wrapper.failed(Promise.java:136)
at org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:589)
at org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.connectFailed(AbstractConnectorHttpClientTransport.java:135)
at org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager.connectionFailed(AbstractConnectorHttpClientTransport.java:180)
at org.eclipse.jetty.io.ManagedSelector$Connect.failed(ManagedSelector.java:679)
at org.eclipse.jetty.io.ManagedSelector$Connect.access$500(ManagedSelector.java:646)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:184)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.784 [HttpClient@1464642111-13] ERROR com.webcerebrium.binance.websocket.BinanceWebSocketAdapterDepth - onWebSocketError: {}
org.eclipse.jetty.websocket.api.UpgradeException: 0 null
at org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest.onComplete(WebSocketUpgradeRequest.java:520)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
at org.eclipse.jetty.client.HttpExchange.notifyFailureComplete(HttpExchange.java:269)
at org.eclipse.jetty.client.HttpExchange.abort(HttpExchange.java:240)
at org.eclipse.jetty.client.HttpConversation.abort(HttpConversation.java:141)
at org.eclipse.jetty.client.HttpRequest.abort(HttpRequest.java:748)
at org.eclipse.jetty.client.HttpDestination.abort(HttpDestination.java:447)
at org.eclipse.jetty.client.HttpDestination.failed(HttpDestination.java:227)
at org.eclipse.jetty.client.AbstractConnectionPool$1.failed(AbstractConnectionPool.java:122)
at org.eclipse.jetty.util.Promise$Wrapper.failed(Promise.java:136)
at org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:589)
at org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.connectFailed(AbstractConnectorHttpClientTransport.java:135)
at org.eclipse.jetty.client.AbstractConnectorHttpClientTransport$ClientSelectorManager.connectionFailed(AbstractConnectorHttpClientTransport.java:180)
at org.eclipse.jetty.io.ManagedSelector$Connect.failed(ManagedSelector.java:679)
at org.eclipse.jetty.io.ManagedSelector$Connect.access$500(ManagedSelector.java:646)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:184)
at org.eclipse.jetty.io.ManagedSelector.access$1300(ManagedSelector.java:59)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:394)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:289)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:179)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
20:03:05.785 [HttpClient@1464642111-13] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector loop waiting on select
com.webcerebrium.binance.api.BinanceApiException: Websocket error: java.net.ConnectException: Connection refused: no further informationfinished
at com.webcerebrium.binance.api.BinanceApi.getWebsocketSession(BinanceApi.java:644)
at com.webcerebrium.binance.api.BinanceApi.websocketDepth(BinanceApi.java:656)
at com.smartsoft.binanceTerminal.Test.test(Test.java:19)
at com.smartsoft.binanceTerminal.App.main(App.java:17)