"Error circular" using node-red-contrib-alexa-smart-home

I get a debug warning message "Error circular" as soon as I configure a node "alexa smart home v3 state".
If I'm using an "Alexa smart home v3" set to "Auto Acknowledge = true" only, everything is working fine.
But as soon as I connect these both identically configured nodes together, this warning shows up every minute. Setting "Auto Acknowledge" to true or false doesn't make any difference.
Any idea what I'm doing wrong?
Thanks a lot!

When ever I start a thread I try to provide

  1. the platform I'm running on
  2. version of NR
  3. version of node.js
  4. version of dashboard
  5. a small flow showing the issue (as small as possible so the people that I want to help me won't waste their time diging thru my code)
  6. the full names of any contrib nodes that are used in the flow
  7. a good explaination of the steps to reproduce my issue and what I've tried to debug it
  8. a copy of the debug output - if it is showing the issue

See, this is not clear - are you conneting the output of the first to the input of the second and the output of the second to the input of the first? Or are you connecting them in another way?

Thank you for your reply.

Platform: HomeMatic CCU3 running RedMatic
Node-RED Version: v1.0.3
Dashboard: v2.19.2


[{"id":"feb8706a.5d8148","type":"alexa-smart-home-v3","z":"2c365b33.c94664","conf":"8364d58.7014928","device":"4755","acknowledge":true,"name":"Licht Flur hinten","topic":"","x":120,"y":1360,"wires":[["74c80173.ee3838","3363a7bd.365518"]]},{"id":"74c80173.ee3838","type":"alexa-smart-home-v3-state","z":"2c365b33.c94664","conf":"8364d58.7014928","device":"4755","name":"Licht Flur hinten","x":660,"y":1360,"wires":[]},{"id":"3363a7bd.365518","type":"debug","z":"2c365b33.c94664","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":280,"y":1420,"wires":[]},{"id":"8364d58.7014928","type":"alexa-smart-home-v3-conf","z":"","username":"Username","mqttserver":"mq-red.cb-net.co.uk","webapiurl":"red.cb-net.co.uk"}]

After deployment every minute the following message is produced:

16.12.2019, 23:37:53
msg : string[14]

16.12.2019, 23:38:53
msg : string[14]

I'd love to know if you solved this?

No, I haven't solved this yet.

What happens if you uncheck the "Auto Acknowledge"?

Checking or unchecking "Auto Acknowledge" does not make any difference.

Try adding a catch node connected to a debug node (set to display the complete mag object) and see if that gives you any more info

I have added a catch node connected to a debug node but it doesn't give me any more information. I should mention that the "error-circular" message is displayed with an orange bar, so it seems to be a warning.
Also interestend: This message shows up even with no valid configuration for the Alexa nodes.
Thank you for your support!

@Harpau I've tested with your example flow and cannot replicate the "error circular" issue - is there anything in the console logs to suggest what might be going on? I'm on the Node-RED slack work space if you can share further information?

@danleighton did you have a similar issue?

Just to add to this, are you using contextStorage at all? If so, have you got the default set to localfilesystem? From what I've read this could cause the issues you're experiencing.

Thanks a lot, this seems to have been the reason. I have now changed the default to memory and I do not get these errors any more.

1 Like