blob: 6314576b1ce885c72d13c4a773ae4426b2d7bfc8 [file] [log] [blame]
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache Dubbo – 3 - Proxy</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/</link><description>Recent content in 3 - Proxy 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/3/index.xml" rel="self" type="application/rss+xml"/><item><title>Docs3-V2: 3-1 - Failed to convert address to Invoker</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/1/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/1/</guid><description>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>The protocol configured on the client side does not match the protocol configured on the server side. (For example, the protocol configured by the client is the Dubbo protocol, but the server can only provide services of the Rest protocol.)&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The registration center (or configuration center) is unreliable and pushes illegal data.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Check the protocol configuration of both the provider and the consumer.&lt;/li>
&lt;li>Update the version of the registry.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-2 - Publish or push service failed</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/2/</guid><description>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The registration center cannot be connected.&lt;/li>
&lt;li>The registration center cannot provide external services.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Whether the service and registration center network is normal.&lt;/li>
&lt;li>Whether the registration center starts normally and can be connected through third-party tools.&lt;/li>
&lt;li>Whether there is a version compatibility problem between the version referenced by the service and the version of the registration center.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-3 - Failed to generate bytecode via Javassist</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/3/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/3/</guid><description>
&lt;h2 id="reminder">Reminder&lt;/h2>
&lt;p>The meaning of this error code has been adjusted. If you are looking for information of this error code in Dubbo versions prior than (or equal) 3.1.4 or 3.2.0-beta.3, head to &lt;a href="https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/faq/3/8/">3-8&lt;/a>.&lt;/p>
&lt;p>(This error code is currently absent.)&lt;/p>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-4 - Client sending request timed out</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/4/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/4/</guid><description>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The number of client connections is too high, the response is slow, and the request cannot be sent to the server in time.&lt;/li>
&lt;li>Some reasons for the network.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Whether the network is normal.&lt;/li>
&lt;li>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;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-5 - An exception occurred in the asynchronous response</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/5/</guid><description>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The business logic does have a runtime exception.&lt;/li>
&lt;li>The connection is refused due to network reasons.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>For the business code, please trace back and check according to the prompt line of the stack.&lt;/li>
&lt;li>Check whether the network of the service provider is normal.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-6 - An exception occurred in the proxy execution service</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/6/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/6/</guid><description>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The current service parameters have been displayed as &lt;code>deprecated&lt;/code>.&lt;/li>
&lt;li>This reminder may appear for generic declaration classes.&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>Confirm whether there is a display parameter &lt;code>deprecated=true&lt;/code> in the URL&lt;/li>
&lt;li>If this error occurs in the generic declaration class, it will try to create a proxy without the actual interface class.&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-7 - Server response timed out</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/7/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/7/</guid><description>
&lt;p>The server did not get a response within the time set by the client.&lt;/p>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>The business processing logic of the server is complex and cannot respond within the effective time.&lt;/li>
&lt;li>The connection between the server and the client is disconnected, and the network packet is lost.&lt;/li>
&lt;li>The server load is too high.&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 indeed a performance bottleneck in the business processing capability of the server.&lt;/li>
&lt;li>Whether the network is normal.&lt;/li>
&lt;li>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;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item><item><title>Docs3-V2: 3-8 - Proxy Failure</title><link>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/8/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dubbo.apache.org/en/docs3-v2/java-sdk/faq/3/8/</guid><description>
&lt;p>Failed to generate dynamic proxy.&lt;/p>
&lt;h2 id="possible-reason">Possible Reason&lt;/h2>
&lt;ol>
&lt;li>There is dynamic class loading&lt;/li>
&lt;li>Class format exception&lt;/li>
&lt;/ol>
&lt;h2 id="troubleshooting-and-resolution-steps">Troubleshooting and resolution steps&lt;/h2>
&lt;ol>
&lt;li>If &lt;code>Fallback to use JDK proxy success&lt;/code> is displayed in the log,
It means that Dubbo has successfully created a dynamic proxy after automatically falling back to the JDK proxy. If the program is running normally, you can ignore it&lt;/li>
&lt;li>If the log shows &lt;code>Fallback to use JDK proxy is also failed&lt;/code>,
Please check whether the corresponding class loading is normal according to the exception stack information, you can use tools such as arthas to assist in troubleshooting&lt;/li>
&lt;/ol>
&lt;p style="margin-top: 3rem;"> &lt;/p></description></item></channel></rss>