Connect to Orange LiveObjects MQTT broker

Hello everyone!
I’m trying to connect ChirpStack Network Server to the Orange LiveObjects infrastructure.
I only have to connect to their MQTT broker with these instructions:

Given these instructions, how do I have to configure the chirpstack-network-server.toml configuration file, especially regarding the server address?
Where can I enable SSL/TSL for this connection?

# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
server="ssl://liveobjects.orange-business.com:8883" 

# Connect with the given username (optional)
username="application"

# Connect with the given password (optional)
password="myApiKey"

I tried with these paramters, but chirpstack-network-server fails to connect, typing:
msg="gateway/mqtt: connecting to mqtt broker failed, will retry in 2s: Identifier rejected"

Thank you guys!
Leonardo

It looks like they are rejecting your client ID, despite the doc claiming it is “free.”

Hello!
However, I tried with a Windows MQTT client software (MQTT.fx) and I managed to connect to the broker with a random clientID.
I suspect that I’m not actually using a SSL/TSL connection or that the TSL version is not >= 1.2 as requested, but I don’t know where to check it.
Do you have any idea?

Any idea? I think a ssl enable flag is missing.
Thank you

@brocaar do you have any suggestion?

Hello,
I manage to check LiveObjects Logs and I found the problem:

Connection Refused - Invalid ClientId : It Should Not Be Empty

@brocaar sorry, how can I add this parameter to the chirpstack-network-server.toml configuration file?

Which MQTT client does ChirpStack Network Server use?

https://www.chirpstack.io/network-server/install/config/

Search for client_id.

Yes, it works, thank you very much !

1 Like