N Sharma
N Sharma

Reputation: 34507

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?

Upvotes: 1

Views: 818

Answers (2)

ValerieLampkin
ValerieLampkin

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.
enter image description here

Upvotes: 2

ValerieLampkin
ValerieLampkin

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

Related Questions