blob: 831e1b4fdaa2ddaecec3b67e335b1173cf6b3922 [file] [log] [blame]
<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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>This situation may occur in the scenario of custom Protocol. Dubbo&amp;rsquo;s SPI mechanism cannot find the Protocol specified in the URL.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Make sure that the Consumer has dependencies on the Protocol used by the server.&lt;/li>
&lt;li>Make sure that the name of the SPI configuration file of the Protocol&amp;rsquo;s dependent package is correct.&lt;/li>
&lt;/ol>
&lt;h2 id="see-also">see also&lt;/h2>
&lt;p>&lt;a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/spi/overview/">Dubbo SPI Overview&lt;/a>&lt;/p>
&lt;p>&lt;a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/spi/description/protocol/">Protocol Extension Description&lt;/a>&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>The serialization configuration of Kryo and FST is currently used.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>Please refer to &lt;a href="https://dubbo.apache.org/en/docs3-v2/java-sdk/advanced-features-and-usage/performance/serialization/">Kryo and FST serialization&lt;/a>&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>No exposed service interface or method was found based on the specified protocol parameter.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can confirm whether the server exists according to the interface URL and method name.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Currently using an unsafe serializer, which is not recommended. The specific configuration is: &lt;code>serialization=&amp;quot;java&amp;quot;&lt;/code>&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>Modify the parameter value of the setting. Change the serialization parameter value in the protocol to other.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>The prompt information does not affect the execution result of the program.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>There is a logic error in the custom SPI &lt;code>org.apache.dubbo.common.serialize.Serialization&lt;/code> serialization method.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Generally, the parameter value does not conform to the rules, and an error occurs during forced conversion.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>Modify the configuration according to the key name prompted by the stack information.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Usually an internal error.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.
At the same time, please submit an issue in the community.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The server is closed.&lt;/li>
&lt;li>The IP of the caller is not in the whitelist of the server.&lt;/li>
&lt;li>The requested specific address service does not exist.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Check the startup and operation of the server.&lt;/li>
&lt;li>Check or use a third-party tool to test whether the network environment can be connected normally.&lt;/li>
&lt;li>According to the serviceName of the stack, check or simulate the call in the management platform to see if it is normal.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Usually an internal error.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.
At the same time, please submit an issue in the community.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>Server-side logic processing is relatively time-consuming.&lt;/li>
&lt;li>The server load request is too high to respond.&lt;/li>
&lt;li>The current timeout parameter setting threshold is quite different from the actual situation.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Check whether there is time-consuming processing based on the interface name.&lt;/li>
&lt;li>It can monitor the status of the server and the service calls invoked by the server.&lt;/li>
&lt;li>Try increasing the timeout parameter.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The server pipeline may be temporarily disconnected due to network reasons.&lt;/li>
&lt;li>The currently used version is lower or you can check the current parameter configuration to see if &lt;code>send.reconnect=true&lt;/code> is enabled, and the higher version defaults to true.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Check whether the directly connected network is smooth and whether there is any packet loss.&lt;/li>
&lt;li>Check the above parameter values, or try to use a higher version.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>After receiving the response from the server, the client stream listener will output this information for reminder.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Incorrect use of internal &lt;code>org.apache.dubbo.rpc.protocol.tri.service.TriHealthImpl#enterTerminalState&lt;/code>&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>Calling the above method multiple times will remind you. Generally only used for unit testing.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Usually an internal error.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>You can use some third-party tools or &lt;code>jstack [PID] &amp;gt; jstack.log&lt;/code> to analyze the stack information and locate it.
At the same time, please submit an issue in the community.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Currently only used in unit test scenarios, the service model will be initialized by default.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="important-reminder">Important Reminder&lt;/h2>
&lt;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 &lt;a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/faq/0/2/">0-2&lt;/a>.&lt;/p>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>This error code indicates that the parameter value may no longer be correct.&lt;/p>
&lt;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.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>Adjust the monitoring relationship between protocols and ports.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;p>Version mismatch between server and caller.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;p>Check the currently used dubbo version, and try to keep a consistent or backward compatible high version.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/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>
&lt;h2 id="possible-reason">possible reason&lt;/h2>
&lt;p>The current server may be under attack or Dubbo&amp;rsquo;s built-in class checking logic has not scanned the class you defined.&lt;/p>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>If the source of the request is an attack source, please perform security hardening in time.&lt;/li>
&lt;li>If the request source is expected, please declare the class name you are using in the &lt;code>security/serialize.allowlist&lt;/code> resource file, and Dubbo will automatically load it into the security list.&lt;/li>
&lt;/ol>
&lt;h2 id="hint">hint&lt;/h2>
&lt;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.&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item></channel></rss>