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.
Sahi could not connect to the desired URL
I recently started receiving this message and I have no idea what happened. Can you help me with this? I am no longer able to navigate to our internal sites via Sahi, all other sites work fine. Navigating to these sites outside of Sahi works fine. We don't use an external proxy and the server is not down... Here's the message from Sahi...
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:
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:
Comments
Could you please check if the proxy is set to the browser?
Are you facing this problem in all the browsers?
Regards
sumitra
I am getting the same problem while accessing my application using sahi. i am facing this problem in all the browsers
Please guide me
Do you see any exception on the Sahi console? If yes, could you please paste it here?
Regards,
Narayan
Following is the exception :
Feb 07, 2012 7:15:18 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRem
etch
INFO: No SSL Client Cert specified
Feb 07, 2012 7:15:25 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for:
irefox/headlines.xml
Feb 07, 2012 7:15:39 PM net.sf.sahi.command.CommandExecuter execute
WARNING: commandClass = > < commandMethod = >execute<
Feb 07, 2012 7:15:39 PM net.sf.sahi.command.CommandExecuter execute
WARNING: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.sf.sahi.util.ClassLoadHelper.getClass(ClassLoadHelper.java:24
at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:
at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor
a:67)
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestPr
sor.java:40)
at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:209
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:86)
at java.lang.Thread.run(Unknown Source)
Thanks,
Srinath
Thanks,
Srinath
Kindly have a look at below URLs:
http://sahi.co.in/forums/viewtopic.php?id=2277
http://sahi.co.in/forums/viewtopic.php?id=2736
Check if this solves your issue.
Regards
sumitra
I am unable to find what driver jar need to add in Class path to resolve this issue.
Please help me
Thanks,
Srinath