Jump to content

NodeLink File Not Found and REST Post timeout


fmorrissey

Recommended Posts

Posted

I installed Nodelink on Ubuntu Server and defined the connections to my ISY (and a Node Server in my ISY to Nodelink) but I'm getting these File Not Found messages (and a corresponding number of REST Post Errors (so I'm suspecting they are related). 

2019-12-27 15:05:49 - ISY NodeLink Server v0.10.5 started
2019-12-27 15:05:49 - OS: Linux UServer 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
2019-12-27 15:05:49 - Web config server started (http://192.168.1.26:8090)
2019-12-27 15:05:49 - ISY resolved to 192.168.1.188 (5.0.16B)
2019-12-27 15:05:49 - ISY Node Server config detected (profile 3)
2019-12-27 15:05:50 - ISY Warning: Duplicate node names exist on the ISY (Garage Door Sensor)
2019-12-27 15:05:50 - ISY Warning: Duplicate node names exist on the ISY (Garage Door Relay)
2019-12-27 15:05:50 - ISY Warning: Duplicate node names exist on the ISY (Hallway Light)
2019-12-27 15:05:50 - ISY Warning: Duplicate node names exist on the ISY (Bedroom Table Lamp)
2019-12-27 15:05:50 - ISY Warning: Duplicate node names exist on the ISY (Bedroom Cabinet Lights)
2019-12-27 15:05:50 - ISY Error: Web Error (FILE_NOT_FOUND) - Forbidden (profiles/family/10/profile/3/download/NODEDEF/I_NDEFS.XML)
2019-12-27 15:05:50 - ISY Error: Web Error (FILE_NOT_FOUND) - Forbidden (profiles/family/10/profile/3/download/NLS/EN_US.TXT)
2019-12-27 15:05:50 - Warning: Node definitions need updating in ISY, see NodeLink's Devices page
2019-12-27 15:07:23 - Auto-Update: Checking for program update...
2019-12-27 15:07:23 - Auto-Update: No web update available
2019-12-27 15:07:36 - ISY Error: REST Post Error: The response ended prematurely.
2019-12-27 15:07:36 - ISY Error: REST Post Error: The response ended prematurely.

I know that the duplicate node names are because I have both a Scene and a Device with the same name - ISY doesn't seem to care about this but I'm thinking it's not part of my problem.

Any idea about these two file errors? Are these files on the ISY or the Server where Nodelink is running?

Thanks,

Frank.

Posted

2019-12-27 15:05:50 - Warning: Node definitions need updating in ISY, see NodeLink's Devices page

Hit the Install NodeDefs button on NodeLink's Devices page.  

Posted

I have "Auto-update ISY checked and I believe that's what triggers the attempt that gets the two REST Post Errors.

Manually clicking the button produces the same two messages:

2019-12-27 17:16:24 - ISY Error: REST Post Error: The response ended prematurely.
2019-12-27 17:16:24 - ISY Error: REST Post Error: The response ended prematurely.
 

Do you think there's someplace in the ISY where I can see why it's not getting a response back (or doesn't like it)?

Thanks!

  • 5 weeks later...
Posted

 

Upgraded from the Mono version to the dotnet version.  

Now I get this

if I go back to mono version it will update fine (well there is no update but I don't get error)

2020-01-27 22:35:36 - ISY resolved to 172.16.1.225 (5.0.16C)
2020-01-27 22:35:36 - ISY Node Server config detected (profile 1)
2020-01-27 22:35:41 - Warning: Node definitions need updating in ISY, see NodeLink's Devices page
2020-01-27 22:35:41 - Hon: EVL User Login - Password Sent [hwalrm1]
2020-01-27 22:35:41 - Hon: EVL User Login Successful [hwalrm1]
2020-01-27 22:35:41 - Hon: Status Request Sent [hwalrm1]
2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.
2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.
2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.

Posted

That generates the log that I sent.

If it tries automatically or if I click on that manually it generates the same errors 2 or 3 times...

2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.
2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.
2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.

 

Posted

Spoke to UDI and they said this is not an ISY issue but something with the DotNet since it works fine in Mono.

As I said I can manually upload the info if I could get the nodesetup.zip file for the latest.

I do have all the ports changed for ISY and Nodelink server for security but everything is working.  Even my data all comes in and labeled correctly so it just keeps complaining to update.

Posted

Im having the same issue - new install on raspberry 3+ and its giving me these errors

2020-01-28 14:03:38 - ISY Error: Web Error (FILE_NOT_FOUND) - Forbidden (profiles/family/10/profile/3/download/EDITOR/I_EDIT.XML)
2020-01-28 14:03:39 - ISY Error: Web Error (FILE_NOT_FOUND) - Forbidden (profiles/family/10/profile/3/download/NODEDEF/I_NDEFS.XML)
2020-01-28 14:03:40 - ISY Error: Web Error (FILE_NOT_FOUND) - Forbidden (profiles/family/10/profile/3/download/NLS/EN_US.TXT)
2020-01-28 14:03:40 - Warning: Node definitions need updating in ISY, see NodeLink's Devices page
2020-01-28 14:03:41 - ISY Error: Error grabbing Climate data - Conversion from string "--214748.352" to type 'Double' is not valid.
2020-01-28 14:08:41 - ISY Error: Error grabbing Climate data - Conversion from string "--214748.352" to type 'Double' is not valid.
2020-01-28 14:11:40 - GenMon Socket Error: Data Arrival Init - Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'. [genmon1]
2020-01-28 14:11:58 - ISY Error: REST Post Error: The remote certificate is invalid according to the validation procedure.
2020-01-28 14:11:59 - ISY Error: REST Post Error: The remote certificate is invalid according to the validation procedure.
2020-01-28 14:12:00 - ISY Error: REST Post Error: The remote certificate is invalid according to the validation procedure.

Posted

Also common thing which might help.  - New Install.

 

Here is step by step what I did if it helps...

 

I had Mono on VERY old mac running terminal in like OS 10.9.

It would not handle the latest OS so I put Mac OS 10.13 on it.

Now the DotNet was version 3.1 where I noticed the original version of Nodelink was for 3.0.

Also since this is a new machine I started from scratch so it too is a new install.

It picked up the old NODE in the ISY and actually worked first try.  (I was imporessed) All my nodes updated and worked.

But it said I needed an update.

I then tried to update and got those errors.

So I erased the ISYLink Node in the ISY and tried to install using the button in the web interface.  It said Install New Nodes or something BUT it too gave the same errors.

I added manually all the nodes back since I lost them when I deleted the old interface (took a while but it was nice to house clean)

They all worked but strange labels.  This was due tot he nodesetup not in the ISY.

So then I took the latest 2017 version (before the link was pulled) of Node Setup from http://automationshack.com/Files/nodesetup.zip (link no longer works)

I did manual upload button in the Node Menu of the ISY under NodeLink.

It worked and then all my labels changed to the correct things.

So everything is working but no matter what I do it always says Warning- new nodesetup needs to be updated in ISY or something like that.

I try the button but same errors

So I just left it.  Everything is working.  The two ways I can think of fixing it are get a new manual file and upload it but that is just a bandaid as the next update would most likely cause the same issue.  Or wait for a fix for the issue.  

My only concern is IO Guy has not seen this issue as above so we are in a wait and see mode.   Again at least its working.  I must not be using the node that was updated.

Posted

So to update this. I now have a GenMon node in ISY, but it shows up as a lightbulb (if its someones idea of a joke I love it). However it only has one status (True) and no subnodes.

When I try to Install NodeDef files - it gives a certificate error 

2020-01-29 12:34:56 - ISY Error: REST Post Error: The remote certificate is invalid according to the validation procedure.
2020-01-29 12:34:57 - ISY Error: REST Post Error: The remote certificate is invalid according to the validation procedure.
2020-01-29 12:34:58 - ISY Error: REST Post Error: The remote certificate is invalid according to the validation procedure.

 

Thats new and could this be related to the fact that the ISY uses a self signed certificate? Any way to get around this?

Posted

OK - last update and I did finally get it to work

1) I had to accept the certificate from the nodelink into the ISY (so I went to the dashboard - network - certificates and accepted the user one from the node link device)

2) rebooted both

3) then installed the ISY node and it worked!

