Search code examples
arduinoibm-cloudesp8266node-redwatson-iot

Error: Connection refused: Not authorized on debug view on IBM Bluemix


I am trying to do some experiments with IBM Bluemix platform for my IOT application. I am able to publish the events which are logging well also on Bluemix. I have checked this thread but didn't work for me IBM Bluemix: Device connected, but 'IBMIoT: Error: Connection refused: Not authorized' message keeps popping up

enter image description here

I have added one device on Bluemix, see below snapshot

enter image description here

I am trying to debug whatever message is being published from my ESP8266 which is connected to the IBM Bluemix

enter image description here

I am trying to debug this published message in node red debug console, there it is displaying below error:

msg : string[41] "Error: Connection refused: Not authorized"

enter image description here

Can anyone help me what I am missing or doing wrong?


Solution

  • Your Node-RED application should be authenticating with a valid API Key. Be sure you have the right API credentials and update the ibmiot node choosing API Key from the authentication drop down box and supplying the API Key credentials for your service.
    enter image description here