<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — Intermittent Network Disconnect Issue with WolfMQTT]]></title>
		<link>https://www.wolfssl.com/forums/topic2188-intermittent-network-disconnect-issue-with-wolfmqtt.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2188.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Intermittent Network Disconnect Issue with WolfMQTT.]]></description>
		<lastBuildDate>Fri, 11 Oct 2024 07:09:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Intermittent Network Disconnect Issue with WolfMQTT]]></title>
			<link>https://www.wolfssl.com/forums/post7933.html#p7933</link>
			<description><![CDATA[<p>I’ve sent you an email. Could you please check it out?</p>]]></description>
			<author><![CDATA[null@example.com (iskim)]]></author>
			<pubDate>Fri, 11 Oct 2024 07:09:56 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7933.html#p7933</guid>
		</item>
		<item>
			<title><![CDATA[Re: Intermittent Network Disconnect Issue with WolfMQTT]]></title>
			<link>https://www.wolfssl.com/forums/post7931.html#p7931</link>
			<description><![CDATA[<p>Hi iskim,</p><p>Welcome to the wolfSSL Forums.</p><p>The MQTT protocol uses a keep-alive message called a ping to sustain the communication channel between a client and the broker. During the client connect, the keep_alive_sec field is sent to broker, which uses that to determine if the client has lost it&#039;s connection. Some brokers use that value (in seconds) times 1.5 to finally disconnect the client. If your client is not sending the ping (or ping response) within the time frame negotiated, then the broker will disconnect the client.</p><p>&gt; - Under what circumstances does WolfMQTT trigger a NETWORK error?</p><p>A network timeout can occur when the client attempts to read or write data to the network, but the operation takes too long. This is configurable with the timeout_ms parameter when calling MqttClient_NetConnect.</p><p>&gt; - Are there any specific configurations or common pitfalls that I should look into to prevent this kind of disconnection?</p><p>A network error might not even be on client side. The application should handle network problems gracefully and allow reconnection attempts.</p><br /><p>Could you tell us more about your MQTT project and your location for our support records? Feel free to email us at support@wolfssl.com for a more private conversation.</p><p>Kind regards,<br />Eric - wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Thu, 10 Oct 2024 13:08:55 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7931.html#p7931</guid>
		</item>
		<item>
			<title><![CDATA[Intermittent Network Disconnect Issue with WolfMQTT]]></title>
			<link>https://www.wolfssl.com/forums/post7927.html#p7927</link>
			<description><![CDATA[<p>Hello everyone,</p><br /><br /><p>I&#039;m currently using the Microchip&#039;s MCU in my project, and I’ve integrated WolfMQTT to handle communication with other devices. However, I’ve been facing an issue where the network connection sometimes disconnects unexpectedly.</p><p>From my serial logging, I can see that a TIMEOUT error typically occurs just before the NETWORK error, but I’m unable to pinpoint the exact cause. The TIMEOUT error is reproducible in my local environment, but the NETWORK error happens intermittently and cannot be replicated consistently.</p><p>I’m wondering if anyone has encountered a similar issue with WolfMQTT?</p><br /><br /><p>- Under what circumstances does WolfMQTT trigger a NETWORK error?</p><p>- Are there any specific configurations or common pitfalls that I should look into to prevent this kind of disconnection?</p><br /><br /><p>Any insights or suggestions would be greatly appreciated!</p><br /><br /><p>Thank you in advance!</p>]]></description>
			<author><![CDATA[null@example.com (iskim)]]></author>
			<pubDate>Thu, 10 Oct 2024 01:37:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7927.html#p7927</guid>
		</item>
	</channel>
</rss>
