Hi guys,
I’m trying to configure a master and slave setup. I have the master up and running fine, i’ve also tried the slave machine as an independent machine and all works fine on the software. I’ve created my slave script to startup the connection as instructed.
In my masters log file i can see the following:
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='172.20.10.4', port=8123): Max retries exceeded with url: /api/ (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7f5c003ec128>, 'Connection to 172.20.10.4 timed out. (connect timeout=5)'))
The master is located at 10.8.0.1 and the slave is 10.8.0.101 but the slave is also 192.168.2.1 (eth0) and 172.20.10.4 (wlan0) where 172.20.10.4 is the default gateway so it has multiple networks.
It appears the master is trying to communicate back but getting the 172.20.10.4 address as opposed to 10.8.0.101 address. The master is not on the 172 network so therefore its an invalid route from master to slave.
My question is, is there anyway to define the IP address of the slave so that when it connects the callbacks come back to the right IP address?
Thanks, Steve.