<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>6 - Network Transport Layer on Apache Dubbo</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/</link><description>Recent content in 6 - Network Transport Layer on Apache Dubbo</description><generator>Hugo</generator><language>en</language><atom:link href="https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/index.xml" rel="self" type="application/rss+xml"/><item><title>6-1 - Server Connection Failure</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/1/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/1/</guid><description>&lt;p>Network communication layer, failure to connect to the service provider&amp;rsquo;s service.&lt;/p>
&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>The service provider&amp;rsquo;s network is unexpectedly disconnected or intercepted by firewalls and third-party tools, unable to provide external services.&lt;/p>
&lt;h3 id="troubleshooting-and-solution-steps">Troubleshooting and Solution Steps&lt;/h3>
&lt;ol>
&lt;li>If it&amp;rsquo;s a REST connection, check if the server configuration for the request is correct.&lt;/li>
&lt;li>Check if the network communication is normal; you can use some simple CMD commands for detection, such as &lt;code>ping&lt;/code>, etc.&lt;/li>
&lt;/ol></description></item><item><title>6-2 - Client Timeout</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/2/</guid><description>&lt;p>Timeout occurs when the caller is unable to receive a corresponding response within a specified time after sending the request.&lt;/p>
&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;ol>
&lt;li>The server is indeed processing slowly and cannot return results within the specified time, causing the caller to automatically return a timeout exception response to terminate the call.&lt;/li>
&lt;li>If the server responds quickly, but when the client is under heavy load, issues like requests being unable to be sent or responses getting stuck in the TCP Buffer can cause timeouts. This is because data sent from the server or requests from the client get queued at the system level, and if system load is high, the kernel time will increase, resulting in a timeout by the time the client receives the value.&lt;/li>
&lt;li>Usually, this is due to slow business processing. You can execute &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> on the service provider&amp;rsquo;s machine to analyze where the threads are stuck, identifying the cause of slowness. If performance cannot be optimized, consider increasing the timeout threshold.&lt;/li>
&lt;/ol>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;ol>
&lt;li>Both sides may have GC occurring. Check the GC logs on both the server and client. Prolonged GC can lead to timeouts. The occurrence of a timeout likely indicates resource bottlenecks (CPU, memory, or network) on either the caller or server; thus, it’s necessary to check for GC jitter, among other issues.&lt;/li>
&lt;li>Check the network quality of the server, such as retransmission rates to rule out network issues.&lt;/li>
&lt;li>Utilize link tracing analysis services (like Alibaba&amp;rsquo;s &lt;a href="https://help.aliyun.com/document_detail/63796.html">ARMS&lt;/a>, open-source implementations of &lt;a href="https://github.com/opentracing/opentracing-java">OpenTracing&lt;/a>, &lt;a href="https://github.com/openzipkin/zipkin">Zipkin&lt;/a>, &lt;a href="https://github.com/apache/skywalking">SkyWalking&lt;/a>, etc.) to analyze the timing of each point.&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>This error code&amp;rsquo;s FAQ page references Kong Ming&amp;rsquo;s article &lt;a href="https://github.com/StabilityMan/StabilityGuide/blob/master/docs/diagnosis/plugin/rpc/%E7%B3%BB%E7%BB%9F%E7%A8%B3%E5%AE%9A%E6%80%A7%E2%80%94%E2%80%94Dubbo%E5%B8%B8%E8%A7%81%E9%94%99%E8%AF%AF%E5%8F%8A%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95.md">“Common Errors and Solutions in Dubbo”&lt;/a>.&lt;br>
The cited article permits compilation under the &lt;a href="http://creativecommons.org/licenses/by/4.0/">CC-BY-4.0&lt;/a> license. Special thanks to the original author.&lt;/p></description></item><item><title>6-3 - Network connection closure failure</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/3/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/3/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>Non-graceful shutdown of the service, during which the server may not have completed its output stream.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>Generally, this is a notification-type warning that does not affect subsequent program execution.&lt;/p></description></item><item><title>6-4 - Unknown Exception in Network Communication Layer</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/4/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/4/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;blockquote>
&lt;p>The meaning of this error code has been adjusted. For the error of this error code in Dubbo 3.1.4, 3.2.0-beta.3, and earlier versions, please refer to error code &lt;a href="https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/faq/99/0/">99-0&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>(This error code currently has no details)&lt;/p></description></item><item><title>6-5 - Network disconnection failure</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/5/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>Timeout occurs when the caller is unable to receive the corresponding response within the specified time after the request is sent, leading to the client actively disconnecting.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>It is generally a warning message that does not affect the subsequent execution of the program.&lt;/p></description></item><item><title>6-6 - Unsupported Message</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/6/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/6/</guid><description>&lt;h3 id="possible-reasons">Possible Reasons&lt;/h3>
&lt;p>Data serialization errors or exceeding the maximum serialization value.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>You can analyze the stack information using some third-party tools or by running &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> for diagnosis.&lt;/p>
&lt;p>For specific configuration items supported by each component and their meanings, please refer to the &lt;a href="https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/config/properties/">Configuration Manual&lt;/a>&lt;/p></description></item><item><title>6-7 - Thread connection count exceeds warning</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/7/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/7/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>Warning message when the number of connections exceeds the limit, alerting that the configured connection count has been exceeded.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>The default configuration item &lt;code>connect.queue.warning.size=1000&lt;/code> can be adjusted through configuration.&lt;/p></description></item><item><title>6-8 - Failed to decode return data</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/8/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/8/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>Incorrect return data format or decoding failure&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>You can output the specific service class name along with the returned message and stack information by using the debug/warn log mode.&lt;/p></description></item><item><title>6-9 - Duplicate Serial Number ID</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/9/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/9/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;ol>
&lt;li>An empty object was returned.&lt;/li>
&lt;li>A custom serial number class, &lt;code>org.apache.dubbo.common.serialize.Serialization#getContentTypeId&lt;/code>, duplicates with the system built-in. In this case, the first loaded SPI instance will prevail. Other entries will be skipped.&lt;/li>
&lt;/ol>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;ol>
&lt;li>Check the return result.&lt;/li>
&lt;li>Built-in values can refer to the class &lt;code>org.apache.dubbo.common.serialize.Constants&lt;/code>&lt;/li>
&lt;/ol></description></item><item><title>6-10 - Payload Limit Exceeded Exception</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/10/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/10/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;blockquote>
&lt;p>Default &lt;code>payload=8M&lt;/code>, please check the configurations.&lt;/p>
&lt;/blockquote>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>For specific configuration items supported by each component and their meanings, please refer to the &lt;a href="https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/config/properties/">Configuration Manual&lt;/a>.&lt;/p></description></item><item><title>6-11 - Character set not supported</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/11/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/11/</guid><description>&lt;h2 id="possible-reasons">Possible Reasons&lt;/h2>
&lt;blockquote>
&lt;p>Default &lt;code>UTF-8&lt;/code> character set&lt;/p>
&lt;/blockquote>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h2>
&lt;p>The result will ultimately be processed with the &lt;code>UTF-8&lt;/code> character set.&lt;/p></description></item><item><title>6-12 - Error occurring during ZK client destruction</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/12/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/12/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>The connection between the client and server has been refused.
When the client is being destroyed, the server may be undergoing an election or other operations, resulting in an exception.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>The shutdown method can be queried based on stack information. Generally, no further action is required.&lt;/p></description></item><item><title>6-13 - Stream Closed Exception</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/13/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/13/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>The current stream is closed &lt;code>Stream is closed&lt;/code> or another thread is reading while the stream is closing.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>Typically, this occurs due to the incorrect order in which the code closes the stream.&lt;/p></description></item><item><title>6-14 - Server response failure</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/14/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/14/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>The client unexpectedly closes the connection when exchanging data with the server.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>The client terminates unexpectedly or the server crashes.&lt;/p></description></item><item><title>6-15 - Skip unread stream data</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/15/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/15/</guid><description>&lt;h3 id="possible-reasons">Possible Reasons&lt;/h3>
&lt;p>When decoding, unread data in the stream will be skipped if there is still unread data present.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>Data will be read all at once during decoding.&lt;/p></description></item><item><title>6-16 - Exception Occurred During Reconnection</title><link>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/16/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-3203--dubbo.netlify.app/en/overview/mannual/java-sdk/reference-manual/faq/6/16/</guid><description>&lt;h3 id="possible-causes">Possible Causes&lt;/h3>
&lt;p>An unstable network causes delayed reconnections each time a reconnection occurs.&lt;/p>
&lt;h3 id="troubleshooting-and-resolution-steps">Troubleshooting and Resolution Steps&lt;/h3>
&lt;p>Check for any network packet loss.&lt;/p></description></item></channel></rss>