https - Connect Selenium node to the hub with auth -


i have selenium hub requires authentication reach through https.

url:

https://xxxxxxxx.com:4444 

in nodeconfig.json set followings:

... "hubhost":"https://username:password@xxxxxxxx.com", "hubport":4444, .... 

i tried following parameter too:

-jar "selenium-server-standalone-2.45.0.jar" -role node -hub "https://username:password@xxxxxxxx.com:4444" 

when try connect node hub following lines appear in console:

09:22:55.124 info - registering node hub :http://https://username:password@xxxxxxxx.com:4444/grid/register 09:22:56.153 info - couldn't register node : error sending registration request. 09:23:02.177 info - couldn't register node : hub down or not responding: connect https:80 [https/127.0.1.2] failed: connection refused: connect 

i think problem http://https:// don't know how can fix it. please me, how connect hub auth?

thanks in advance!

assuming have tried url https://username:password@xxxxxxxx.com:4444 manually , found working; make below change in nodeconfig.json

instead of

... "hubhost":"https://username:password@xxxxxxxx.com", "hubport":4444, .... 

give

... "hub":"https://username:password@xxxxxxxx.com:4444/grid/register" .... 

Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -