18 January 2026:


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.

Sahi hangs while downloading .js to temp directory

meckanikmeckanik Members
edited November 2008 in Sahi - Open Source
I'm trying the June '08 Sahi release to address some issues I was having with a previous build - but now I'm seeing an issue with existing tests that were previously working.

The issue I'm seeing is after executing a few steps the script stops executing and the Sahi debug output shows:
[java] Downloading css_grid.js to temp directory: ../temp/download

The test does not continue after this. Any suggestions on a workaround?

Thanks,
-Jeff

Comments

  • Here is some additional debug output from Sahi. It looks like another socket is opened while Sahi playback is hung and a connection is refused:

    [java] Downloading css_grid.js to temp directory: ../temp/download
    [java] ### Creating New Socket : 13401
    [java] java.net.ConnectException: Connection refused: connect
    [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [java] at java.net.PlainSocketImpl.doConnect(Unknown Source)
    [java] at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    [java] at java.net.PlainSocketImpl.connect(Unknown Source)
    [java] at java.net.SocksSocketImpl.connect(Unknown Source)
    [java] at java.net.Socket.connect(Unknown Source)
    [java] at java.net.Socket.connect(Unknown Source)
    [java] at net.sf.sahi.util.SocketPool.get(SocketPool.java:80)
    [java] at net.sf.sahi.RemoteRequestProcessor.getReusableSocket(RemoteRequestProcessor.java:137)
    [java] at net.sf.sahi.RemoteRequestProcessor.getNormalSocket(RemoteRequestProcessor.java:132)
    [java] at net.sf.sahi.RemoteRequestProcessor.getSocketToHost(RemoteRequestProcessor.java:116)
    [java] at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:70)
    [java] at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:63)
    [java] at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:116)
    [java] at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:80)
    [java] at java.lang.Thread.run(Unknown Source)
Sign In or Register to comment.