Dear Team,
Greetings!!,
We are implementing MQTT protocol for our application for that we are using your “paho.mqtt.client” library.
We observed a unusual behavior with “client.publish” api of paho-mqtt library (
https://pypi.org/project/paho-mqtt/) . In the middle of code execution (after 4-10 hours of continuous code execution), we received the return value of publish API (rc)
as 7 which means “currently unused connection” and then immediately we start receiving value of
rc as 4.
Where, “rc=4”
means username or password is incorrect but that was not the case while running the code.
We are not modifying password or username dynamically in the code at any time and we are also not disturbing the connection at any point during
code execution.
Thus, requesting your support.
Awaiting your reply.
Thanks & Regards,
Tejas Boradkar
Assistant System Engineer
Tata Consultancy Services Ltd., SEZ-MIHAN, Nagpur, Maharashtra, India
Mail to:
t.boradkar@xxxxxxx
Website: www.tcs.com
From: Tejas Boradkar
Sent: Thursday, January 6, 2022 3:45 PM
To: 'paho-dev@xxxxxxxxxxx' <paho-dev@xxxxxxxxxxx>
Cc: NARENDRA MARWADE <narendra.marwade@xxxxxxx>; Rutuja Murdande <rutuja.murdande@xxxxxxx>; Prafull Barpute <prafull.b@xxxxxxx>; Amit Khobragade <amit.khobragade@xxxxxxx>; Pratiksha Kotkelwar <pratiksha.kotkelwar@xxxxxxx>; HIMANSHU JASROTIA <himanshu.jasrotia@xxxxxxx>
Subject: RE: Query Regarding Discontinuity in MQTT connection
Dear Team,
Greetings!!,
We are implementing MQTT protocol for our application for that we are using your “paho.mqtt.client” library.
We observed a unusual behavior with “client.publish” api of paho-mqtt library (
https://pypi.org/project/paho-mqtt/) . In the middle of code execution (after 4-10 hours of continuous code execution), we received the return value of publish API (rc)
as 7 which means “currently unused connection” and then immediately we start receiving value of
rc as 4.
Where, “rc=4”
means username or password is incorrect but that was not the case while running the code.
We are not modifying password or username dynamically in the code at any time and we are also not disturbing the connection at any point during
code execution.
Thus, requesting your support.
Awaiting your reply.
Thanks & Regards,
Tejas Boradkar
Assistant System Engineer
Tata Consultancy Services Ltd., SEZ-MIHAN, Nagpur, Maharashtra, India
Mail to:
t.boradkar@xxxxxxx
Website: www.tcs.com
Dear Team,
Greetings!!,
We are implementing MQTT protocol for our application for that we are using your “paho.mqtt.client” library.
We observed a unusual behavior with “client.publish” api of paho-mqtt library (
https://pypi.org/project/paho-mqtt/)
. In the middle of code execution (after 4-10 hours of continuous code execution), we received the return value of publish API (rc) as 7 which means “currently unused connection” and then immediately we start receiving value of
rc as 4.
Where, “rc=4”
means username or password is incorrect but that was not the case while running the code.
We are not modifying password or username dynamically in the code at any time and we are also not disturbing the connection at any point during
code execution.
Thus, requesting your support.
Awaiting your reply.
Thanks & Regards,
Tejas Boradkar
Assistant System Engineer
Tata Consultancy Services Ltd., SEZ-MIHAN, Nagpur, Maharashtra, India
Mail to:
t.boradkar@xxxxxxx
Website: www.tcs.com
Dear Team,
Greetings!!
We are using a MQTT protocol in our application and for it’s implementation we are using plan your “Humble Hedgehog”.
As per our requirement , we need to continuous (24x7) data transfer from our application to the server, which is further analyzed by logging into your website.
But on testing we found that we receive data on MQTT for 12 hours without any issue but after 13-14 hours it is found that MQTT disconnects itself and data reception is stopped without any warning, although we have active LTE connection
provided for MQTT .
So our query is, if the current plan which we are using in our application has some
time constraints or not.
If it has any so what is the method to remove or increase connection time.
Thus, requesting your support.
Awaiting your reply.
Thanks in advance.
Regards,
Tejas Boradkar
Assistant System Engineer
Tata Consultancy Services Ltd., SEZ-MIHAN, Nagpur, Maharashtra, India
Mail to: t.boradkar@xxxxxxx
Website: www.tcs.com