Problem when trying to set up Chirpstack v4 with hosted hivemq

Hello,

I’m trying to connect the new Chirpstack V4 with mt hosted Hivemq cluster with no success.
I can connect chirpstack-gateway-bridge (4.0.0-rc.1), I can connect a chirpstack-network-server v3 but I can’t get the chirpstack v4 connecting.

Did anyone manage to do so ?

Here is the error I get:

chirpstack_1                       | Sep 05 10:01:53.784  INFO chirpstack::gateway::backend::mqtt: Configuring connection with TLS certificate ca_cert="/etc/chirpstack/isrgrootx1.pem" tls_cert="" tls_key=""
chirpstack_1                       | Sep 05 10:01:53.784  INFO chirpstack::gateway::backend::mqtt: Connecting to MQTT broker region_name=eu868 server_uri=ssl://<my_id>.s2.eu.hivemq.cloud:8883 clean_session=false client_id=cecile
chirpstack_1                       | Sep 05 10:01:53.784  INFO chirpstack::integration::mqtt: Subscribing to command topic command_topic=application/+/device/+/command/+
chirpstack_1                       | Sep 05 10:01:53.784  INFO chirpstack::integration::mqtt: Starting MQTT consumer loop
chirpstack_1                       | Error: New MQTT gateway backend error
chirpstack_1                       |
chirpstack_1                       | Caused by:
chirpstack_1                       |     0: Connect to MQTT broker
chirpstack_1                       |     1: [-1] TCP/TLS connect failure

I’m using the same user/pssword as the chirpstack-gateway-bridge

I have been able to make it work by changing the code see PR here: https://github.com/chirpstack/chirpstack/pull/37

Which I already have merged :slight_smile: