[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] Possible Bug in in ping handling
|
Hi Roger,
Sorry, my first test was wrong.
I created a new VM (without mosquitto installed) to test with and tried
to change the test code to connect to my existing mosquitto server, but
forgot to change the publish line, which was where the connect failure
came from.
I have tried again and it all works fine.
Many Thanks
Graham
On 01/03/2016 20:59, Roger Light - roger@xxxxxxxxxx wrote:
> Hi Graham,
>
> I don't see this behaviour - the asciicast at
> https://asciinema.org/a/53wb1zy8mcwikauy5wq0p86bh is the results that
> I get. I copied your test client to sub_client.c for easy building, so
> mosquitto_sub is actually your client and mosquitto_pub is the real
> mosquitto_pub.
>
> Did you do a "make clean" before your test?
>
> Cheers,
>
> Roger
>
>
>
> On Tue, Mar 1, 2016 at 10:08 AM, <mosquitto-dev.gpbenton@xxxxxxxx> wrote:
>> Hi Roger,
>>
>> This is an improvement, but the client still seems to be trying to
>> re-connect even though it hasn't been disconnected. There are no
>> messages in the mosquitto.log file, when the client is running.
>>
>> Here is the output from my original program
>>
>> lient clientText sending CONNECT
>> Client clientText received CONNACK
>> Client clientText sending SUBSCRIBE (Mid: 1, Topic: /test, QoS: 2)
>> Client clientText received SUBACK
>>
>>
>>
>> Error: Connection refused
>> Client clientText sending PINGREQ
>> Client clientText received PINGRESP
>> Error: Connection refused
>> Client clientText sending PINGREQ
>> Client clientText received PINGRESP
>> Error: Connection refused
>> Client clientText sending PINGREQ
>> Client clientText received PINGRESP
>> Error: Connection refused
>> Client clientText sending PINGREQ
>> Client clientText received PINGRESP
>>
>>
>> Regards
>>
>> Graham
>>
>>
>> On 28/02/2016 17:34, Roger Light - roger@xxxxxxxxxx wrote:
>>> Hi Graham,
>>>
>>> I've just pushed a change which I think fixes this. You can find it on
>>> the "fixes" branch. If you can, I'd appreciate it if you could test it
>>> and confirm that it works for you.
>>>
>>> Cheers,
>>>
>>> Roger
>>>
>>>
>>> _______________________________________________
>>> mosquitto-dev mailing list
>>> mosquitto-dev@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>>>
>>
>>
>> _______________________________________________
>> mosquitto-dev mailing list
>> mosquitto-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>