Reputation: 34507
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
I have added one device on Bluemix, see below snapshot
I am trying to debug whatever message is being published from my ESP8266 which is connected to the IBM Bluemix
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"
Can anyone help me what I am missing or doing wrong?
Upvotes: 1
Views: 818
Reputation: 2636
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.
Upvotes: 2
Reputation: 2636
I believe your connection is failing due to authentication error with your API Key (API key not found in database). Please confirm you are using valid ClientID and API key for your application.
Upvotes: 1