bmp proxy timeouts

259 views
Skip to first unread message

Pankaj Kumar

unread,
Jul 28, 2016, 1:53:16 PM7/28/16
to BrowserMob Proxy
Hi All,

I am facing timeout issues when the application is responding slow even though i have set readTimeout and connectionTimeout to a higher value or 0.
Below are the exceptions i am facing 

1.
leProxy-5-ProxyToServerWorker-6) No content type specified in response from 
/fonts/icomoon.woff. Content will be treated as application/octet-stream
org.littleshoot.proxy.impl.ProxyToServerConnectio
n] (LittleProxy-5-ProxyToServerWorker-3) (CONNECTING) [id: 0x28ac50aa]: Connecti
on to upstream server failed java.net.ConnectException: Connection timed out: no
 further information: <server>/<server_ip>:443
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_91
]
        at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[?:1.8.0_
91]
        at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocke
tChannel.java:329) ~[browsermob-dist-2.1.2.jar:?]
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConne
ct(AbstractNioChannel.java:334) [browsermob-dist-2.1.2.jar:?]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.jav
a:588) [browsermob-dist-2.1.2.jar:?]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEve
ntLoop.java:512) [browsermob-dist-2.1.2.jar:?]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.ja
va:426) [browsermob-dist-2.1.2.jar:?]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398) [browser
mob-dist-2.1.2.jar:?]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThread
EventExecutor.java:877) [browsermob-dist-2.1.2.jar:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]

2.

org.littleshoot.proxy.impl.ProxyToServerConnectio
n] (LittleProxy-5-ProxyToServerWorker-3) (CONNECTING) [id: 0xcb4439a7]: Connecti
on to upstream server failed java.nio.channels.ClosedChannelException
        at io.netty.channel.nio.AbstractNioChannel.doClose()(Unknown Source) ~[b
rowsermob-dist-2.1.2.jar:?]

I am using the bmp proxy with protractor/nodejs.
Could you please help me resolve this issue

je...@outlook.com

unread,
Jul 31, 2016, 3:13:48 PM7/31/16
to BrowserMob Proxy
Well, as the message indicates, it looks like the connection is timing out when connecting to the upstream server. Are you able to connect to the upstream server directly? Can you verify on the upstream server side that it's receiving the connection?

Pankaj Kumar

unread,
Aug 1, 2016, 1:49:58 PM8/1/16
to BrowserMob Proxy
Hi Jekh,

Upstream server (application/web under test) is responding well when i tried to browse it directly.
I also monitored that even though i have updated the timeout to higher value/0 still the browsermobproxy server gives below timeout in very less time <60 seconds)
Reply all
Reply to author
Forward
0 new messages