Unable to connect hub and node using device farm #547
Unanswered
ravibabu101143
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Is the port open? Are you able to open Nodemachine:4723/device-farm from your browser. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes.. R52R7094EAZ |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My test lab machines are in same subnet and able to ping my node machine from hub machine..But still i am getting below error while starting appium in hub machine..
C:>appium server -ka 800 --use-plugins=device-farm --config C:\Json\hub-config.json -pa /wd/hub
info Appium NODE_PATH already includes 'C:\package\node_modules'
(node:4372) DeprecationWarning: use {type:"str"} or {type:String} instead of {type:"string"}
(Use
node --trace-deprecation ...
to show where the warning was created)[Appium] Attempting to load plugin device-farm...
[debug] [Appium] Requiring plugin at C:\Users*.appium\node_modules\appium-device-farm
[Appium] Welcome to Appium v2.0.0-beta.44
[Appium] Non-default server args:
[Appium] {
[Appium] basePath: '/wd/hub',
[Appium] keepAliveTimeout: 800,
[Appium] usePlugins: [
[Appium] 'device-farm'
[Appium] ]
[Appium] }
[Appium] Attempting to load driver uiautomator2...
[debug] [Appium] Requiring driver at C:\Users**.appium\node_modules\appium-uiautomator2-driver
[device-farm] 📣📣📣 Device Farm Plugin will be served at 🔗 http://localhost:4723/device-farm
× Waiting for node server https://..149.4:4723 to be up and running
[Appium] Could not configure Appium server. It's possible that a driver or plugin tried to update the server and failed. Original error: Failed: Waiting for node server https://..149.4:4723 to be up and running
[Appium]
[debug] [Appium] Error: Failed: Waiting for node server https://..149.4:4723 to be up and running
[debug] [Appium]
[debug] [Appium] at C:\Users\e142075.appium\node_modules\appium-device-farm\lib\plugin.js:97:31
[debug] [Appium] at C:\Users\e142075.appium\node_modules\appium-device-farm\lib\plugin.js:195:17
[debug] [Appium] at Generator.throw ()
[debug] [Appium] at rejected (C:\Users****.appium\node_modules\appium-device-farm\lib\plugin.js:6:65)
[debug] [Appium] at processTicksAndRejections (internal/process/task_queues.js:93:5)
Pinging node1 machine from hub machine
C:>ping XXX.XX.149.4
Pinging *..149.4 with 32 bytes of data:
Reply from *..149.4: bytes=32 time=37ms TTL=128
Reply from *..149.4: bytes=32 time=33ms TTL=128
Reply from *..149.4: bytes=32 time=23ms TTL=128
Reply from *..149.4: bytes=32 time=23ms TTL=128
Ping statistics for *..149.4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 37ms, Average = 29ms
Node machine log:
appium server -ka 800 --use-plugins=device-farm --config C:\Json\node1.json -pa /wd/hub
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"R52RXXXX","state":"device"}]
[device-farm] Android Device details for R52XXXXX already available
Beta Was this translation helpful? Give feedback.
All reactions