Not correct delivered messages from an external component

Hi people. I develop an external component, that connects to the ejabberd server and then, when an event happens (eg. I change the background on my application), sends a message to mi Pidging account. The problem that I'm having with it is that the messages when the event happens, sometimes are delivered and sometimes they are not.
I configure my component with max_fsm_queue, 1000, but the error persists. I tried to see the log of the server, but it show me when the component is connected and disconnected but doesn't show me what happens with the messages I send.
I also tried to send the messages with a few seconds between them, and it seems like the very fists messages are delivered just fine, but then the error appears again, and then some messages are delivered and others are not.
I tried to sniff my network with wireshark, but I can't configure well to see only those ports that I'm using it.
To add more information, I develop these external component with two different libraries written in C#, and the error is the same.

Thanks to all, I hope that the explanation were very clear, and I hope that you can help me a little more to solve my problem.

Regards, Matias.

Syndicate content