-
Notifications
You must be signed in to change notification settings - Fork 2
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
linux build crashes when connecting to test.mosquitto.org #1
Comments
Oopsie doopsie 😅 ContextThere is no tahu support for a Golang implementation of the sparkplug-payload nor the sparkplug-client. I have found this as a code base: https://github.com/weekaung/sparkplugb-client. CoreDecodePayload is directly involved in this error and the code use it like that: https://github.com/Ambre-io/sparkplugui/blob/main/backend/sparkplug/weekaung.go#L104. I copied the code base and add method from the fresh compiled proto file: https://github.com/Ambre-io/sparkplugui/blob/main/backend/sparkplug/sproto/sparkplug_b.pb.go. UnderstandingIt cannot or doesn't know how to decode an incoming message. I don't yet have the type(s) of messages that are causing the problem here, because some work well, fortunately. I'm still not sure to understand well what is happening here.. |
Windows version crashes as well. |
Hello @marchino2000, thank you for reporting this and sorry for the bad user experience with SparkpluGUI. Do you have more information to give like the context of usage? I think there are two main problems:
For now, SparkpluGUI can't handle top-level topics that involve a large flow of messages. Unfortunately, I currently can't do more for this. The cool thing is that with wes-johnson, the main maintainer of the tahu library, we discussed adding it to the Tahu Project. I will find a moment to make it true, SparkpluGUI gonna have better chance like that. Also, if you want to contribute, feel free to create a PR! Peace 🫰 |
Hi @guiklimek , thank you for your reply. I find this gui a valuable utility to monitor sparkplug messages, so keep up with the good work! In my case it seems that crash is related to authentication fields: if you leave user and password empty, then you'll get the problem. |
./SparkpluGUI-Linux v1.0.0
MQTT host:
test.mosquitto.org
port: 1883
subscribe to:
spBv1.0/#
click 'connect', and the app crashes with the following error message:
The text was updated successfully, but these errors were encountered: