So, I bought a new Mac and decided to reinstall Indigo so as not to inherit all of my previous blunders along with my successes. Starting with PiBeacon on the new machine, I used your latest image as well. I've just added my first pi (used #2 by design as part of my internal housekeeping as pis 0 and 1 will be migrated off of my old system later). Had issues using ssh keys, so reverted to password authentication for now, and that seems to be working ok. I get beacons reported in from that pi, based on your logs, but I keep getting this recurring error. When I watch the auth.log at the time the error occurs, I don't see any attempted connections from the indigo server, so i'm not sure what's up there. Everything seems to be working ok, but I haven't set up my beacons for testing just yet, so I wanted to eliminate this as a real error before I continued. The error keeps repeating, gets up to attempt 9, and then resets. I know piBeacon can connect via ssh as I see other successful connections in the auth.log on that pi, which is the only one configured for this system.
- Code: Select all
10:30:51 -updating pi server config for # 2 executing
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp' pi assword 10.0.1.126 2 '/Library/Application Support/Perceptive Automation/Indigo 7.2/Preferences/Plugins/com.karlwachs.piBeacon/' '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/pi' 15
10:30:51 -setup pi response (1)
('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n')
10:30:51 -return code from fix ('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n') trying again to configure PI
10:30:53 -setup pi response (2) message
spawn sftp -o ConnectTimeout= pi@2
command-line line 0: missing time value.
Connection closed
10:30:53 -setup pi response (2) error
expect: spawn id exp9 not open
while executing
"expect "sftp" { send "put 'parameters.$ipParms' /home/pi/pibeacon/parameters\r" }"
(file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)
10:30:54 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 4, 'exeTime': 1547663458.989195, 'pi': 2, 'type': 'ftp'}
10:30:55 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 4, 'exeTime': 1547663458.989195, 'pi': 2, 'type': 'ftp'}
10:30:57 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 4, 'exeTime': 1547663458.989195, 'pi': 2, 'type': 'ftp'}
10:30:58 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 4, 'exeTime': 1547663458.989195, 'pi': 2, 'type': 'ftp'}
10:30:59 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 4, 'exeTime': 1547663458.989195, 'pi': 2, 'type': 'ftp'}
10:30:59 -enter sendFilesToPiFTP #2 fileToSend:updateParamsFTP.exp
10:30:59 -updating pi server config for # 2
10:30:59 - sbin/ping -c 1 -W 40 -o 10.0.1.126 return-code: 0
10:30:59 -updating pi server config for # 2 executing
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp' pi assword 10.0.1.126 2 '/Library/Application Support/Perceptive Automation/Indigo 7.2/Preferences/Plugins/com.karlwachs.piBeacon/' '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/pi' 15
10:30:59 -setup pi response (1)
('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n')
10:30:59 -return code from fix ('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n') trying again to configure PI
10:31:00 -fixConfig called from checkMinute; with:['all']
10:31:01 -setup pi response (2) message
spawn sftp -o ConnectTimeout= pi@2
command-line line 0: missing time value.
Connection closed
10:31:01 -setup pi response (2) error
expect: spawn id exp9 not open
while executing
"expect "sftp" { send "put 'parameters.$ipParms' /home/pi/pibeacon/parameters\r" }"
(file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)
10:31:02 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 5, 'exeTime': 1547663466.835473, 'pi': 2, 'type': 'ftp'}
10:31:03 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 5, 'exeTime': 1547663466.835473, 'pi': 2, 'type': 'ftp'}
10:31:04 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 5, 'exeTime': 1547663466.835473, 'pi': 2, 'type': 'ftp'}
10:31:05 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 5, 'exeTime': 1547663466.835473, 'pi': 2, 'type': 'ftp'}
10:31:06 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 5, 'exeTime': 1547663466.835473, 'pi': 2, 'type': 'ftp'}
10:31:06 -enter sendFilesToPiFTP #2 fileToSend:updateParamsFTP.exp
10:31:06 -updating pi server config for # 2
10:31:07 - sbin/ping -c 1 -W 40 -o 10.0.1.126 return-code: 0
10:31:07 -updating pi server config for # 2 executing
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp' pi assword 10.0.1.126 2 '/Library/Application Support/Perceptive Automation/Indigo 7.2/Preferences/Plugins/com.karlwachs.piBeacon/' '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/pi' 15
10:31:07 -setup pi response (1)
('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n')
10:31:07 -return code from fix ('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n') trying again to configure PI
10:31:09 -setup pi response (2) message
spawn sftp -o ConnectTimeout= pi@2
command-line line 0: missing time value.
Connection closed
10:31:09 -setup pi response (2) error
expect: spawn id exp9 not open
while executing
"expect "sftp" { send "put 'parameters.$ipParms' /home/pi/pibeacon/parameters\r" }"
(file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)
10:31:09 -last updates were not successful wait, then try again
10:31:10 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:11 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:12 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:13 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:14 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:15 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:16 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:17 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:18 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:19 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 6, 'exeTime': 1547663479.706137, 'pi': 2, 'type': 'ftp'}
10:31:19 -enter sendFilesToPiFTP #2 fileToSend:updateParamsFTP.exp
10:31:19 -updating pi server config for # 2
10:31:19 - sbin/ping -c 1 -W 40 -o 10.0.1.126 return-code: 0
10:31:19 -updating pi server config for # 2 executing
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp' pi assword 10.0.1.126 2 '/Library/Application Support/Perceptive Automation/Indigo 7.2/Preferences/Plugins/com.karlwachs.piBeacon/' '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/pi' 15
10:31:20 -setup pi response (1)
('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n')
10:31:20 -return code from fix ('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n') trying again to configure PI
10:31:21 -creating new beacon, received from pi # 2/B8:27:EB:53:3E:D1: beacon-7F:AB:55:3B:10:00 UUID: 011a0aff4c001005-1820-16638
10:31:21 -fixConfig called from updateBeaconStates new beacon; with:['beacon']
10:31:22 -setup pi response (2) message
spawn sftp -o ConnectTimeout= pi@2
command-line line 0: missing time value.
Connection closed
10:31:22 -setup pi response (2) error
expect: spawn id exp9 not open
while executing
"expect "sftp" { send "put 'parameters.$ipParms' /home/pi/pibeacon/parameters\r" }"
(file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)
10:31:22 -last updates were not successful wait, then try again
10:31:23 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:24 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:25 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:26 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:27 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:28 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:29 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:30 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:31 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:32 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 7, 'exeTime': 1547663492.487701, 'pi': 2, 'type': 'ftp'}
10:31:32 -enter sendFilesToPiFTP #2 fileToSend:updateParamsFTP.exp
10:31:32 -updating pi server config for # 2
10:31:32 - sbin/ping -c 1 -W 40 -o 10.0.1.126 return-code: 0
10:31:32 -updating pi server config for # 2 executing
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp' pi assword 10.0.1.126 2 '/Library/Application Support/Perceptive Automation/Indigo 7.2/Preferences/Plugins/com.karlwachs.piBeacon/' '/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/pi' 15
10:31:32 -setup pi response (1)
('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n')
10:31:32 -return code from fix ('spawn sftp -o ConnectTimeout= pi@2\r\n\r\ncommand-line line 0: missing time value.\r\r\nConnection closed\r\r\n', 'expect: spawn id exp9 not open\n while executing\n"expect "sftp" { send "put \'parameters.$ipParms\' /home/pi/pibeacon/parameters\\r" }"\n (file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)\r\n') trying again to configure PI
10:31:35 -setup pi response (2) message
spawn sftp -o ConnectTimeout= pi@2
command-line line 0: missing time value.
Connection closed
10:31:35 -setup pi response (2) error
expect: spawn id exp9 not open
while executing
"expect "sftp" { send "put 'parameters.$ipParms' /home/pi/pibeacon/parameters\r" }"
(file "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateParamsFTP.exp" line 35)
10:31:35 -last updates were not successful wait, then try again
10:31:36 -rpiUpdateThread executing {'fileToSend': 'updateParamsFTP.exp', 'endAction': 'repeatUntilFinished', 'tries': 8, 'exeTi
Any thoughts?