-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
outgoing mqtt connections fail to publish messages when tracing is enabled #1563
Comments
This is surely not the expected behavior. Looks like a bug to me. The error message seems to come from: Lines 41 to 45 in 21f1b0d
Invoked here trying to map all external headers to MQTT5 user properties: Line 251 in 21f1b0d
So this only affects MQTT5 connections. @jufickel-b could you have a look? *edit: had another look and adjusted the potential source of the error to MQTT5 user property mapping |
@JeffreyThijs if this is urgent to you, I suggest you propose a PR fixing the issue. |
@thjaeckle, ok thanks for the clarification. I'll try to provide a PR to fix this problem. However, we encountered this problem with mqtt3 sessions though. |
Fixed via #1565 |
If we enable open tracing on the ditto services, active outgoing mqtt connections (other types might have this problem as well) fail to publish their messages due to failing to transform
ExternalMessage
toGenericMqttPublish
due to a blanktracestate
header in theExternalMessage
headers.The following error is thrown:
Is this expected behavior? If so, why is it required that the headers are blank? It is a bit silly that this requirement completely disrupts the publication of messages.
The text was updated successfully, but these errors were encountered: