I'm following these instructions using the orgID given by the Watson IoT platform.
I then created the MQ Client in Node-RED using this orgID and d:orgID:mydevicetype:mydevicedid using arbitrary mydevicetype and mydevicedid.
These are the Node-RED error messages:
"Error: Connection refused: Not authorized"
"Error stopping node: Error: [BaseClient:disconnect] Client is not connected"
I then created a device on the Watson IoT platform using the mydevicetype and mydevicedid and eas provided a token. I got the same error using use-token-auth as the user and the token as password.
Device log on the Watson IoT platform:
Invalid userID () for device auth:
ClientID='d:orgID:mydevicetype:mydevicdeid',
ClientIP=169.50.40.xxx
Can you try:
mqtts://[orgId].messaging.internetofthings.ibmcloud.com
use-token-auth
[the token you got when you created the device]
d:[orgID]:[mydevicetype]:[mydeviceid]
Looks like not much different from what you've tried, perhaps your are not using a secure (mqtts) connection ?