MQTT static credentials

The guides (https://cumulocity.com/guides/device-sdk/mqtt/#device-integration) say that I have to contact support@cumulocity.com to get hold of the static user credentials. But all that I get from that email address is a bounce saying it is no longer active.

How do I get hold of the static user credentials then?

I’ve tried management/devicebootstrap as the username (as per the MQTT cheat sheet) but I just get a “Bad username of password” reply.

This is pretty fundamental, for anyone wanting to use the trial…

This is my test code (node.js):

const mqtt = require( “mqtt” )
const opts_bootstrap = {
username: ‘management/devicebootstrap’,
clientId: ‘TEST’
}
const client = mqtt.connect( ‘mqtt://mqtt.cumulocity.com’, opts_bootstrap );

Hi Niels,

for the static MQTT device credentials API, please use the following credentials:

best regards
Michael

Hey,

sry for reviving this old topic, but why create a new one for an already existing topic?
So here is my question: Im using this client (https://github.com/TyrManuZ/cumulocity-python-agent) but i cant get it working. I guess i messed up the credentials somehow. I have them like this:

[secret]
c8y.bootstrap.tenant = mqtt.cumulocity.com
c8y.bootstrap.user = management/devicebootstrap
c8y.bootstrap.password = Fhdt1bb1f

[mqtt]
url = <>
port = 1883
ping.interval.seconds = 60

[agent]
main.loop.interval.seconds = 10

the logs im getting show this:

2020-09-15 16:57:47,165 DEBUG Bootstrap connected with result code: 4
2020-09-15 16:57:50,786 DEBUG poll credentials
2020-09-15 16:57:55,791 DEBUG poll credentials
2020-09-15 16:58:00,797 DEBUG poll credentials

First of all… what is the meaning of code 4?
And second, what did i miss?

Would be nice if anyone could help me :slight_smile:

Greetings Uwe