IgnitionModuleDevelopmentCommunity / IgnitionNode-RED

Adds support for Node-RED
Apache License 2.0
31 stars 7 forks source link

JSON error: SyntaxError: Unexpected end of JSON input #19

Closed shaqaruden closed 2 years ago

shaqaruden commented 2 years ago

I have ensured that I the same version of the ignition module and the node-red package. I can read and write data from Ignition Edge Designer but when trying to read data from the AB PLC in NodeRed I get

JSON error: SyntaxError: Unexpected end of JSON input

Here is the flow

[{"id":"6731b56ae6282cbd","type":"ignition-tag-read","z":"1afc28d1d8bc3715","server":"182bdae1995237c0","value":"","valueType":"msg.payload","tagPath":"[edge]Devices/IT TEST PLC/Global/IT/Item","name":"Item","x":250,"y":460,"wires":[["bf1152e63c0e6d40","aaa65fa9383c46e8"]]},{"id":"182bdae1995237c0","type":"ignition-server","hostname":"localhost","port":"8088","ssl":false,"tls":"","defaultTagProvider":"edge","name":"Test IT PLC"}]

image image

shaqaruden commented 1 year ago

Had to rebuild my device so I ran into this issue again. Fix for my case was to disable force https in web server settings on the Ignition Edge server