Jump to content

Nodeserver profile address reverts to localhost (127.0.0.1)


Recommended Posts

I have noticed that occasionally some nodeservers stop working on my eISY's IoX admin console. What I've traced it to is the nodserver profile address on the IoX service. 

Polyglot is working fine- the nodeservers are fine, but IoX changes the URL/IP of the  nodserver to 127.0.0.1. 

I run both polisy and iox due to running out of Insteon nodes a while back so I split the install.  The polisy is older and is already running polyglot so I kept it there.  I do not use the eISY's polyglot install. Instead i've added both ISY mac addresses to the polyglot server on the Polisy and run the required nodeservers there in one or both profiles as required. That cuts down on licensing and keeps everything in one place, simplifies updating, etc.

It works fine and seems analogous to when polyglot first came out and I'd run it on a RPi with an ISY/99.

But if there's a network hiccup, or I update a nodeserver (so it goes offline) the eISY will often revert to a local address, breaking the connection.  Oddly the nodeserver is still listed as online in its node but control breaks. (Like the Elk module will pick up events - violations, arming, etc. but I cannot send any commands from IoX).  Go to the profile and put in the correct IP address and everything is fine again.

This is longstanding behavior- as long as I've split out to two systems.

Note I haven't figured out how to completely turn off the eISY's polyglot service. I don't see an option to do so. I could write a script to disable the service but I'm sure a future update will revert that or break a version update or something so I'd rather not go hacking around in a command line.  But the eISY polyglot isn't running anything- no nodeservers, etc. 

Previously I'd be able to log into the eISY polyglot -not that I need it for anything thought- but I just tried while writing this post so that I could again confirm it's idle.  I couldn't log in via the website/port 3000. So I logged in via the console and checked the logs:

Jan 18 17:05:04 eisy daemon[2932]: 1/18/2024, 17:05:04 [pg3] ^[[32minfo^[[39m: call_udx: Making request to socket with url /rest/pg3.auth.ns
Jan 18 17:05:05 eisy daemon[2932]: 1/18/2024, 17:05:05 [pg3] ^[[32minfo^[[39m: call_udx: Making request to socket with url /rest/pg3.auth.ns
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: Verifying node servers are installed on IoX correctly
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: IoX Request: [Try: 1] [00:21:b9:02:64:d7] :: - http://127.0.0.1:8080/rest/profiles/ns/0/connection
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: IoX Response: [Try: 1] [00:21:b9:02:64:d7] :: [200] :: 3.1233ms - http://127.0.0.1:8080/rest/profiles/ns/0/connection
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_1] Unmanaged NodeServer 'UnifiPresence' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_3] Unmanaged NodeServer 'WirelessTag' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_2] Unmanaged NodeServer 'ELK' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_4] Unmanaged NodeServer 'Timedata' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_5] Unmanaged NodeServer 'Holidays' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_6] Unmanaged NodeServer 'Sun' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_7] Unmanaged NodeServer 'OpenWeatherMap' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_8] Unmanaged NodeServer 'Virtual' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_9] Unmanaged NodeServer 'Roku' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_10] Unmanaged NodeServer 'Plex-WebHook' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_11] Unmanaged NodeServer 'VenstarCT' found. Adding to DB.
Jan 18 17:05:06 eisy daemon[2932]: 1/18/2024, 17:05:06 [pg3] ^[[32minfo^[[39m: [00:21:b9:02:64:d7_12] Unmanaged NodeServer 'NOAA' found. Adding to DB.
Jan 18 17:05:08 eisy daemon[2932]: 1/18/2024, 17:05:08 [pg3] ^[[31merror^[[39m: UDX authentication failure for admin with cause udxTimeout: Error: udx /rest/pg3.auth.ns - ECONNABORTED: UDX timeout after 4000ms
Jan 18 17:05:09 eisy daemon[2932]: 1/18/2024, 17:05:09 [pg3] ^[[31merror^[[39m: UDX authentication failure for admin with cause udxTimeout: Error: udx /rest/pg3.auth.ns - ECONNABORTED: UDX timeout after 4000ms

Never seen that before- every 5 minutes it's polling IoX and adding nodes to the internal database. Never saw that before. 

Last night I upgraded packages on both polisy and eISY to get to IoX 5.8.1.

Thoughts?

Edited by Scott Korvek
Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...