Android Question MQTT :Serious error processing the message org.eclipse.moquette.proto.messages

coslad

Well-Known Member
Licensed User
Longtime User
Hi

when i try to send a simple message : SendMessage("Ciccio") through mqtt from a client to another , it comes out this in the log Windows :

Serious error processing the message org.eclipse.moquette.proto.messages

the message is sent correctly .

The sendmessage sub is this :

B4X:
Public Sub SendMessage(Body As String)
    If connected Then
        client.Publish2("all", CreateMessage(Body), 1, False)
    End If
End Sub


Any idea ?

Thanks
 

coslad

Well-Known Member
Licensed User
Longtime User
Is it possible that there are multiple clients with the same registered name?

No , only on server cllient and other one

This is the log :

B4X:
Serious error processing the message org.eclipse.moquette.proto.messages.PubAckMessage@b2cbcc2 for session [clientID: android9723657]org.eclipse.moquette.server.netty.NettyChannel@39baad3
decode invoked with buffer UnpooledHeapByteBuf(ridx: 1, widx: 98, cap: 464)
Received a message of type PUBLISH
onEvent processing messaging event from input ringbuffer ProtocolEvent wrapping PUBLISH
PUBLISH from clientID <android5447152> on topic <all> with QoS LEAST_ONE
send publish message to <android9723657> on topic <all>
send publish message to <android5447152> on topic <all>
Received a message of type PUBACK
onEvent processing messaging event from input ringbuffer ProtocolEvent wrapping PUBACK
Serious error processing the message org.eclipse.moquette.proto.messages.PubAckMessage@e8de30e for session [clientID: android9723657]org.eclipse.moquette.server.netty.NettyChannel@86c212f
decode invoked with buffer UnpooledHeapByteBuf(ridx: 1, widx: 98, cap: 464)
Received a message of type PUBLISH
onEvent processing messaging event from input ringbuffer ProtocolEvent wrapping PUBLISH
PUBLISH from clientID <android5447152> on topic <all> with QoS LEAST_ONE
send publish message to <android9723657> on topic <all>
send publish message to <android5447152> on topic <all>
Received a message of type PUBACK
onEvent processing messaging event from input ringbuffer ProtocolEvent wrapping PUBACK
Serious error processing the message org.eclipse.moquette.proto.messages.PubAckMessage@7c9221a for session [clientID: android9723657]org.eclipse.moquette.server.netty.NettyChannel@323a14b
 
Upvote 0

coslad

Well-Known Member
Licensed User
Longtime User
Unfortunately my server is an android box tv , so i need an android broker and the only one is jmqtt broker .

Thanks
 
Upvote 0

MolsonB

Member
Licensed User
Longtime User
Error has something to do with the QOS level. Try switching to 0.
I'm still digging into why when I set to 1, it comes up with errors (Even though message arrives)
 
Upvote 0
Top