Rx Agent switching subnets - Timeout
Posted: Sun Oct 17, 2021 11:31 am
Rx Studio 10.1.1 is installed on a separate PC.
Premium lic. paid.
LAN only.
There is also a hardware-device for testing purposes.
Remote Agent 7. is installed, runtime lic paid.
LAN and Wifi.
2 network connections are configured in different subnets: 1x LAN, 1x Wifi
Metrics are set to "Automatic."
No DHCP, No DNS are in use.
Standardgateway is APIPA based, so the IP used before loosing a subnet connection will not lead to loosing the IP used before.
Active user sessions running same user/passw. on Windows 10 Pro 64bit (same update level).
LAN is the same Subnet on both devices.
Routing from LAN to Wifi is setup and works properly once LAN is disconnected.
Both subnets are working properly.
Ping from one subnet to the other subnet is working in both directions, checked by using Wireshark on PC.
Windows -Firewalls are disabled on both PC and testdevice.
RxStudio on PC is able to connect the RxAgent via IP in both subnets using different IPs.
Presented by same displayname.
All Nightly-Tests (no one is in the office) via LAN are successfully running.
Alle reports are green coloured.
And of course this was done:
https://www.ranorex.com/rx-media/rx-use ... 000050.png
Once removing the LAN cable from the test-device by hand, the Wifi became active.
Ping to PC is working fine.
Also a Ping from PC.
But RxStudio now told me:
Agent is Offline for LAN (that's OK) and Offline for Wifi (that's NOT OK).
Running a test from PC in this situation via CLI after a short time a message on the CLI windows is presented:
Agent not reachable, 2 rows with same displayname and same computername.
My workaround in this situation is
arp -a
save the current IP for the remote device with known MAC
arp -d
brute force ping the whole network
getting the IP for the remote device
arp -s <IP> <MAC>
That works well for Rx-CLI testing, but is not state of the art when using a modern RxStudio App.
So my questions are:
- How to reload one of both Agent-connections automatically in case of a failing sub-network?
- How to increase the timeout for Agent-network connections?
Thanks.
Premium lic. paid.
LAN only.
There is also a hardware-device for testing purposes.
Remote Agent 7. is installed, runtime lic paid.
LAN and Wifi.
2 network connections are configured in different subnets: 1x LAN, 1x Wifi
Metrics are set to "Automatic."
No DHCP, No DNS are in use.
Standardgateway is APIPA based, so the IP used before loosing a subnet connection will not lead to loosing the IP used before.
Active user sessions running same user/passw. on Windows 10 Pro 64bit (same update level).
LAN is the same Subnet on both devices.
Routing from LAN to Wifi is setup and works properly once LAN is disconnected.
Both subnets are working properly.
Ping from one subnet to the other subnet is working in both directions, checked by using Wireshark on PC.
Windows -Firewalls are disabled on both PC and testdevice.
RxStudio on PC is able to connect the RxAgent via IP in both subnets using different IPs.
Presented by same displayname.
All Nightly-Tests (no one is in the office) via LAN are successfully running.
Alle reports are green coloured.
And of course this was done:
https://www.ranorex.com/rx-media/rx-use ... 000050.png
Once removing the LAN cable from the test-device by hand, the Wifi became active.
Ping to PC is working fine.
Also a Ping from PC.
But RxStudio now told me:
Agent is Offline for LAN (that's OK) and Offline for Wifi (that's NOT OK).
Running a test from PC in this situation via CLI after a short time a message on the CLI windows is presented:
Agent not reachable, 2 rows with same displayname and same computername.
My workaround in this situation is
arp -a
save the current IP for the remote device with known MAC
arp -d
brute force ping the whole network
getting the IP for the remote device
arp -s <IP> <MAC>
That works well for Rx-CLI testing, but is not state of the art when using a modern RxStudio App.
So my questions are:
- How to reload one of both Agent-connections automatically in case of a failing sub-network?
- How to increase the timeout for Agent-network connections?
Thanks.