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.

Issue with New Sahi - Unable to tunnel

AtinSAtinS Members
edited November -1 in Sahi - Open Source
Hi Narayan,

I am facing one more issue this with new version of SAHI. Following is the error getting while trying to access the external site. This is when the required settings are done properly.

####Error: ####
Sahi Error - Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
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
#####

Please let me know how can i resolve this issue.

I already set the external proxy both for http as well as https.

Comments

This discussion has been closed.