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.

Not able to access any site if the Mozilla settings are changed

Anjali RamanAnjali Raman Members
edited November -1 in Sahi - Open Source
Hi,
I am unable to open any of the sites if I changed the settings in Mozilla as per whats shown in the demo.
I even tried to change the sahi.properties file, but I am getting a exception in my browser as stated below:


Either the remote server is down or not reachable
or
You need an external proxy to be configured.

You could configure the external proxy by editing <sahi_root>/config/sahi.properties and setting these properties:

ext.http.proxy.enable=true
ext.http.proxy.host=external_proxy_server_hostname_or_ip
ext.http.proxy.port=external_proxy_server_port

If your proxy needs authorization, you should set these properties too.
ext.http.proxy.auth.enable=true
ext.http.proxy.auth.name=proxy_authorization_username
ext.http.proxy.auth.password=proxy_authorization_password

You should do the same with ext.https settings for https sites.


- hide stacktrace
+ show stacktrace
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.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:74)
at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:53)
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:127)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:84)
at java.lang.Thread.run(Unknown Source)


I tried to change the sahi.properties file to accomodate the proxy which is a URL with http and no port.
But it dint work.

Same with IE. Doesnt seem to work for me.
Not sure if I have set anything wrong
Please help me out with this.


Thanks
Anjali

Comments

Sign In or Register to comment.