Trying to get a simple mqtt subscribe-and-respond flow up. I can receive with mqtt-in from remote thingsboard server. But when I add mqtt-out (with same server config), both in & out disconnects when the message goes through. The mqtt is triggered by a rpc call in thingsboard, and it is set up with two-way-command, so it waits for a response and results in request timeout error.
Not sure if there are any restrictions or missing configurations in thingsboard for this to work, but regardless it seems strange that both in and out disconnects? Have tried with setting client id (shared for both in and out). Have tried making duplicate server config with different client id. Have tried leaving empty client id (auto-generated). So far no luck.