Last thing to solve is this

2020-01-29 13:10:02 - ISY Error: Error grabbing Climate data - Conversion from string "--214748.352" to type 'Double' is not valid.
 

But that must be an issue with geographic location and weather.

Posted

agoltz.

I think your situation is slightly different.  the rest of us are having

2020-01-27 22:37:36 - ISY Error: REST Post Error: The response ended prematurely.

Your REST post error is about a certificate.

With that said....I am trying to follow your instructions....

When you say go to dashboard you mean the java admin console?

I dont have a network there. 

If I go to the Dashboard you can get to from the start.jnp (same thing you run for admin console but go to dashboard) and then go to settings and then network there are some certificate settings but nothing to accept.

Can you clarify.  Dont think this is the same issue we are having but worth trying

Posted

OK - so 

1) Sign in to Dashboard

2) Upper Right hand corner button next to Question Mark - click

3) Choose Network

4) Click on Client Certificate (will ask you for password - I had one) already

5) SSL Certificate Management Pane Pops open

6) The certificate from the NODELINK (look at the IP) appears

7) Choose Button bottom left RECEIVE CERT

And then reboot both the Isy and the nodelink

 

That worked for me ( I may have also pushed the SELF CERT button before #7 above)

 

  • 4 weeks later...
Posted

Same thing here.  Get error when hitting the Install NodeDef Files.

2020-02-21 09:13:42 - ISY NodeLink Server v0.10.5 started
2020-02-21 09:13:42 - OS: Linux NodeLink3 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2020-02-21 09:13:42 - Web config server started (http://172.17.0.2:8090)
2020-02-21 09:13:42 - ISY resolved to 192.168.1.15 (5.0.16C)
2020-02-21 09:13:42 - ISY Node Server config detected (profile 1)
2020-02-21 09:13:46 - Warning: Node definitions need updating in ISY, see NodeLink's Devices page
2020-02-21 09:13:46 - Relay Server: Started on port 2405
2020-02-21 09:15:25 - ISY Error: REST Post Error: The response ended prematurely.

@macjeff Did you find a way to manually install the files?

Posted

It’s easy to manually install them if I had the files.  They used to post the files. Now since it’s automatic they don’t.  If you get the latest node defs, send them to me.  All you do is go to the admin Console.   Go to the node server menu.  Go to configure down the bottom.  Choose the ISY link node. Click on the install profile button.  Select an upload the zip file of the profile
 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...