Re: [selenium-users] selenium grid issues registering mac node to windows hub

97 views
Skip to first unread message

⇜Krishnan Mahadevan⇝

unread,
May 2, 2016, 11:14:13 PM5/2/16
to Selenium Users
Neil,

Just curious. Is your Hub really behind a https end-point ? From your console log, I also don't see anything that stands out as a problem. Can you please let us know what sort of connection issues are you facing ?

On a side note, I also noticed you have a typo error [ There's an extra "br" before the parameter "browserName" ]

browser brbrowserName=firefox,platform=MAC -debug




Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Mon, May 2, 2016 at 10:11 PM, neilSDev <n.spac...@gmail.com> wrote:
I'm trying to register a node from a mac machine to a hub being hosted on a windows machine. I've disabled the private network firewall to the pc, and the mac, by default, has it's firewall disabled. I can ping the pc, but whenever I try to connect with selenium grid I get connection issues.

This is the command I'm using: 
java -jar selenium-server-standalone-2.53.0.jar -role webdriver -port 5556 -hub https://10.1.11.80/grid/register -host 10.1.16.164 -browser brbrowserName=firefox,platform=MAC -debug

This is the debug info:
nspackman$ java -jar selenium-server-standalone-2.53.0.jar -role webdriver -port 5556 -hub https://10.1.11.80/grid/register -host 10.1.16.164 -browser brbrowserName=firefox,platform=MAC -debug

10:04:51.528 INFO - Launching a Selenium Grid node

10:04:51.565 INFO - Adding brbrowserName=firefox,platform=MAC

10:04:51.574 INFO - No port was provided in -hub. Defaulting hub port to 4444

10:04:51.767 DEBUG - CookieSpec selected: default

10:04:51.772 DEBUG - Auth cache not set in the context

10:04:51.773 DEBUG - Connection request: [route: {}->http://10.1.11.80:4444][total kept alive: 0; route allocated: 0 of 2000; total allocated: 0 of 2000]

10:04:51.782 DEBUG - Connection leased: [id: 0][route: {}->http://10.1.11.80:4444][total kept alive: 0; route allocated: 1 of 2000; total allocated: 1 of 2000]

10:04:51.783 DEBUG - Opening connection {}->http://10.1.11.80:4444

10:04:51.786 DEBUG - Connecting to /10.1.11.80:4444

10:06:06.897 DEBUG - http-outgoing-0: Shutdown connection

10:06:06.897 DEBUG - Connection discarded

10:06:06.897 DEBUG - Connection released: [id: 0][route: {}->http://10.1.11.80:4444][total kept alive: 0; route allocated: 0 of 2000; total allocated: 0 of 2000]

10:06:06.897 WARN - error getting the parameters from the hub. The node may end up with wrong timeouts.Connect to 10.1.11.80:4444 [/10.1.11.80] failed: Operation timed out

10:06:06.903 INFO - Java: Oracle Corporation 25.65-b01

10:06:06.903 INFO - OS: Mac OS X 10.11.1 x86_64

10:06:06.907 INFO - v2.53.0, with Core v2.53.0. Built from revision 35ae25b

10:06:06.907 INFO - Selenium server running in debug mode.

10:06:06.941 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:

registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform MAC

10:06:06.941 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped:

registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform MAC

10:06:06.941 INFO - Driver class not found: com.opera.core.systems.OperaDriver

10:06:06.941 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered

10:06:06.942 INFO - Driver class not found: org.openqa.selenium.htmlunit.HtmlUnitDriver

10:06:06.942 INFO - Driver provider org.openqa.selenium.htmlunit.HtmlUnitDriver is not registered

10:06:06.970 INFO - Selenium Grid node is up and ready to register to the hub

10:06:06.986 DEBUG - Using the json request : {"class":"org.openqa.grid.common.RegistrationRequest","configuration":{"role":"webdriver","debug":"","remoteHost":"http://10.1.16.164:5556","hubHost":"10.1.11.80","hubPort":4444,"url":"http://10.1.16.164:5556","proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy","hub":"https://10.1.11.80/grid/register","port":5556,"browser":"brbrowserName\u003dfirefox,platform\u003dMAC","host":"10.1.16.164","maxSession":5,"registerCycle":5000,"register":true},"capabilities":[{"seleniumProtocol":"WebDriver","brbrowserName":"firefox","platform":"MAC"}]}

10:06:06.986 INFO - Starting auto registration thread. Will try to register every 5000 ms.

10:06:06.987 INFO - Registering the node to the hub: http://10.1.11.80:4444/grid/register

Thanks,
Neil

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9dfaa946-d8d4-4556-8f03-1796906ef586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages