| <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache Dubbo – 4 - Protocol</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/</link><description>Recent content in 4 - Protocol on Apache Dubbo</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/index.xml" rel="self" type="application/rss+xml"/><item><title>Docs3-V2: 4-1 - Unsupported protocol</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/1/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/1/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>This situation may occur in the scenario of custom Protocol. Dubbo&rsquo;s SPI mechanism cannot find the Protocol specified in the URL.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <ol> |
| <li>Make sure that the Consumer has dependencies on the Protocol used by the server.</li> |
| <li>Make sure that the name of the SPI configuration file of the Protocol&rsquo;s dependent package is correct.</li> |
| </ol> |
| <h2 id="see-also">see also</h2> |
| <p><a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/spi/overview/">Dubbo SPI Overview</a></p> |
| <p><a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/spi/description/protocol/">Protocol Extension Description</a></p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-2 - Serialization optimizer initial error</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/2/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>The serialization configuration of Kryo and FST is currently used.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>Please refer to <a href="https://dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/performance/serialization/">Kryo and FST serialization</a></p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-3 - Interface reference call failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/3/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/3/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>No exposed service interface or method was found based on the specified protocol parameter.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can confirm whether the server exists according to the interface URL and method name.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-4 - Non-safe serialization method</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/4/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/4/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Currently using an unsafe serializer, which is not recommended. The specific configuration is: <code>serialization=&quot;java&quot;</code></p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>Modify the parameter value of the setting. Change the serialization parameter value in the protocol to other.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-5 - Stream closed exception</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/5/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>The prompt information does not affect the execution result of the program.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-6 - Deserialization failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/6/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/6/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>There is a logic error in the custom SPI <code>org.apache.dubbo.common.serialize.Serialization</code> serialization method.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-7 - An error occurred while closing the client</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/7/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/7/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-8 - An error occurred while closing the server</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/8/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/8/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-9 - Parse failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/9/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/9/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Generally, the parameter value does not conform to the rules, and an error occurs during forced conversion.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>Modify the configuration according to the key name prompted by the stack information.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-10 - Triple serialization result failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/10/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/10/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Usually an internal error.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it. |
| At the same time, please submit an issue in the community.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-11 - Failed to initiate request</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/11/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/11/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <ol> |
| <li>The server is closed.</li> |
| <li>The IP of the caller is not in the whitelist of the server.</li> |
| <li>The requested specific address service does not exist.</li> |
| </ol> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <ol> |
| <li>Check the startup and operation of the server.</li> |
| <li>Check or use a third-party tool to test whether the network environment can be connected normally.</li> |
| <li>According to the serviceName of the stack, check or simulate the call in the management platform to see if it is normal.</li> |
| </ol> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-12 - Failed to create Triple stream</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/12/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/12/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Usually an internal error.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it. |
| At the same time, please submit an issue in the community.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-13 - Server Timeout</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/13/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/13/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <ol> |
| <li>Server-side logic processing is relatively time-consuming.</li> |
| <li>The server load request is too high to respond.</li> |
| <li>The current timeout parameter setting threshold is quite different from the actual situation.</li> |
| </ol> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <ol> |
| <li>Check whether there is time-consuming processing based on the interface name.</li> |
| <li>It can monitor the status of the server and the service calls invoked by the server.</li> |
| <li>Try increasing the timeout parameter.</li> |
| </ol> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-14 - Response Result Failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/14/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/14/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <ol> |
| <li>The server pipeline may be temporarily disconnected due to network reasons.</li> |
| <li>The currently used version is lower or you can check the current parameter configuration to see if <code>send.reconnect=true</code> is enabled, and the higher version defaults to true.</li> |
| </ol> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <ol> |
| <li>Check whether the directly connected network is smooth and whether there is any packet loss.</li> |
| <li>Check the above parameter values, or try to use a higher version.</li> |
| </ol> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-15 - Client Stream Listener</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/15/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/15/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>After receiving the response from the server, the client stream listener will output this information for reminder.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-16 - Service Closed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/16/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/16/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Incorrect use of internal <code>org.apache.dubbo.rpc.protocol.tri.service.TriHealthImpl#enterTerminalState</code></p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>Calling the above method multiple times will remind you. Generally only used for unit testing.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-17 - Error closing all callers</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/17/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/17/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Usually an internal error.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>You can use some third-party tools or <code>jstack [PID] &gt; jstack.log</code> to analyze the stack information and locate it. |
| At the same time, please submit an issue in the community.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-18 - Unable to get service model from call</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/18/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/18/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Currently only used in unit test scenarios, the service model will be initialized by default.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-19 - Parameter values may be wrong</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/19/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/19/</guid><description> |
| <h2 id="important-reminder">Important Reminder</h2> |
| <p>The meaning of this error code has been adjusted. For Dubbo 3.1.4, 3.2.0-beta.3 and previous versions of this error code, please refer to Error Code <a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/faq/0/2/">0-2</a>.</p> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>This error code indicates that the parameter value may no longer be correct.</p> |
| <p>At present, it appears that the same protocol is listening to multiple ports at the same time. Due to design limitations, a single protocol can only listen on one port, otherwise the port configuration will be overwritten.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>Adjust the monitoring relationship between protocols and ports.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-20 - Data decoding failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/20/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/20/</guid><description> |
| <h2 id="possible-reason">Possible Reason</h2> |
| <p>Version mismatch between server and caller.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <p>Check the currently used dubbo version, and try to keep a consistent or backward compatible high version.</p> |
| <p style="margin-top: 3rem;"> </p></description></item><item><title>Docs3-V2: 4-21 - Insecure serialized data detected</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/21/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/4/21/</guid><description> |
| <h2 id="possible-reason">possible reason</h2> |
| <p>The current server may be under attack or Dubbo&rsquo;s built-in class checking logic has not scanned the class you defined.</p> |
| <h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps</h2> |
| <ol> |
| <li>If the source of the request is an attack source, please perform security hardening in time.</li> |
| <li>If the request source is expected, please declare the class name you are using in the <code>security/serialize.allowlist</code> resource file, and Dubbo will automatically load it into the security list.</li> |
| </ol> |
| <h2 id="hint">hint</h2> |
| <p>Currently Dubbo can work in monitoring mode and restricted mode. The monitoring mode only prints logs and does not intercept; the restricted model will intercept.</p> |
| <p style="margin-top: 3rem;"> </p></description></item></channel></rss> |