Server node 404; devices appearing and disappearing in the hub in a loop #996
Unanswered
DLavigneGH
asked this question in
Q&A
Replies: 2 comments
-
I worked on this a full day :P now I noticed the device-farm plugin on my windows machine doesn't match the version from my VM. I am updating it and testing I'll keep you posted. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That was it, the devices stopped disappearing after I updated the plugin on windows to have its version match with the vm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a Linux Ubuntu VM as a HUB (it doesn't have any devices connected, no plan to anyway) and a physical Windows machine as a server-node with a bunch of Android devices connected to it. I have this issue where I am seeing my devices in the hub web page but they keep disappearing and re-appearing.
The server-node terminal is showing:
At the start we see the devices, but then when the 404 occurs the devices are gone.
Another test; I used Postman to GET request to http://10.0.0.37:31337/device-farm/api/status and always received 200, no 404.
Here is it's node-config.json:
I did a test net connection with powershell to the hub
The hub-config.json
("platform": "none" here because it doesn't have any devices and will not have any in the future, putting anything else just fails to launch server)
It receives the device info from the windows server:
But then a moment later
I can test net connection to that server:
or directly from the VM
Again with Postman I did GET request to http://10.0.9.38:4723/device-farm and also get 200.
What am I missing? I see the 404 error but I am not sure what or where I did something wrong.
Server and hub are launched using:
appium server -ka 800 --use-plugins=device-farm --config ./hub-config.json -pa /wd/hub
appium server -ka 800 --use-plugins=device-farm --config ./node-config.json -pa /wd/hub
Both using Appium 2.2.1
Windows: - [email protected] [installed (npm)]
Ubuntu VM: - [email protected] [installed (npm)]
We do have some network rules here but I have been told that the vlan traffic between Linux VM <> Windows machines should be going through okay both sides.
Beta Was this translation helpful? Give feedback.
All reactions