Sahi Error - $message

Sahi could not connect to the desired URL

Either the remote server is down or not reachable

If the web site is not accessible even when the browser proxy configuration is removed, it means the server is down.

or


You need an external proxy to be configured.

If you normally require to use another proxy to connect to external websites, you need to configure Sahi to use that proxy.

You can configure the external proxy by editing
<sahi_root>/userdata/config/userdata.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.

To bypass external proxy for some web addresses, like local addresses, set

ext.http.both.proxy.bypass_hosts=localhost|127.0.0.1|*.internaldomain.com

+ show stacktrace
$exception