Forum Home › Forums › Communicating with Devices › Mqtt communication error
Tagged: mqtt
- This topic has 5 replies, 3 voices, and was last updated 3 years, 9 months ago by
Mikhail.
-
AuthorPosts
-
August 22, 2021 at 10:25 am #9416
trauden
ParticipantHi everyone,
I’ve installed 2 mqtt communication channels on Rapidscada on Ubuntu,
One mqtt channel works well,
but another don’t work.
Everyone can help me. I appreciate any help.
errors show below:
==============
Send packet
Error reconnecting: Could not read remaining length2021-08-22 17:08:10 Communication session with the Device 3 “MQTT Solar Pannel”, type: KpMqtt
Receive packet
Error: StriderMqtt.MqttProtocolException: Could not read remaining length
at StriderMqtt.PacketReader.ReadRemainingLength (System.IO.Stream stream) [0x0003a] in <3945b90035204b459b00abe558ec2c55>:0
at StriderMqtt.PacketReader..ctor (System.IO.Stream stream) [0x0001f] in <3945b90035204b459b00abe558ec2c55>:0
at StriderMqtt.BaseTransport.Read () [0x00006] in <3945b90035204b459b00abe558ec2c55>:0
at Scada.Comm.Devices.KpMqttLogic.ReceivePacket () [0x00010] in <3945b90035204b459b00abe558ec2c55>:0
Send packet
Disconnect from MQTT broker
==================August 23, 2021 at 12:55 pm #9417
MikhailModeratorHi,
Which driver version do you use?
August 23, 2021 at 11:45 pm #9419trauden
ParticipantHi Mikhail,
I use driver version KpMqtt 5.0.4.0 En.August 24, 2021 at 3:29 pm #9422
MikhailModeratorHi,
If you share the MQTT broker and provide the MQTT settings file, I can try to reproduce and fix this error.
January 31, 2022 at 9:38 pm #10031morellana
ParticipantHi everyone, I’m having the same problem. Only one mqtt client using driver 5.3.1 En.
2022-01-31 18:37:17 Communication session with the Device 300 “MQTTDEVICE”, type: KpMqtt
Send packet2022-01-31 18:37:18 Communication session with the Device 300 “MQTTDEVICE”, type: KpMqtt
Receive packet
Error: StriderMqtt.MqttProtocolException: Could not read remaining length
at StriderMqtt.PacketReader.ReadRemainingLength(Stream stream)
at StriderMqtt.PacketReader..ctor(Stream stream)
at StriderMqtt.BaseTransport.Read()
at Scada.Comm.Devices.KpMqttLogic.ReceivePacket()
Send packet
Disconnect from MQTT brokercan someone help me with this?
thanks in advance.
MauricioFebruary 1, 2022 at 12:56 pm #10036
MikhailModeratorHi,
Please provide more info
1. What the 2nd MQTT client software do you use?
2. What MQTT broker do you use?
3. Can other 2 MQTT (not Rapid SCADA) clients communicate normally? -
AuthorPosts
- You must be logged in to reply to this topic.