So I only identified this by playing around with NodeRed, but it seems as though a request to http:///rest/items is randomly truncated which is causing problems with NodeRed and also I would assume anything that is using REST to fetch item data.
I do have quite a few items, and I can’t seem to make any sense of things as it’s basically a random truncation. I have not once had a request truncate in the same place. I tried to add the whole response but the forums won’t let me(too much text), so I’ll copy the last little bit here :
{"link":"http://10.0.0.249:8080/rest/items/AddyMotion_SensorLuminance","state":"23","stateDescription":{"pattern":"%.1f","readOnly":true,"options":[]},"editable":true,"type":"Number","name":"AddyMotion_SensorLuminance","label":"Sensor (luminance)","category":"Temperature","tags":[],"groupNames":[]},{"members":[],"link":"http://10.0.0.249:8080/rest/items/AutoOffTimes","state":"NULL","editable":false,"type":"Group","name":"AutoOffTimes","tags":[],"groupNames":[]},{"link":"http://10.0.0.249:8080/rest/items/DiningRoomSonosFetchQueue","state":"1","stateDescription":{"pattern":"%s","readOnly":false,"options":[]},"editable":false,"type":"String","name":"DiningRoomSonosFetchQueue","label":"Dining Room Sonos FIXME FetchQueue","tags":[],"groupNames":["GDevices"]},{"link":"http://10.0.0.249:8080/rest/items/BRB_AutoOff","state":"ON","editable":false,"type":"Switch","name":"BRB_AutoOff","label":"Downstairs Bathroom Auto-Off","tags":[],"groupNames":["AutomationControl","AutoOffDevices"]},{"link":"http://10.0.0.249:8080/rest/items/LR_SonosPlayPause","state":"OFF","editable":false,"type":"Switch","name":"LR_SonosPlayPause","label":"LR Play/Pause","tags":[],"groupNames"
It’s cutoff right there at the end, if I were to refresh the page it would cutoff somewhere else.
I have had it anywhere from 131,058 characters to 49,149 characters. It’s all over the place, but never complete.
Any ideas?
- Platform information:
- Hardware: 64bit/196G/92TB
- OS: 4.15.0-45-generic #48-Ubuntu SMP
- Java Runtime Environment: openjdk version “1.8.0_191”
- openHAB version:2.5.0~S1573-1
- Issue of the topic: Requesting rest/items returns truncated results