18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Connection timed out Problem...
When I'm testing my page with sahi (the version of 20080325), I meet a problem...
I built a project for sahi source and want to debug it in order to understand its operating principle, but after starting sahi, it began to connect socket, when connetcting some socket, the problem occurred:
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:78)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestProcessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProcessor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProcessor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
I think these sockets take charge of listening page operating events in browser and record these events as scripts, when socket connection timed out, maybe some events cannot be recoreded......
How can I resolve this problem to ensure the completeness of my test record?
Regards,
1982yang
I built a project for sahi source and want to debug it in order to understand its operating principle, but after starting sahi, it began to connect socket, when connetcting some socket, the problem occurred:
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at net.sf.sahi.util.SocketPool.get(SocketPool.java:78)
at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestProcessor.java:133)
at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProcessor.java:128)
at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProcessor.java:112)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:69)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:62)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:110)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:76)
at java.lang.Thread.run(Unknown Source)
I think these sockets take charge of listening page operating events in browser and record these events as scripts, when socket connection timed out, maybe some events cannot be recoreded......
How can I resolve this problem to ensure the completeness of my test record?
Regards,
1982yang