diff --git a/.htaccess b/.htaccess index 1e5538c77f22..673542e0b4f6 100644 --- a/.htaccess +++ b/.htaccess @@ -29,6 +29,6 @@ RewriteCond "%{HTTP:Accept-Language}" ^zh [NC] RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh/docs3-v2/java-sdk/faq/$1" [L,R=302] - RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs/java-sdk/faq/$1" [L,R=302] + RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs3-v2/java-sdk/faq/$1" [L,R=302] diff --git a/content/en/_index.html b/content/en/_index.html index 8abfe73fbcdd..832c3e6d5ffb 100644 --- a/content/en/_index.html +++ b/content/en/_index.html @@ -6,10 +6,10 @@ {{< blocks/cover title="Apache Dubbo" image_anchor="top" height="auto" color="primary" >}}
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/11.md b/content/en/docs3-v2/java-sdk/faq/0/11.md new file mode 100644 index 000000000000..cf97f1660136 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/11.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-11 - Service stop failed" +linkTitle: "0-11 - Service stop failure" +weight: 11 +--- + + +### possible reason + +The connection is not closed in time or the memory is insufficient, causing some exceptions when the service stops. + +### Troubleshooting and resolution steps + +Close the connection after the response content is completed. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/12.md b/content/en/docs3-v2/java-sdk/faq/0/12.md new file mode 100644 index 000000000000..5e01ce184d02 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/12.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-12 - Unknown exception" +linkTitle: "0-12 - Unknown exception" +weight: 12 +--- +Unknown exception, usually API usage or configuration exception + +### possible reason + +Such as: transcoding exception, unsupported encryption and decryption methods, etc. + +### Troubleshooting and resolution steps + +The business code line can be located according to the stack information. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/13.md b/content/en/docs3-v2/java-sdk/faq/0/13.md new file mode 100644 index 000000000000..db3aea50ed9b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/13.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-13 - An exception occurred in the metrics collector" +linkTitle: "0-13 - An exception occurred in the metrics collector" +weight: 13 +--- + + +### possible reason + +An error occurred during the push process of the indicator data, the pushed server could not be connected or some configuration errors were made. Prometheus is currently supported. + +### Troubleshooting and resolution steps + +Please refer to the configuration item reference manual[configuration item reference manual](/en/docs3-v2/java-sdk/reference-manual/config/properties/#metrics). + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/14.md b/content/en/docs3-v2/java-sdk/faq/0/14.md new file mode 100644 index 000000000000..7c6534b15f4c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/14.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "0-14 - Monitoring exception" +linkTitle: "0-14 - Monitoring exception" +weight: 14 +--- +It is used to count the number of RPC calls and the call time. The extension interface is MonitorFactory, and the corresponding implementation class is DubboMonitorFactroy. + + +### possible reason + +Users can implement the MonitorFactory extension interface of this layer to implement custom monitoring statistics strategies. +In the implementation class of the custom monitoring statistics strategy, an exception occurred during business runtime. + +### Troubleshooting and resolution steps + +Check the business class of `org.apache.dubbo.monitor.MonitorFactory` interface, there may be code logic errors in the implementation method. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/15.md b/content/en/docs3-v2/java-sdk/faq/0/15.md new file mode 100644 index 000000000000..bd9588dc224d --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/15.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "0-15 - An exception occurred while loading the extension class" +linkTitle: "0-15 - An exception occurred while loading the extension class" +weight: 15 +--- + + +### possible reason + +1. The `clazz` class does not implement the interface class of the current extension point. +2. The extension may be an interface or not exist. + +### Troubleshooting and resolution steps + +1. Check the extension class declaration, and there is no matching extension implementation class. +2. The extension implementation class needs to implement the extension point interface class and method. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/16.md b/content/en/docs3-v2/java-sdk/faq/0/16.md new file mode 100644 index 000000000000..06885d4b1e8b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/16.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-16 - No actuators available" +linkTitle: "0-16 - No actuators available" +weight: 16 +--- + + +### possible reason + +The internal executor is not available and null is returned at this time. + +### Troubleshooting and resolution steps + +No need to intervene, dubbo will execute the `createExecutorIfAbsent` method internally to construct a new executor. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/17.md b/content/en/docs3-v2/java-sdk/faq/0/17.md new file mode 100644 index 000000000000..4bca06c6465f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/17.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-17 - Actuator encountered an unknown exception while shutting down" +linkTitle: "0-17 - An unknown exception occurred while the actuator was shutting down" +weight: 17 +--- + + +### possible reason + +A custom executor may be used, and an exception was generated when writing the destruction method. + +### Troubleshooting and resolution steps + +Check whether `org.apache.dubbo.common.threadpool.manager.ExecutorRepository` is custom implemented, and check the custom `shutdown` method. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/18.md b/content/en/docs3-v2/java-sdk/faq/0/18.md new file mode 100644 index 000000000000..321aedafeadd --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/18.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-18 - thread pool executor is misused" +linkTitle: "0-18 - thread pool executor is misused" +weight: 18 +--- + + +### possible reason + +The number of threads is customized, and an unknown exception occurs inside the system. + +### Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/19.md b/content/en/docs3-v2/java-sdk/faq/0/19.md new file mode 100644 index 000000000000..4f08a9ffe01e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/19.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-19 - An exception occurred while processing the task" +linkTitle: "0-19 - An exception occurred while processing the task" +weight: 19 +--- + + +### possible reason + +The custom business class processing logic is improper. + +### Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/2.md b/content/en/docs3-v2/java-sdk/faq/0/2.md new file mode 100644 index 000000000000..bba3159fd3f6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/2.md @@ -0,0 +1,14 @@ +--- +type: docs +title: "0-2 - Illegal property value" +linkTitle: "0-2 - Illegal attribute value" +weight: 2 +--- + +### possible reason +This hint means that the value configured by the user does not match the data type required by the attribute itself. For example, the `dubbo.comsumer.threads` attribute can only accept numeric attributes, but the value entered by the user is mixed with letters. + +### Troubleshooting and resolution steps +According to the [Configuration Item Reference Manual](../../../reference-manual/config/properties), find the wrong configuration item, check the type specified by the item, and check whether there is a type inconsistency. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/20.md b/content/en/docs3-v2/java-sdk/faq/0/20.md new file mode 100644 index 000000000000..f1effdc0d242 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/20.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "0-20 - An exception occurred while storing stack information" +linkTitle: "0-20 - An exception occurred while storing stack information" +weight: 20 +--- + + +### possible reason + +1. The JVM has set the parameter `-XX:+DisableAttachMechanism` +2. Set a stack dump path that does not exist in the system. If it does not exist, the system will try to create it. A `SecurityException` occurs during creation. + May not have permission. + +### Troubleshooting and resolution steps + +1. Check whether the JVM has set the above parameters. +2. Check whether the account currently starting the service has permission to create folders. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/21.md b/content/en/docs3-v2/java-sdk/faq/0/21.md new file mode 100644 index 000000000000..68dd1a1d933a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/21.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "0-21 - Too many instances built" +linkTitle: "0-21 - Too many instances built" +weight: 21 +--- + +### possible reason + +Generally, it means that `org.apache.dubbo.common.timer.HashedWheelTimer` creates too many instances. + +### Troubleshooting and resolution steps + +It does not affect the construction of the instance, and there may be a risk of memory leaks. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/22.md b/content/en/docs3-v2/java-sdk/faq/0/22.md new file mode 100644 index 000000000000..4898239ce63f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/22.md @@ -0,0 +1,23 @@ +--- +type: docs +title: "0-22 - I/O stream exception" +linkTitle: "0-22 - I/O stream exception" +weight: 22 +--- + + +### possible reason + +1. Read a local file that is no longer available. +2. Attempt to read/write the file but do not have permission. +3. An attempt was made to write a file but disk space is no longer available. + +### Troubleshooting and resolution steps + +1. Check if the local file exists. +2. Check the file permissions. +3. Check the disk space. + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/23.md b/content/en/docs3-v2/java-sdk/faq/0/23.md new file mode 100644 index 000000000000..e2b0278747ce --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/23.md @@ -0,0 +1,21 @@ +--- +type: docs +title: "0-23 - Serialized data conversion exception" +linkTitle: "0-23 - Serialized data conversion exception" +weight: 23 +--- + + +### possible reason + +1. There is a circular reference in the data to be serialized, resulting in a stack overflow. +2. The version of the referenced jar package is low or there is a compatibility problem. + +### Troubleshooting and resolution steps + +1. If using FastJson, remove `SerializerFeature.DisableCircularReferenceDetect` +2. Check or upgrade the version to try. + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/24.md b/content/en/docs3-v2/java-sdk/faq/0/24.md new file mode 100644 index 000000000000..822f1cbd3c6e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/24.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "0-24 - Override field value exception" +linkTitle: "0-24 - Override field value exception" +weight: 24 +--- + + +### possible reason + +1. The entity class does not have a setter/getter method. +2. There may be nested attributes. + +### Troubleshooting and resolution steps + +1. Check the entity class and set the setter/getter method. +2. According to the stack information, check whether nested annotations are used. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/25.md b/content/en/docs3-v2/java-sdk/faq/0/25.md new file mode 100644 index 000000000000..e7dea0fce7ec --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/25.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "0-25 - Error loading map" +linkTitle: "0-25 - Error loading map" +weight: 25 +--- + + +### possible reason + +Insufficient file access rights + +### Troubleshooting and resolution steps + +Check file permissions. +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/26.md b/content/en/docs3-v2/java-sdk/faq/0/26.md new file mode 100644 index 000000000000..e8e10aacb7f8 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/26.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "0-26 - Warning message when metadata is published to the service" +linkTitle: "0-26 - Warning message when metadata publishing service" +weight: 26 +--- + +### possible reason + +When the metadata stores the mapping relationship between the interface and the application, the reminder message displayed. + +### Troubleshooting and resolution steps + +Generally, it can be analyzed according to the stack information, or it can not be processed. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/27.md b/content/en/docs3-v2/java-sdk/faq/0/27.md new file mode 100644 index 000000000000..9fbe91fdc65e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/27.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "0-27 - Thread pool isolation configuration exception" +linkTitle: "0-27 - Thread pool isolation configuration exception" +weight: 27 +--- + +### possible reason + +The thread pool isolation capability of the application is not enabled, but the isolated thread pool information is configured in `ServiceConfig`. + +### Troubleshooting and resolution steps + +Configure and enable the thread pool isolation capability of the application: `dubbo.application.executor-management-mode=isolation` + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/3.md b/content/en/docs3-v2/java-sdk/faq/0/3.md new file mode 100644 index 000000000000..5aca400e828c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/3.md @@ -0,0 +1,31 @@ +--- +type: docs +title: "0-3 - Unable to access cache path" +linkTitle: "0-3 - Unable to access cache path" +weight: 3 +--- + +Other modules reuse the file-based caching mechanism of the Common layer (currently the metadata module), and the file caching mechanism of the Common layer cannot access the directory it specifies. + +``` +2022-08-29 00:35:00,189 ERROR [org.apache.dubbo.common.cache.FileCacheStoreFactory:?] - [DUBBO] Cache store path can't be created: , dubbo version: , current host: 10.0.1.1 , error code: 0-3. This may be caused by inaccessible of cache path, go to https://dubbo.apache.org/faq/0/3 to find instructions. +java.nio.file.FileAlreadyExistsException: [Path] +at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:87) +at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) +at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) +at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:521) +at java.base/java.nio.file.Files.createDirectory(Files.java:700) +at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:807) +at java.base/java.nio.file.Files.createDirectories(Files.java:753) +at org.apache.dubbo.common.cache.FileCacheStoreFactory.getInstance(FileCacheStoreFactory.java:90) +... +``` + +### possible reason +1. Multiple Dubbo processes (or other Java processes) use the same cache file. +2. Due to the file system permission problem of the directory where the cache file is located, reading and writing fails. + +### Troubleshooting and resolution steps +1. According to the actual exception shown below, find the directory that cannot be accessed, and determine its file access permission. +2. Determine whether other Dubbo instances are accessing this path. +3. Try to configure **Java System Property (Java system properties configured with -D)** `dubbo.meta.cache.filePath` and `dubbo.mapping.cache.filePath`, specify it as a current user can completely under the control directory. \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/4.md b/content/en/docs3-v2/java-sdk/faq/0/4.md new file mode 100644 index 000000000000..27c5afa17d72 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/4.md @@ -0,0 +1,48 @@ +--- +type: docs +title: "0-4 - cache entry exceeded" +linkTitle: "0-4 - Cache entry limit exceeded" +weight: 4 +--- +Other modules reuse the common layer's file-based caching mechanism (currently the metadata module), and the common layer's file caching mechanism "sees" that the entry limit is exceeded. + + +### possible reason +User improperly configured **Java System Property** (Java system property configured with -D) `dubbo.mapping.cache.entrySize` or `dubbo.meta.cache.entrySize` + +**Defaults** + + + +
dubbo.mapping.cache.entrySize | +dubbo.meta.cache.entrySize | +
10000 | +100 | +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/7.md b/content/en/docs3-v2/java-sdk/faq/0/7.md new file mode 100644 index 000000000000..0aa31d79028d --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/7.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "0-7 - Reflection class not found" +linkTitle: "0-7 - Reflection class not found" +weight: 7 +--- + + +### possible reason + +1. Generally, when `Class.forName(className)` executes this method, the current class of `className` cannot be found. +2. The business code shows that the current `className` class is excluded, so it is not found when loading. + +### Troubleshooting and resolution steps + +1. Check whether `className` exists in `Class.forName(className)`. +2. Check the business code to see whether some classes or packages have been excluded by using the configuration or scanning annotation `exclude`. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/8.md b/content/en/docs3-v2/java-sdk/faq/0/8.md new file mode 100644 index 000000000000..c4e25115ac37 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/8.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-8 - reflection failed" +linkTitle: "0-8 - reflection failed" +weight: 8 +--- + + +### possible reason + +When a method is called by reflection, the correct parameter type value is not set for the current method, that is, the parameter type does not match. + +### Troubleshooting and resolution steps + +Check for matching type values that are not set correctly. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/9.md b/content/en/docs3-v2/java-sdk/faq/0/9.md new file mode 100644 index 000000000000..a90e92d07877 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/9.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "0-9 - Failed to notify event" +linkTitle: "0-9 - Failed to notify event" +weight: 9 +--- + + +### possible reason + +A custom listener that generated a runtime exception during processing. + +### Troubleshooting and resolution steps + +Check the business class that implements the `org.apache.dubbo.rpc.ExporterListener` interface. There may be code logic errors in the implementation method. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/0/_index.md b/content/en/docs3-v2/java-sdk/faq/0/_index.md new file mode 100644 index 000000000000..11534c905ef9 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/0/_index.md @@ -0,0 +1,8 @@ +--- +type: docs +title: "0 - Common" +linkTitle: "0 - Common" +weight: 1 +--- + +This is mainly used to indicate errors that occur on components that are common to each layer. \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/1.md b/content/en/docs3-v2/java-sdk/faq/1/1.md new file mode 100644 index 000000000000..032442cc1333 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/1.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "1-1 - Address Illegal" +linkTitle: "1-1 - Illegal address" +weight: 1 +--- +Service version or grouping mismatch. + +### possible reason +1. The `service.group` configured on the Provider side does not match the `reference.group` configured on the Consumer side (that is, the configuration of the service group). +2. The `service.version` configured on the Provider side does not match the `reference.version` configured on the Consumer side (that is, the configuration of the service version). + +### Troubleshooting and resolution steps +1. Make sure that the service group configurations on the Provider and Consumer side correspond. +2. Make sure that the service version configurations on the Provider and Consumer side correspond. + +> See also the [Configuration Items Reference Manual](../../../reference-manual/config/properties) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/10.md b/content/en/docs3-v2/java-sdk/faq/1/10.md new file mode 100644 index 000000000000..7090be8bcb13 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/10.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-10 - Failed to read and write registry service cache" +linkTitle: "1-10 - Failed to read and write registry service cache" +weight: 10 +--- + +### possible reason +1. Multiple Dubbo processes use the same cache file. +2. In the case of multiple registries, multiple registries are specified to use the same file storage. + +### Troubleshooting and resolution steps +This error often occurs with errors 1-9. Check whether multiple Dubbo processes use the same cache file or specify multiple registries to use the same cache file. + +> see also +[Reference Manual for Registry Configuration Items](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual/config/properties/#registry) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/11.md b/content/en/docs3-v2/java-sdk/faq/1/11.md new file mode 100644 index 000000000000..f6e842d8b482 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/11.md @@ -0,0 +1,14 @@ +--- +type: docs +title: "1-11 - Registration service instance creation failed" +linkTitle: "1-11 - Registration service instance creation failed" +weight: 11 +--- + +### possible reason +It may be caused by Registry's SPI/IOC configuration error. +### Troubleshooting and resolution steps +This error is an internal error of Dubbo. If you encounter it, you can create an Issue on github and provide the error information and steps to reproduce it. We will help you solve the problem. + +> see also +[Dubbo Community](https://github.com/apache/dubbo) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/12.md b/content/en/docs3-v2/java-sdk/faq/1/12.md new file mode 100644 index 000000000000..12df41645f16 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/12.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "1-12 - Instances of \"Registry Service\" have been destroyed" +linkTitle: "1-12 - Instances of \"Registration Service\" have been destroyed" +weight: 12 +--- + +### possible reason +During the graceful shutdown of Dubbo, unregister by calling `destroyAll` of `AbstractRegistryFactory`. + +During the process of destroying the `unexport` of `Registryprotocol`, the `getRegistry` of `AbstractRegistryFactory` will be used to try to obtain the registry that has been destroyed, which leads to the destruction of all instances of the "registry service". + +### Troubleshooting and resolution steps +> see also +[Configuration item reference manual](../../../reference-manual/config/properties) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/13.md b/content/en/docs3-v2/java-sdk/faq/1/13.md new file mode 100644 index 000000000000..d80814ca2f9a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/13.md @@ -0,0 +1,14 @@ +--- +type: docs +title: "1-13 - Failed to execute task retry" +linkTitle: "1-13 - Failed to execute retry task" +weight: 13 +--- + +### possible reason +1. The registry is offline. + +### Troubleshooting and resolution steps + +1. Check if the registry is working properly. +2. Check whether the server where the registration center is located and its network are working normally. \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/14.md b/content/en/docs3-v2/java-sdk/faq/1/14.md new file mode 100644 index 000000000000..1df9ec73ea65 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/14.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "1-14 - Dynamic configuration recognition failed" +linkTitle: "1-14 - Dynamic configuration recognition failed" +weight: 14 +--- + +### possible reason +When using the service management function of dubbo admin for dynamic configuration, if the content or format of the configuration file is incorrect, the content of the dynamic configuration cannot be parsed, resulting in 1-14 errors. +### Troubleshooting and resolution steps +Please check whether the content or format of the dynamic configuration file is correct. + + +### See also +> [Configuration Reference Manual](../../../reference-manual/config/properties) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/15.md b/content/en/docs3-v2/java-sdk/faq/1/15.md new file mode 100644 index 000000000000..d32a297ebf7e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/15.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "1-15 - Failed to destroy service" +linkTitle: "1-15 - Failed to destroy service" +weight: 15 +--- + +### possible reason +Throwing an exception while destroying all invokers in the RegistryDirectory may trigger errors 1-15. + +### Troubleshooting and resolution steps +This error is an internal error of Dubbo. If you encounter it, you can create an Issue on github and provide the error information and steps to reproduce it. We will help you solve the problem. + + +> See also [Dubbo Community](https://github.com/apache/dubbo) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/16.md b/content/en/docs3-v2/java-sdk/faq/1/16.md new file mode 100644 index 000000000000..331dd293db9c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/16.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "1-16 - There are unsupported categories" +linkTitle: "1-16 - There are unsupported categories" +weight: 16 +--- + +## possible reason +When the registration center changes, the corresponding listener will be notified. If the category is illegal during notify, 1-16 errors will be generated. + + +## Troubleshooting and resolution steps +This error is an internal error of Dubbo. If you encounter it, you can create an Issue on github and provide the error information and steps to reproduce it. We will help you solve the problem. + + +## Dubbo Community +[github](https://github.com/apache/dubbo) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/17.md b/content/en/docs3-v2/java-sdk/faq/1/17.md new file mode 100644 index 000000000000..dde96105485f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/17.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-17 - Metadata Server Failure" +linkTitle: "1-17 - Metadata Server failure" +weight: 17 +--- + +## possible reason +It may be that there is a problem with the parameter configuration of metadata, especially `metadataServiceProtocol` and `metadataServicePort`. + +## Troubleshooting and resolution steps +1. Check whether it occurs at the same time as 1-18 error, if it occurs at the same time, first try to solve 1-18 +2. Check whether the `metadataServicePort` port number conflicts. If the ports configured by Provider and Consumer are in conflict at the same time, a 1-17 error will be generated. + +## see also +[Configuration item reference manual](../../../reference-manual/config/properties) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/18.md b/content/en/docs3-v2/java-sdk/faq/1/18.md new file mode 100644 index 000000000000..8283ad8787da --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/18.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-18 - metadata service port not provided" +linkTitle: "1-18 - metadata service port not provided" +weight: 18 +--- + +## possible reason +It may be that `metadataType` is in local mode, and `metadataServicePort` is configured incorrectly. + +## Troubleshooting and resolution steps +1. Check the `metadataType` attribute value on the Provider side. +2. Check whether the configuration of `metadataServicePort` on the Provider side is correct, and pay special attention to whether there is any conflict with other application ports. + +## see also +[Configuration item reference manual](../../../reference-manual/config/properties) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/19.md b/content/en/docs3-v2/java-sdk/faq/1/19.md new file mode 100644 index 000000000000..06f4abd3ce3a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/19.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-19 - K8S monitoring exception" +linkTitle: "1-19 - K8S monitoring exception" +weight: 19 +--- + +## possible reason + +1. K8S custom resource type, the configuration has been modified or removed by the container. +2. The K8S container is disconnected from the service. + +## Troubleshooting and resolution steps + +1. Check whether the custom resource type is correctly configured. For syntax, please refer to the official documentation of K8S. +2. Check whether the network is normal or the port mapping is correct. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/20.md b/content/en/docs3-v2/java-sdk/faq/1/20.md new file mode 100644 index 000000000000..8ea48e67aba1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/20.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-20 - K8S Pod does not exist" +linkTitle: "1-20 - K8S Pod does not exist" +weight: 20 +--- + +## possible reason + +Pods may not exist or have been removed by containers. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/21.md b/content/en/docs3-v2/java-sdk/faq/1/21.md new file mode 100644 index 000000000000..326b0c0c0e73 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/21.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "1-21 - K8S No Service Available" +linkTitle: "1-21 - No service available for K8S" +weight: 21 +--- + +## possible reason + +1. The current service is not loaded correctly. +2. The configured Pod does not exist in the current instance service. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/22.md b/content/en/docs3-v2/java-sdk/faq/1/22.md new file mode 100644 index 000000000000..d06704962cf0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/22.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-22 - K8S configuration address error" +linkTitle: "1-22 - K8S configuration address error" +weight: 22 +--- + +## possible reason + +The K8S url is configured incorrectly and cannot be accessed normally. + +## Troubleshooting and resolution steps + +Check the K8S url configuration information to ensure that the port mapping can also be accessed normally. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/23.md b/content/en/docs3-v2/java-sdk/faq/1/23.md new file mode 100644 index 000000000000..78e2f336a1c2 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/23.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-23 - Unable to download files via url" +linkTitle: "1-23 - Unable to download files via url" +weight: 23 +--- + +## possible reason + +1. The url mapping file does not exist. +2. The URL cannot be connected. + +## Troubleshooting and resolution steps + +1. Check whether the url mapping file exists. +2. Whether it can be accessed normally through a browser or other tools. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/24.md b/content/en/docs3-v2/java-sdk/faq/1/24.md new file mode 100644 index 000000000000..38750c732e3f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/24.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "1-24 - ZK startup exception" +linkTitle: "1-24 - ZK startup exception" +weight: 24 +--- + +## possible reason + +1. There is an incompatibility between the zk server version and the client version, and the connection cannot be made. +2. The zk service is not started normally or the firewall cannot provide external services. + +## Troubleshooting and resolution steps + +1. Confirm that the client version is consistent with the server version. +2. zk can start normally or provide normal external services. + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/25.md b/content/en/docs3-v2/java-sdk/faq/1/25.md new file mode 100644 index 000000000000..fa193201d92a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/25.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "1-25 - ZK destruction exception" +linkTitle: "1-25 - ZK destruction exception" +weight: 25 +--- + +## possible reason + +The current instance has been destroyed. +The network may be disconnected. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/26.md b/content/en/docs3-v2/java-sdk/faq/1/26.md new file mode 100644 index 000000000000..b04c8a65f0e1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/26.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-26 - xDS certificate generation failed" +linkTitle: "1-26 - xDS certificate generation failed" +weight: 26 +--- + +## possible reason + +The system may not support algorithms `secp256r1` and `RSA` to generate certificates. + +## Troubleshooting and resolution steps + +Check if the operating system supports `secp256r1` and `RSA` algorithms. Need to download the dll file or lib for + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/27.md b/content/en/docs3-v2/java-sdk/faq/1/27.md new file mode 100644 index 000000000000..52a5eb457c3b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/27.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-27 - K8S monitoring exception" +linkTitle: "1-27 - K8S monitoring exception" +weight: 27 +--- + +## possible reason + +The system may not support algorithms `secp256r1` and `RSA` to generate certificates. + +## Troubleshooting and resolution steps + +Check if the operating system supports `secp256r1` and `RSA` algorithms. Need to download the dll file or lib for + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/28.md b/content/en/docs3-v2/java-sdk/faq/1/28.md new file mode 100644 index 000000000000..614fad229e88 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/28.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-28 - xDS Stub Error" +linkTitle: "1-28 - xDS stub error" +weight: 28 +--- + +## possible reason + +The current pod may be down. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/29.md b/content/en/docs3-v2/java-sdk/faq/1/29.md new file mode 100644 index 000000000000..2af97010547c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/29.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "1-29 - xDS failed to read file" +linkTitle: "1-29 - xDS failed to read file" +weight: 29 +--- + +## possible reason + +The network is disconnected or the target file is corrupted at this time. + +## Troubleshooting and resolution steps + +1. Whether the network is normal. +2. You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/3.md b/content/en/docs3-v2/java-sdk/faq/1/3.md new file mode 100644 index 000000000000..64ce7e3a0111 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/3.md @@ -0,0 +1,13 @@ +--- +type: docs +title: "1-3 - URL destruction failed" +linkTitle: "1-3 - URL destruction failed" +weight: 3 +--- + +### possible reason +When `FrameworkExecutorRepository` is destroyed, calling `CacheableFailbackRegistry.evictURLCache` will cause the destruction to fail and generate an error code. + +### Troubleshooting and resolution steps + +> See also the [Configuration Items Reference Manual](../../../reference-manual/config/properties) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/30.md b/content/en/docs3-v2/java-sdk/faq/1/30.md new file mode 100644 index 000000000000..692ecf456227 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/30.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "1-30 - xDS request failed" +linkTitle: "1-30 - xDS request failed" +weight: 30 +--- + +## possible reason + +1. Versions may be inconsistent or incompatible. +2. Timeout while reading data. +3. There is a problem with parameter configuration. + +## Troubleshooting and resolution steps + +1. It can be adapted according to the introduction of the third-party official website. +2. Check whether the timeout setting is too short or there is a problem on the server. +3. Check whether the port mapping relationship is correct. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/31.md b/content/en/docs3-v2/java-sdk/faq/1/31.md new file mode 100644 index 000000000000..06005200202a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/31.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-31 - xDS Response Failed" +linkTitle: "1-31 - xDS Response Failed" +weight: 31 +--- + +## possible reason + +1. The client service has disconnected from the server. +2. The server is unavailable or offline. + +## Troubleshooting and resolution steps + +1. Check whether the server is offline or the network of the client is disconnected. +2. Check whether the service on the server side is normal, and the interface request can be made through the network. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/32.md b/content/en/docs3-v2/java-sdk/faq/1/32.md new file mode 100644 index 000000000000..1c60d929d95f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/32.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "1-32 - xDS Channel initialization failed" +linkTitle: "1-32 - xDS Channel initialization failed" +weight: 32 +--- + +## possible reason + +1. Versions may be inconsistent or incompatible. +2. Timeout while reading data. +3. There is a problem with parameter configuration. + +## Troubleshooting and resolution steps + +1. It can be adapted according to the introduction of the third-party official website. +2. Check whether the timeout setting is too short or there is a problem on the server. +3. Check whether the port mapping relationship is correct. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/33.md b/content/en/docs3-v2/java-sdk/faq/1/33.md new file mode 100644 index 000000000000..e0912e0b1ad1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/33.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-33 - xDS service discovery initialization failed" +linkTitle: "1-33 - xDS service discovery initialization failed" +weight: 33 +--- + +## possible reason + +1. The address configuration of the registration center in xDS mode is wrong. +2. The firewall and third-party protection software make it impossible to provide external connections. + +## Troubleshooting and resolution steps + +1. Check whether the xDS configuration is correct and whether the Istio status is normal. +2. Check the firewall configuration or use the `ping` command of cmd for basic detection. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/34.md b/content/en/docs3-v2/java-sdk/faq/1/34.md new file mode 100644 index 000000000000..e2bdc26393d4 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/34.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-34 - Error parsing xDS" +linkTitle: "1-34 - Error parsing xDS" +weight: 34 +--- + +## possible reason + +There is an error in the xDS protocol content. + +## Troubleshooting and resolution steps + +The cause can be located according to the Endpoints List printed by the stack. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/35.md b/content/en/docs3-v2/java-sdk/faq/1/35.md new file mode 100644 index 000000000000..47bcd31cb50f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/35.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-35 - ZK Anomaly" +linkTitle: "1-35 - ZK Anomaly" +weight: 35 +--- + +## possible reason + +1. ZK cannot connect or the connection times out. +2. The ZNode already exists at the time of creation. + +## Troubleshooting and resolution steps + +1. Check whether ZK configuration IP and port number are correct. Connection testing can be done using the third-party tool ZooInspector +2. According to the stack reminder ZNode information, judge whether the current node can be cleaned up. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/36.md b/content/en/docs3-v2/java-sdk/faq/1/36.md new file mode 100644 index 000000000000..ac47edbc9d2d --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/36.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "1-36 - Unknown exception" +linkTitle: "1-36 - Unknown exception" +weight: 36 +--- + +## possible reason + + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/37.md b/content/en/docs3-v2/java-sdk/faq/1/37.md new file mode 100644 index 000000000000..7da9842b7e13 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/37.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-37 - Nacos Anomaly" +linkTitle: "1-37 - Nacos Anomaly" +weight: 37 +--- + +## possible reason + +Nacos configuration information is not configured correctly. + +## Troubleshooting and resolution steps + +Check whether the ip and port number configured for Nacos are correct. If the security authentication of Nacos is enabled, check whether the user name and password are configured correctly. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/38.md b/content/en/docs3-v2/java-sdk/faq/1/38.md new file mode 100644 index 000000000000..b0c65e57f678 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/38.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "1-38 - Socket connection exception" +linkTitle: "1-38 - Socket connection exception" +weight: 38 +--- + +## possible reason + +1. Connection refused. +2. The connection has been closed. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/39.md b/content/en/docs3-v2/java-sdk/faq/1/39.md new file mode 100644 index 000000000000..38a26abf8c99 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/39.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-39 - Failed to fetch metadata" +linkTitle: "1-39 - Failed to get metadata" +weight: 39 +--- + +## possible reason + +1. Metadata Center has been disconnected from App Service. +2. The data in the metadata center may have been modified. + +## Troubleshooting and resolution steps + +1. Check whether the network communication is normal, you can use some simple cmd commands to detect, such as `ping` and so on. +2. Connect and view content through third-party tools. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/4.md b/content/en/docs3-v2/java-sdk/faq/1/4.md new file mode 100644 index 000000000000..69293aa3e23e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/4.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-4 - Empty address" +linkTitle: "1-4 - Empty address" +weight: 4 +--- + +### possible reason +1. Errors 1-4 in registry.integration.RegistryDirectory are caused by the null invokerUrls in the refreshInvoker process, which can be ignored. +2. The 1-4 errors in registry.support.CacheableFailbackRegistry may be caused by the mismatch between consumer and provider, and the "null protection" is turned off. + +### Troubleshooting and resolution steps +1. Make sure that the service group configurations on the Provider and Consumer side correspond. +2. Make sure that the service version configurations on the Provider and Consumer side correspond. +3. Check whether `enable-empty-protection` of the registration center is true (the default is true). + +> see also +[Configuration item reference manual](../../../reference-manual/config/properties) \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/40.md b/content/en/docs3-v2/java-sdk/faq/1/40.md new file mode 100644 index 000000000000..326d8e644656 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/40.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "1-40 - Route waiting too long" +linkTitle: "1-40 - Route waiting too long" +weight: 40 +--- + +## possible reason + +The route calculation time is too long, so the address notification cannot wait for an appropriate time to update the address. + +## Troubleshooting and resolution steps + +1. Check the application QPS, if the QPS is very high, this is the expected log +2. Check the implementation of custom routes, and check whether there are abnormal implementations, such as deadlocks, infinite loops, etc. +3. You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/41.md b/content/en/docs3-v2/java-sdk/faq/1/41.md new file mode 100644 index 000000000000..204cc0e54089 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/41.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "1-41 - Istio exceptions" +linkTitle: "1-41 - Istio exception" +weight: 41 +--- + +## possible reason + +Failed to fetch configuration file for istio + +## Troubleshooting and resolution steps + +1. Check whether the application is deployed in the Kubernetes Pod environment, currently does not support VM deployment + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/1/5.md b/content/en/docs3-v2/java-sdk/faq/1/5.md new file mode 100644 index 000000000000..75c16e63dbe4 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/1/5.md @@ -0,0 +1,14 @@ +--- +type: docs +title: "1-5 - URL received without any parameters" +linkTitle: "1-5 - URL received without any parameters" +weight: 5 +--- + +### possible reason +When calling `CacheableFailbackRegistry.toUrlsWithoutEmpty`, if there is a provider in `Collection
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/11.md b/content/en/docs3-v2/java-sdk/faq/2/11.md new file mode 100644 index 000000000000..41c709c00afa --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/11.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "2-11 - Label Routing Rules Illegal" +linkTitle: "2-11 - Label routing rules are invalid" +weight: 2 +--- + +## possible reason + +* The label routing rule configured by the user is invalid. +* The label routing address configured by the user is invalid. + +## Troubleshooting and resolution steps +1. Refer to the community label routing configuration specification, and check the label routing configuration ["label routing example"](https://dubbo.apache.org/zh/overview/tasks/traffic-management/traffic-condition/). + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/12.md b/content/en/docs3-v2/java-sdk/faq/2/12.md new file mode 100644 index 000000000000..da6e9076c8da --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/12.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "2-12 - Label route acquisition provider application name is empty" +linkTitle: "2-12 - Label route acquisition provider application name is empty" +weight: 2 +--- + +## possible reason + +* The label route obtains the provider application name from the push provider address list and is empty. + +## Troubleshooting and resolution steps +1. This exception is an exception of the Dubbo framework itself. Please file an issue in the community and provide the environment site information and reproduction steps. + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/13.md b/content/en/docs3-v2/java-sdk/faq/2/13.md new file mode 100644 index 000000000000..35a8024a2744 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/13.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-13 - Failed to receive and load mesh routing rules" +linkTitle: "2-13 - Failed to receive and load mesh routing rules" +weight: 2 +--- + +## possible reason + +* The rules of the mesh routing configuration are illegal, and the loading is abnormal. + +## Troubleshooting and resolution steps +1. Check the mesh routing rule configuration. ["Mesh Example"](https://dubbo.apache.org/zh/overview/tasks/mesh/). + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/14.md b/content/en/docs3-v2/java-sdk/faq/2/14.md new file mode 100644 index 000000000000..d8242016e5bb --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/14.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "2-15 - Script route execution failed" +linkTitle: "2-15 - Script route execution failed" +weight: 2 +--- + +## possible reason + +* Script routing rules are illegal, resulting in rule parsing failure. +* Dubbo framework failed to execute the script. + +## Troubleshooting and resolution steps +1. Check that the script is written according to the specification. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/15.md b/content/en/docs3-v2/java-sdk/faq/2/15.md new file mode 100644 index 000000000000..d758d4d0c9e5 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/15.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-15 - Routing rule parsing failed" +linkTitle: "2-15 - Routing rule parsing failed" +weight: 2 +--- + +## possible reason + +* The routing rule configured by the user is invalid. + +## Troubleshooting and resolution steps +1. Check the configured routing rules. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/16.md b/content/en/docs3-v2/java-sdk/faq/2/16.md new file mode 100644 index 000000000000..5c6de3ae226b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/16.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-16 - Request retries failed multiple times" +linkTitle: "2-16 - Request retries failed multiple times" +weight: 2 +--- + +## possible reason + +* The provider is abnormal, causing the consumer to retry and fail many times. + +## Troubleshooting and resolution steps +1. Check the health status of the provider. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/17.md b/content/en/docs3-v2/java-sdk/faq/2/17.md new file mode 100644 index 000000000000..99473534181e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/17.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "2-17 - mock request failed" +linkTitle: "2-17 - Mock request failed" +weight: 2 +--- + +## possible reason + +* Configured mandatory mock, suggestive log. +* Executing the mock request is abnormal. + +## Troubleshooting and resolution steps +1. Check whether mandatory mock is configured. +2. Check whether the mock response is normal. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/18.md b/content/en/docs3-v2/java-sdk/faq/2/18.md new file mode 100644 index 000000000000..5fa4af4b32bf --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/18.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-18 - Mesh routing rules are not monitored" +linkTitle: "2-18 - Mesh routing rules are not monitored" +weight: 2 +--- + +## possible reason + +* Mesh delivered routing rules, but the rules were not monitored. + +## Troubleshooting and resolution steps +1. Check whether the mesh routing rule configuration complies with the specification. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/19.md b/content/en/docs3-v2/java-sdk/faq/2/19.md new file mode 100644 index 000000000000..7ff06b74b0b2 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/19.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "2-19 - Asynchronous request failed" +linkTitle: "2-19 - Asynchronous request failed" +weight: 2 +--- + +## possible reason + +* The provider is abnormal, causing the asynchronous request of the consumer to fail. +* The network is abnormal, causing the asynchronous request of the consumer to fail. + +## Troubleshooting and resolution steps +1. Check the health status of the provider. +1. Check the network status. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/2.md b/content/en/docs3-v2/java-sdk/faq/2/2.md new file mode 100644 index 000000000000..079ad01160c1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/2.md @@ -0,0 +1,27 @@ +--- +type: docs +title: "2-2 - No Provider available (address not found)" +linkTitle: "2-2 - No Provider available (address not found)" +weight: 2 +--- + +## possible reason +There may be several situations at this time: + +* The Provider service is not started, or the registration center (such as ZooKeeper, Nacos, Consul) is down. +* There is an error in the service configuration of Dubbo, you must ensure that the service name, group (default is Dubbo), and version are all correct. +* The accessed environment is wrong: Usually we have multiple environments such as development environment, test environment, and online production environment. Sometimes the published service goes to the test environment, but the development environment goes away when the access call is made. + +## Troubleshooting and resolution steps +1. Visit the Ops system of the registration center to check whether there is a provider list for the corresponding service; at the same time, check the log of the server where the caller application is located (generally, the client of each registered service will have corresponding log records) to check whether there is address information push/pull records. +2. If not, it means that the publisher failed to publish the service. Check whether the publisher's application starts successfully. +3. If there is a service, check the registration center that the caller application is connected to, and confirm that it matches the expected environment. +4. If there is no problem with the above, check whether the routing filtering rules are configured. + +## Acknowledgments +The FAQ page of this error code refers to ["Dubbo Common Errors and Solutions"](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). + +Articles cited are compiled under license [CC-BY-4.0](http://creativecommons.org/licenses/by/4.0/). Thanks to the original author here. + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/20.md b/content/en/docs3-v2/java-sdk/faq/2/20.md new file mode 100644 index 000000000000..fa7d753b64d3 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/20.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "2-20 - Failed to get grouped results merged" +linkTitle: "2-20 - Failed to get grouped results combined" +weight: 20 +--- + +## possible reason + +1. Failed to get grouped results merged. + +## Troubleshooting and resolution steps + +1. When the result is returned, there may be runtime exceptions in business logic, which can be traced according to the number of lines of code specified in the console. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/3.md b/content/en/docs3-v2/java-sdk/faq/2/3.md new file mode 100644 index 000000000000..2112b0060fd1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/3.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-3 - Routing shutdown failed" +linkTitle: "2-3 - Routing shutdown failed" +weight: 3 +--- + +## possible reason + +* User-defined routes are not written according to the specification. + +## Troubleshooting and resolution steps +1. Refer to the community SPI extension manual to check user-defined routes, ["SPI Extension User Manual"](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual/spi/ ). + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/4.md b/content/en/docs3-v2/java-sdk/faq/2/4.md new file mode 100644 index 000000000000..39f6ec7e8ae0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/4.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-4 - Merger interface failed to load" +linkTitle: "2-4 - Merger interface failed to load" +weight: 4 +--- + +## possible reason + +* Dubbo provides an SPI extension Merger interface that aggregates the responses of all downstream providers. When Dubbo loads the user-defined extension Merger interface, the loading configuration fails. + +## Troubleshooting and resolution steps +1. Refer to the community SPI extension manual to check the implementation of the user-defined extension Merger interface, ["SPI Extension User Manual"](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual /spi/). + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/5.md b/content/en/docs3-v2/java-sdk/faq/2/5.md new file mode 100644 index 000000000000..a23a8f0019f6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/5.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "2-5 - Filter Provider Failed" +linkTitle: "2-5 - Screening providers failed" +weight: 5 +--- + +## possible reason + +* Dubbo will finally select a provider from the provider list to initiate a call during load balancing. During the selection process, the provider list changes, and read-write conflicts occur, resulting in screening exceptions. +* When the Dubbo retry mechanism fails to call the provider, it will re-screen another provider to initiate the call, and an exception occurs during the re-screening process. + +## Troubleshooting and resolution steps +1. Check the registry provider list and the availability of the corresponding provider. +2. Raise an issue in the community, provide environmental site information and reproduction steps. + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/6.md b/content/en/docs3-v2/java-sdk/faq/2/6.md new file mode 100644 index 000000000000..29c67b450086 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/6.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "2-6 - Conditional routing filter provider list is empty" +linkTitle: "2-6 - Conditional routing filter provider list is empty" +weight: 6 +--- + +## possible reason + +* Conditional routing provider filter condition is empty. +* Conditional routing filter provider list remains empty under forced downgrade. + +## Troubleshooting and resolution steps +1. Refer to the community request routing example to adjust the conditional routing configuration, ["Request Routing Example"](https://dubbo.apache.org/zh/overview/tasks/traffic-management/traffic-routing/). + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/7.md b/content/en/docs3-v2/java-sdk/faq/2/7.md new file mode 100644 index 000000000000..a538091a5dbc --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/7.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-7 - Conditional routing execution exception" +linkTitle: "2-7 - Conditional routing execution exception" +weight: 7 +--- + +## possible reason + +* Conditional routing rules are not configured according to the specification, resulting in exceptions when executing conditional routing filtering. + +## Troubleshooting and resolution steps +1. Refer to the community request routing example to adjust the conditional routing configuration, ["Request Routing Example"](https://dubbo.apache.org/zh/overview/tasks/traffic-management/traffic-routing/). + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/8.md b/content/en/docs3-v2/java-sdk/faq/2/8.md new file mode 100644 index 000000000000..9382abb79790 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/8.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-8 - The provider returned an abnormal response" +linkTitle: "2-8 - The provider returned an abnormal response" +weight: 8 +--- + +## possible reason + +* The provider's own processing result throws an exception. + +## Troubleshooting and resolution steps +1. Check whether the provider program is normal. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/9.md b/content/en/docs3-v2/java-sdk/faq/2/9.md new file mode 100644 index 000000000000..5e33b7b55b80 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/9.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "2-9 - Increase timeout check task failed" +linkTitle: "2-9 - Increase timeout check task failed" +weight: 9 +--- + +## possible reason + +* The Dubbo framework will add a timeout check task to the request call, and the added timeout check task fails. + +## Troubleshooting and resolution steps +1. This exception is an exception of the Dubbo framework itself. Please file an issue in the community and provide the environment site information and reproduction steps. + + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/2/_index.md b/content/en/docs3-v2/java-sdk/faq/2/_index.md new file mode 100644 index 000000000000..bcb55b62f53e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/2/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "2 - Routing" +linkTitle: "2 - Routing" +weight: 2 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/1.md b/content/en/docs3-v2/java-sdk/faq/3/1.md new file mode 100644 index 000000000000..89180dfde8dc --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/1.md @@ -0,0 +1,22 @@ +--- +type: docs +title: "3-1 - Failed to convert address to Invoker" +linkTitle: "3-1 - Failed to convert address to Invoker" +weight: 1 +--- + +## possible reason + +1. 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.) + + +2. The registration center (or configuration center) is unreliable and pushes illegal data. + + + +## Troubleshooting and resolution steps + +1. Check the protocol configuration of both the provider and the consumer. +2. Update the version of the registry. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/2.md b/content/en/docs3-v2/java-sdk/faq/3/2.md new file mode 100644 index 000000000000..65a809d168dc --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/2.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "3-2 - Publish or push service failed" +linkTitle: "3-2 - Publish or push service failed" +weight: 2 +--- + +## possible reason + +1. The registration center cannot be connected. +2. The registration center cannot provide external services. + +## Troubleshooting and resolution steps + +1. Whether the service and registration center network is normal. +2. Whether the registration center starts normally and can be connected through third-party tools. +3. Whether there is a version compatibility problem between the version referenced by the service and the version of the registration center. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/3.md b/content/en/docs3-v2/java-sdk/faq/3/3.md new file mode 100644 index 000000000000..86385193a99e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/3.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "3-3 - Failed to generate bytecode via Javassist" +linkTitle: "3-3 - Failed to generate bytecode through Javassist" +weight: 3 +--- + +## possible reason + +Generation of bytecode via Javassist fails. + +## Troubleshooting and resolution steps + +Generally, it is an internal reminder error in dubbo, or it is not supported by Javassist. It will try to use the JDK agent. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/4.md b/content/en/docs3-v2/java-sdk/faq/3/4.md new file mode 100644 index 000000000000..63ebca6a6d00 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/4.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "3-4 - Client sending request timed out" +linkTitle: "3-4 - Client sending request timed out" +weight: 4 +--- + +## possible reason + +1. The number of client connections is too high, the response is slow, and the request cannot be sent to the server in time. +2. Some reasons for the network. + +## Troubleshooting and resolution steps + +1. Whether the network is normal. +2. You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/5.md b/content/en/docs3-v2/java-sdk/faq/3/5.md new file mode 100644 index 000000000000..461b07f8beec --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/5.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "3-5 - An exception occurred in the asynchronous response" +linkTitle: "3-5 - An exception occurred in the asynchronous response" +weight: 5 +--- + +## possible reason + +1. The business logic does have a runtime exception. +2. The connection is refused due to network reasons. + +## Troubleshooting and resolution steps + +1. For the business code, please trace back and check according to the prompt line of the stack. +2. Check whether the network of the service provider is normal. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/6.md b/content/en/docs3-v2/java-sdk/faq/3/6.md new file mode 100644 index 000000000000..51bf4bb4a11b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/6.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "3-6 - An exception occurred in the proxy execution service" +linkTitle: "3-6 - An exception occurred in the proxy execution service" +weight: 6 +--- + +## possible reason + +1. The current service parameters have been displayed as `deprecated`. +2. This reminder may appear for generic declaration classes. + +## Troubleshooting and resolution steps + +1. Confirm whether there is a display parameter `deprecated=true` in the URL +2. If this error occurs in the generic declaration class, it will try to create a proxy without the actual interface class. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/7.md b/content/en/docs3-v2/java-sdk/faq/3/7.md new file mode 100644 index 000000000000..bcdd18457b37 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/7.md @@ -0,0 +1,21 @@ +--- +type: docs +title: "3-7 - Server response timed out" +linkTitle: "3-7 - Server response timed out" +weight: 7 +--- +The server did not get a response within the time set by the client. + +## possible reason + +1. The business processing logic of the server is complex and cannot respond within the effective time. +2. The connection between the server and the client is disconnected, and the network packet is lost. +3. The server load is too high. + +## Troubleshooting and resolution steps + +1. Check whether there is indeed a performance bottleneck in the business processing capability of the server. +2. Whether the network is normal. +3. You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/8.md b/content/en/docs3-v2/java-sdk/faq/3/8.md new file mode 100644 index 000000000000..cb06c6869500 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/8.md @@ -0,0 +1,22 @@ +--- +type: docs +title: "3-8 - Proxy Failure" +linkTitle: "3-8 - Agent failed" +weight: 8 +--- + +Failed to generate dynamic proxy. + +## possible reason + +1. There is dynamic class loading +2. Class format exception + +## Troubleshooting and resolution steps + +1. If `Fallback to use JDK proxy success` 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 +2. If the log shows `Fallback to use JDK proxy is also failed`, + 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 + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/3/_index.md b/content/en/docs3-v2/java-sdk/faq/3/_index.md new file mode 100644 index 000000000000..6f7d0bd424de --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/3/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "3 - Proxy" +linkTitle: "3 - Proxy" +weight: 3 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/1.md b/content/en/docs3-v2/java-sdk/faq/4/1.md new file mode 100644 index 000000000000..2a4a1a8e85ad --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/1.md @@ -0,0 +1,21 @@ +--- +type: docs +title: "4-1 - Unsupported protocol" +linkTitle: "4-1 - Unsupported protocol" +weight: 1 +--- + +## possible reason +This situation may occur in the scenario of custom Protocol. Dubbo's SPI mechanism cannot find the Protocol specified in the URL. + + +## Troubleshooting and resolution steps +1. Make sure that the Consumer has dependencies on the Protocol used by the server. +2. Make sure that the name of the SPI configuration file of the Protocol's dependent package is correct. + +## see also +[Dubbo SPI Overview](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual/spi/overview/) + +[Protocol Extension Description](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual/spi/description/protocol/) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/10.md b/content/en/docs3-v2/java-sdk/faq/4/10.md new file mode 100644 index 000000000000..794767898c90 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/10.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "4-10 - Triple serialization result failed" +linkTitle: "4-10 - Triple serialization result failed" +weight: 10 +--- + +## possible reason + +Usually an internal error. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. +At the same time, please submit an issue in the community. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/11.md b/content/en/docs3-v2/java-sdk/faq/4/11.md new file mode 100644 index 000000000000..bdecc55d20de --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/11.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "4-11 - Failed to initiate request" +linkTitle: "4-11 - Failed to initiate the request" +weight: 11 +--- + +## possible reason + +1. The server is closed. +2. The IP of the caller is not in the whitelist of the server. +3. The requested specific address service does not exist. + +## Troubleshooting and resolution steps + +1. Check the startup and operation of the server. +2. Check or use a third-party tool to test whether the network environment can be connected normally. +3. According to the serviceName of the stack, check or simulate the call in the management platform to see if it is normal. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/12.md b/content/en/docs3-v2/java-sdk/faq/4/12.md new file mode 100644 index 000000000000..287df9e0a672 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/12.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "4-12 - Failed to create Triple stream" +linkTitle: "4-12 - Failed to create Triple stream" +weight: 12 +--- + +## possible reason + +Usually an internal error. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. +At the same time, please submit an issue in the community. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/13.md b/content/en/docs3-v2/java-sdk/faq/4/13.md new file mode 100644 index 000000000000..79e80e5fcfa9 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/13.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "4-13 - Server Timeout" +linkTitle: "4-13 - Server Timeout" +weight: 13 +--- + +## possible reason + +1. Server-side logic processing is relatively time-consuming. +2. The server load request is too high to respond. +3. The current timeout parameter setting threshold is quite different from the actual situation. + +## Troubleshooting and resolution steps + +1. Check whether there is time-consuming processing based on the interface name. +2. It can monitor the status of the server and the service calls invoked by the server. +3. Try increasing the timeout parameter. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/14.md b/content/en/docs3-v2/java-sdk/faq/4/14.md new file mode 100644 index 000000000000..5c60b684719d --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/14.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "4-14 - Response Result Failed" +linkTitle: "4-14 - Response result failed" +weight: 14 +--- + +## possible reason + +1. The server pipeline may be temporarily disconnected due to network reasons. +2. The currently used version is lower or you can check the current parameter configuration to see if `send.reconnect=true` is enabled, and the higher version defaults to true. + +## Troubleshooting and resolution steps + +1. Check whether the directly connected network is smooth and whether there is any packet loss. +2. Check the above parameter values, or try to use a higher version. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/15.md b/content/en/docs3-v2/java-sdk/faq/4/15.md new file mode 100644 index 000000000000..16d9096f3781 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/15.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "4-15 - Client Stream Listener" +linkTitle: "4-15 - Client Stream Listener" +weight: 15 +--- + +## possible reason + +After receiving the response from the server, the client stream listener will output this information for reminder. + +## Troubleshooting and resolution steps + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/16.md b/content/en/docs3-v2/java-sdk/faq/4/16.md new file mode 100644 index 000000000000..a3f2d102c361 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/16.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-16 - Service Closed" +linkTitle: "4-16 - Service is closed" +weight: 16 +--- + +## possible reason + +Incorrect use of internal `org.apache.dubbo.rpc.protocol.tri.service.TriHealthImpl#enterTerminalState` + +## Troubleshooting and resolution steps + +Calling the above method multiple times will remind you. Generally only used for unit testing. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/17.md b/content/en/docs3-v2/java-sdk/faq/4/17.md new file mode 100644 index 000000000000..778c5ef658d0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/17.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "4-17 - Error closing all callers" +linkTitle: "4-17 - Error closing all callers" +weight: 17 +--- + +## possible reason + +Usually an internal error. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. +At the same time, please submit an issue in the community. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/18.md b/content/en/docs3-v2/java-sdk/faq/4/18.md new file mode 100644 index 000000000000..76d5f2b64efa --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/18.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "4-18 - Unable to get service model from call" +linkTitle: "4-18 - Unable to get service model from call" +weight: 18 +--- + +## possible reason + +Currently only used in unit test scenarios, the service model will be initialized by default. + +## Troubleshooting and resolution steps + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/19.md b/content/en/docs3-v2/java-sdk/faq/4/19.md new file mode 100644 index 000000000000..822121babcb2 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/19.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "4-19 - Parameter values may be wrong" +linkTitle: "4-19 - Parameter values may be wrong" +weight: 19 +--- + +## Important Reminder +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 [0-2](https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/faq/0/2/). + +## possible reason +This error code indicates that the parameter value may no longer be correct. + +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. + +## Troubleshooting and resolution steps +Adjust the monitoring relationship between protocols and ports. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/2.md b/content/en/docs3-v2/java-sdk/faq/4/2.md new file mode 100644 index 000000000000..2292c26e2332 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/2.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-2 - Serialization optimizer initial error" +linkTitle: "4-2 - Serialization optimizer initial error" +weight: 2 +--- + +## possible reason + +The serialization configuration of Kryo and FST is currently used. + +## Troubleshooting and resolution steps + +Please refer to [Kryo and FST serialization](/en/docs3-v2/java-sdk/advanced-features-and-usage/performance/serialization/) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/20.md b/content/en/docs3-v2/java-sdk/faq/4/20.md new file mode 100644 index 000000000000..cde7bdb03465 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/20.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-20 - Data decoding failed" +linkTitle: "4-20 - Data decoding failed" +weight: 20 +--- + +## possible reason + +Version mismatch between server and caller. + +## Troubleshooting and resolution steps + +Check the currently used dubbo version, and try to keep a consistent or backward compatible high version. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/3.md b/content/en/docs3-v2/java-sdk/faq/4/3.md new file mode 100644 index 000000000000..3144d05ae151 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/3.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-3 - Interface reference call failed" +linkTitle: "4-3 - Interface reference call failed" +weight: 3 +--- + +## possible reason + +No exposed service interface or method was found based on the specified protocol parameter. + +## Troubleshooting and resolution steps + +You can confirm whether the server exists according to the interface URL and method name. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/4.md b/content/en/docs3-v2/java-sdk/faq/4/4.md new file mode 100644 index 000000000000..65346ddd1cd7 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/4.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-4 - Non-safe serialization method" +linkTitle: "4-4 - Non-safe serialization method" +weight: 4 +--- + +## possible reason + +Currently using an unsafe serializer, which is not recommended. The specific configuration is: `serialization="java"` + +## Troubleshooting and resolution steps + +Modify the parameter value of the setting. Change the serialization parameter value in the protocol to other. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/5.md b/content/en/docs3-v2/java-sdk/faq/4/5.md new file mode 100644 index 000000000000..89d937c8e620 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/5.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-5 - Stream closed exception" +linkTitle: "4-5 - Stream closed exception" +weight: 5 +--- + +## possible reason + +The prompt information does not affect the execution result of the program. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/6.md b/content/en/docs3-v2/java-sdk/faq/4/6.md new file mode 100644 index 000000000000..ebcb9746a9ed --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/6.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-6 - Deserialization failed" +linkTitle: "4-6 - Deserialization failed" +weight: 6 +--- + +## possible reason + +There is a logic error in the custom SPI `org.apache.dubbo.common.serialize.Serialization` serialization method. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/7.md b/content/en/docs3-v2/java-sdk/faq/4/7.md new file mode 100644 index 000000000000..a3e5742f7029 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/7.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "4-7 - An error occurred while closing the client" +linkTitle: "4-7 - An error occurred while closing the client" +weight: 7 +--- + +## possible reason + + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/8.md b/content/en/docs3-v2/java-sdk/faq/4/8.md new file mode 100644 index 000000000000..c66f8d6fce3c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/8.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "4-8 - An error occurred while closing the server" +linkTitle: "4-8 - An error occurred while closing the server" +weight: 8 +--- + +## possible reason + + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/9.md b/content/en/docs3-v2/java-sdk/faq/4/9.md new file mode 100644 index 000000000000..51a070cda20f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/9.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "4-9 - Parse failed" +linkTitle: "4-9 - Parse failed" +weight: 9 +--- + +## possible reason + +Generally, the parameter value does not conform to the rules, and an error occurs during forced conversion. + +## Troubleshooting and resolution steps + +Modify the configuration according to the key name prompted by the stack information. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/4/_index.md b/content/en/docs3-v2/java-sdk/faq/4/_index.md new file mode 100644 index 000000000000..df259aff6502 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/4/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "4 - Protocol" +linkTitle: "4 - Protocol" +weight: 4 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/1.md b/content/en/docs3-v2/java-sdk/faq/5/1.md new file mode 100644 index 000000000000..488e8c38c0f6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/1.md @@ -0,0 +1,21 @@ +--- +type: docs +title: "5-1 - Failed to connect to configuration center" +linkTitle: "5-1 - Failed to connect to the configuration center" +weight: 1 +--- + +## possible reason + +1. The server where the configuration center is located is shut down or down. +2. Wrong IP or port number. +3. The firewall blocked the port of the configuration center by mistake. + + +## Troubleshooting and resolution steps + +1. Check configuration center IP and port configuration. +2. Check whether the server is turned on and works normally. +3. Check whether the port used by the configuration center is allowed by the firewall or not. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/10.md b/content/en/docs3-v2/java-sdk/faq/5/10.md new file mode 100644 index 000000000000..e295b8b1962a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/10.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-10 - Registration interface application mapping failed for service" +linkTitle: "5-10 - Service's registration interface application mapping failed" +weight: 10 +--- + +## possible reason + +The service metadata exposed by the service does not match the application, or has been tampered with. + +## Troubleshooting and resolution steps + +Check that the metadata content in the configuration center matches that in the application. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/11.md b/content/en/docs3-v2/java-sdk/faq/5/11.md new file mode 100644 index 000000000000..9f147adfe832 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/11.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "5-11 - Registration Instance Error" +linkTitle: "5-11 - Registration instance error" +weight: 11 +--- + +## possible reason + +1. The service of the configuration center cannot be connected. +2. The configured protocol, IP, and port are incorrect. +3. The client version of the configuration center conflicts with the server version, and a valid connection cannot be established. + +## Troubleshooting and resolution steps + +1. Check whether the service status of the configuration center is normal. +2. Check that the configured protocol, IP, and port are incorrect. +3. Check whether the version of the configuration center client used is compatible with the version of the server. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/12.md b/content/en/docs3-v2/java-sdk/faq/5/12.md new file mode 100644 index 000000000000..b80356a3e5fb --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/12.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "5-12 - Refresh instance and metadata errors" +linkTitle: "5-12 - Refresh instance and metadata errors" +weight: 12 +--- + +## possible reason + +1. The service of the configuration center cannot be connected. +2. The configured protocol, IP, and port are incorrect. +3. The client version of the configuration center conflicts with the server version, and a valid connection cannot be established. + +## Troubleshooting and resolution steps + +1. Check whether the service status of the configuration center is normal. +2. Check that the configured protocol, IP, and port are incorrect. +3. Check whether the version of the configuration center client used is compatible with the version of the server. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/13.md b/content/en/docs3-v2/java-sdk/faq/5/13.md new file mode 100644 index 000000000000..e0a8c0aae99a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/13.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-13 - Model cannot be destroyed" +linkTitle: "5-13 - Model cannot be destroyed" +weight: 13 +--- + +## possible reason + +There is an exception in the business processing of the custom destruction method. + +## Troubleshooting and resolution steps + +Check the custom destruction method and business processing logic for runtime exceptions. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/14.md b/content/en/docs3-v2/java-sdk/faq/5/14.md new file mode 100644 index 000000000000..33ae51dfd2d0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/14.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "5-14 - Model startup error" +linkTitle: "5-14 - Model startup error" +weight: 14 +--- + +## possible reason + +1. The connection is disconnected while the service is waiting to publish or subscribe. +2. The network connection timed out. + +## Troubleshooting and resolution steps + +1. Check whether the connection between the application server and the configuration center is normal. +2. Check whether there is a timeout in the network connection, etc. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/15.md b/content/en/docs3-v2/java-sdk/faq/5/15.md new file mode 100644 index 000000000000..3ad664187326 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/15.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-15 - Model Reference Error" +linkTitle: "5-15 - Model Reference Error" +weight: 15 +--- + +## possible reason + +The method of Dubbo core processing class is misused or tampered with. + +## Troubleshooting and resolution steps + +Check for misuse or decompiled modifications on the application. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/16.md b/content/en/docs3-v2/java-sdk/faq/5/16.md new file mode 100644 index 000000000000..a8787e62eaa5 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/16.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "5-16 - Unable to find any valid agreements" +linkTitle: "5-16 - Unable to find any valid agreements" +weight: 16 +--- + +## possible reason + +The configured protocol is not supported. + +## Troubleshooting and resolution steps + +Currently supported protocols are dubbo, rmi, hessian, http, webservice, thrift, redis, etc. + +## see also +[Configuration item reference manual](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual/config/) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/17.md b/content/en/docs3-v2/java-sdk/faq/5/17.md new file mode 100644 index 000000000000..1e250d2ae94d --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/17.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "5-17 - Parameter value format error" +linkTitle: "5-17 - Parameter value format error" +weight: 17 +--- + +## possible reason + +1. The attribute configuration value is too long, generally set within 200 characters. +2. The format of the attribute configuration value is wrong, currently supports numbers, -, _, etc. + +## Troubleshooting and resolution steps + +1. Check whether the content of the attribute configuration value is too long, and modify it according to the prompt information. +2. Check whether the attribute configuration value contains special characters, such as @#$%^&, etc. For details, please refer to the prompt information to modify. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/18.md b/content/en/docs3-v2/java-sdk/faq/5/18.md new file mode 100644 index 000000000000..397bebb4c3f0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/18.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "5-18 - Notification registration event failed" +linkTitle: "5-18 - Notification registration event failed" +weight: 18 +--- + +## possible reason + +1. The notification has been sent, and an unexpected error occurred in the business processing logic. +2. The configuration center cannot be connected, timeout error. + +## Troubleshooting and resolution steps + +1. Check the custom business logic implementation, whether there is a runtime exception. +2. Check whether the configuration center can be connected normally. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/19.md b/content/en/docs3-v2/java-sdk/faq/5/19.md new file mode 100644 index 000000000000..31215bbc03e3 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/19.md @@ -0,0 +1,22 @@ +--- +type: docs +title: "5-19 - Embedded ZooKeeper running abnormally" +linkTitle: "5-19 - The embedded ZooKeeper runs abnormally" +weight: 19 +--- + +## possible reason + +1. The ZooKeeper service is running abnormally or down. +2. The Zookeeper client version is incompatible with the server startup version and cannot be connected. +3. The connection between the application server and the ZooKeeper service is interrupted. +4. Restricted firewall or third-party protection tools. + +## Troubleshooting and resolution steps + +1. Check the ZooKeeper service and the health status of the server where it resides. +2. Check whether there is a compatibility problem between the Zookeeper client version and the server startup version, and keep the versions consistent. +3. Check whether the ports of the application server and the ZooKeeper service are unblocked. +4. Check the firewall or third-party protection tool settings to see if it is disabled. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/2.md b/content/en/docs3-v2/java-sdk/faq/5/2.md new file mode 100644 index 000000000000..dd719b264e3a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/2.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-2 - Failed to register/unregister shutdown hook method" +linkTitle: "5-2 - Failed to register/unregister shutdown hook method" +weight: 2 +--- + +## possible reason + +There are exceptions in the custom hook method and business processing logic. + +## Troubleshooting and resolution steps + +Check the custom hook method and business processing logic for runtime exceptions. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/20.md b/content/en/docs3-v2/java-sdk/faq/5/20.md new file mode 100644 index 000000000000..0d3f7286d88b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/20.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "5-20 - Error occurred while stopping dubbo module" +linkTitle: "5-20 - An error occurred while stopping the dubbo module" +weight: 20 +--- + +## possible reason + +1. Customize the implementation of the destruction method, and there may be exceptions when the business logic is running. +2. The service has not been gracefully stopped, and there may be cases where the business logic has not been processed. + +## Troubleshooting and resolution steps + +1. Check the custom implementation of the destruction method and business logic. +2. Check whether there is time-consuming business processing logic when the service is stopped. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/21.md b/content/en/docs3-v2/java-sdk/faq/5/21.md new file mode 100644 index 000000000000..683cb69fc2bf --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/21.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "5-21 - An exception occurred when the service was destroyed" +linkTitle: "5-21 - An exception occurred when the service was destroyed" +weight: 21 +--- + + +## possible reason + +The service discovery instance has been destroyed + +Attachment: The current method has been discontinued in version 3.1 + +## Troubleshooting and resolution steps + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/22.md b/content/en/docs3-v2/java-sdk/faq/5/22.md new file mode 100644 index 000000000000..06200ee58147 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/22.md @@ -0,0 +1,21 @@ +--- +type: docs +title: "5-22 - An error occurred while initializing the registry" +linkTitle: "5-22 - An error occurred while initializing the registry" +weight: 22 +--- + + +## possible reason + +1. The address configuration of the registration center is wrong. +2. The configured address information cannot be connected through the network normally. +3. The version of the configuration center client does not match the version of the actual server, and there is a compatibility exception. + +## Troubleshooting and resolution steps + +1. Check whether the configured address is correct. +2. Check whether the network is smooth and can be connected through a third-party client. +3. Check whether there is a compatibility matching problem, you can refer to the third-party website for version adaptation. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/23.md b/content/en/docs3-v2/java-sdk/faq/5/23.md new file mode 100644 index 000000000000..3fefad467c39 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/23.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "5-23 - Waiting for export/reference service exception" +linkTitle: "5-23 - Waiting for export/reference service exception" +weight: 23 +--- + + +## possible reason + +When exporting/referencing services, the registration center stops abnormally or fails to provide normal services externally. + +## Troubleshooting and resolution steps + +Check whether the registration center can be connected normally, and check whether the current client version is compatible with the server. + +Attachment: The exception is handled in the export/quote method, and theoretically this exception will not be thrown. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/24.md b/content/en/docs3-v2/java-sdk/faq/5/24.md new file mode 100644 index 000000000000..67904d12a634 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/24.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "5-24 - An exception occurred while asynchronously waiting for the reference service" +linkTitle: "5-24 - An exception occurred while asynchronously waiting for the reference service" +weight: 24 +--- + + +## possible reason + +The registration center stops abnormally or cannot provide normal services to the outside world. + +## Troubleshooting and resolution steps + +Check whether the registration center can be connected normally, and check whether the current client version is compatible with the server. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/25.md b/content/en/docs3-v2/java-sdk/faq/5/25.md new file mode 100644 index 000000000000..184e5e2bcee6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/25.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-25 - Undefined exception from custom implementation" +linkTitle: "5-25 - Undefined exception from custom implementation" +weight: 25 +--- + +## possible reason + +The custom implemented `org.apache.dubbo.rpc.Protocol` protocol has a business logic exception when the method calls destroy. + +## Troubleshooting and resolution steps + +Check the `destory` method of the custom implementation class code. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/26.md b/content/en/docs3-v2/java-sdk/faq/5/26.md new file mode 100644 index 000000000000..f770432c0e84 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/26.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "5-26 - Metadata Exported" +linkTitle: "5-26 - Metadata exported" +weight: 26 +--- + +## possible reason + +Metadata has been exported in the current JVM. + +## Troubleshooting and resolution steps + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/27.md b/content/en/docs3-v2/java-sdk/faq/5/27.md new file mode 100644 index 000000000000..f4de0b104582 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/27.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-27 - Inner class API is misused" +linkTitle: "5-27 - Inner class API is misused" +weight: 27 +--- + +## possible reason + +`org.apache.dubbo.config.ReferenceConfig` and `org.apache.dubbo.common.config.ReferenceCache` may be defined as non-singleton mode. + +## Troubleshooting and resolution steps + +Check custom annotations or configurations, define the core application class as a non-singleton mode, check `scope` configuration. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/28.md b/content/en/docs3-v2/java-sdk/faq/5/28.md new file mode 100644 index 000000000000..c924d1177107 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/28.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-28 - No available annotation found" +linkTitle: "5-28 - No available annotation found" +weight: 28 +--- + +## possible reason + +No reliable annotations were found under the scan package configuration. Mainly `@DubboService` or `@Service` + +## Troubleshooting and resolution steps + +Check the current version, `@Service` annotation will be scanned before 2.7.7, and `@DubboService` after that + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/29.md b/content/en/docs3-v2/java-sdk/faq/5/29.md new file mode 100644 index 000000000000..998cc0700dcc --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/29.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-29 - Scan package not configured" +linkTitle: "5-29 - Scan package not configured" +weight: 29 +--- + +## possible reason + +`@EnableDubbo.scanBasePackages` annotation parameter value is not configured + +## Troubleshooting and resolution steps + +`@EnableDubbo.scanBasePackages` can be configured. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/3.md b/content/en/docs3-v2/java-sdk/faq/5/3.md new file mode 100644 index 000000000000..dae9d53ba1c9 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/3.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-3 - An unexpected error occurred while destroying a method call" +linkTitle: "5-3 - An unexpected error occurred while destroying a method call" +weight: 3 +--- + +## possible reason + +There is an exception in the business processing of the custom destruction method. + +## Troubleshooting and resolution steps + +Check the custom destruction method and business processing logic for runtime exceptions. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/30.md b/content/en/docs3-v2/java-sdk/faq/5/30.md new file mode 100644 index 000000000000..3690794a4a2c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/30.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-30 - Duplicate bean definition" +linkTitle: "5-30 - Duplicate bean definition" +weight: 30 +--- + +## possible reason + +Duplicate object id or name declared. + +## Troubleshooting and resolution steps + +According to the fully qualified class name output by the console, the name can only be modified to be unique. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/31.md b/content/en/docs3-v2/java-sdk/faq/5/31.md new file mode 100644 index 000000000000..01c0aa9745dd --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/31.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-31 - Status Check Error" +linkTitle: "5-31 - Status check error" +weight: 31 +--- + +## possible reason + +Currently running server status, system CPU usage is too high or memory and other indicators are too low + +## Troubleshooting and resolution steps + +Check the memory usage status of the current server, and other indicators such as CPU usage, there may be a danger of downtime. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/32.md b/content/en/docs3-v2/java-sdk/faq/5/32.md new file mode 100644 index 000000000000..2b5c5742a8f6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/32.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-32 - Apollo disconnected with an error" +linkTitle: "5-32 - Apollo disconnected with an error" +weight: 32 +--- + +## possible reason + +The Apollo Config Center may be down or disconnected from the network. + +## Troubleshooting and resolution steps + +Check the service status of the Apollo server and whether the network can communicate normally. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/33.md b/content/en/docs3-v2/java-sdk/faq/5/33.md new file mode 100644 index 000000000000..1db98f36767c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/33.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-33 - An exception occurred in the Apollo configuration update event" +linkTitle: "5-33 - An exception occurred in the Apollo configuration update event" +weight: 33 +--- + +## possible reason + +The Apollo configuration API is used incorrectly. + +## Troubleshooting and resolution steps + +Please refer to the description about Apollo in the Dynamic Configuration Center Documentation. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/34.md b/content/en/docs3-v2/java-sdk/faq/5/34.md new file mode 100644 index 000000000000..c2d055cd7808 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/34.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-34 - NACOS Error" +linkTitle: "5-34 - NACOS went wrong" +weight: 34 +--- + +## possible reason + +NACOS configuration API usage error. + +## Troubleshooting and resolution steps + +Please refer to the description about NACOS in the Dynamic Configuration Center Documentation. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/35.md b/content/en/docs3-v2/java-sdk/faq/5/35.md new file mode 100644 index 000000000000..2ea322597d06 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/35.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "5-35 - Container initialization failed" +linkTitle: "5-35 - Container initialization failed" +weight: 35 +--- + +## possible reason + +The `org.apache.dubbo.container.Container` SPI implementation of the undefined interface. + +P.S. It is currently tested and used in `org.apache.dubbo.container.Main` class. + +## Troubleshooting and resolution steps + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/36.md b/content/en/docs3-v2/java-sdk/faq/5/36.md new file mode 100644 index 000000000000..21de14f8374f --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/36.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-36 - An error occurred during filter validation" +linkTitle: "5-36 - An error occurred during filter validation" +weight: 36 +--- + +## possible reason + +The `invoke` method rewritten in the custom filter extension class has a business code exception. + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/37.md b/content/en/docs3-v2/java-sdk/faq/5/37.md new file mode 100644 index 000000000000..c062c9f2abf9 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/37.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "5-37 - An error occurred in the processing of dynamic configuration monitoring" +linkTitle: "5-37 - An error occurred in the processing of dynamic configuration monitoring" +weight: 37 +--- +When the file changes, the listening event processing fails + +## possible reason + +File permissions changed or directory permissions changed. + +## Troubleshooting and resolution steps + +The code can be located according to the stack information of the console. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/38.md b/content/en/docs3-v2/java-sdk/faq/5/38.md new file mode 100644 index 000000000000..4eeef8baeb3e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/38.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-38 - Configuration parameter undefined" +linkTitle: "5-38 - Configuration parameter undefined" +weight: 38 +--- + +## possible reason + +configuration parameter is undefined + +## Troubleshooting and resolution steps + +It is mostly used in test cases, and parameters can be set according to the prompt details. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/39.md b/content/en/docs3-v2/java-sdk/faq/5/39.md new file mode 100644 index 000000000000..2a67465f1af6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/39.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "5-39 - An error occurred in the Dubbo configuration bean initializer" +linkTitle: "5-39 - An error occurred in the Dubbo configuration bean initializer" +weight: 39 +--- + +## possible reason + +source code or modified + +## Troubleshooting and resolution steps + +Check that the business code does not modify the source code or load sequence of the core class. +Such as: org.apache.dubbo.config.spring.context.DubboConfigBeanInitializer + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/4.md b/content/en/docs3-v2/java-sdk/faq/5/4.md new file mode 100644 index 000000000000..36c3d94d6511 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/4.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "5-4 - Method not found in service interface" +linkTitle: "5-4 - Method not found in service interface" +weight: 4 +--- + +## possible reason + +1. The interface name#method called by the consumer does not exist. +2. The server does not expose the current interface correctly. + +## Troubleshooting and resolution steps + +1. Check whether the interface name# method called by the consumer exists. +2. Check whether it exists in the service list exposed by the server. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/40.md b/content/en/docs3-v2/java-sdk/faq/5/40.md new file mode 100644 index 000000000000..fa0b09608a2b --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/40.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "5-40 - Dubbo configuration bean not found" +linkTitle: "5-40 - Dubbo configuration bean not found" +weight: 40 +--- + +## possible reason + +source code or modified + +## Troubleshooting and resolution steps + +Check that the business code does not modify the source code or load sequence of the core class. +Such as: org.apache.dubbo.config.spring.context.DubboConfigBeanInitializer + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/5.md b/content/en/docs3-v2/java-sdk/faq/5/5.md new file mode 100644 index 000000000000..96a2ba883963 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/5.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-5 - Unable to get env variables" +linkTitle: "5-5 - Unable to get env variables" +weight: 5 +--- + +## possible reason + +Environment variable could not be obtained. + +## Troubleshooting and resolution steps + +Check the prompted variable name, whether it is configured and can be read and loaded normally. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/6.md b/content/en/docs3-v2/java-sdk/faq/5/6.md new file mode 100644 index 000000000000..fc16373e3ff3 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/6.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-6 - Attribute Conflict of Interface Type" +linkTitle: "5-6 - Attribute Conflict of Interface Type" +weight: 6 +--- + +## possible reason + +The generalization definition is not configured correctly. + +## Troubleshooting and resolution steps + +Check that the generalization definition is correct. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/7.md b/content/en/docs3-v2/java-sdk/faq/5/7.md new file mode 100644 index 000000000000..e1fed2dabfc6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/7.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "5-7 - An unexpected error occurred while canceling the export" +linkTitle: "5-7 - An unexpected error occurred while canceling the export" +weight: 7 +--- + +## possible reason + +1. The service of the configuration center cannot be connected. +2. The configured protocol, IP, and port are incorrect. +3. The client version of the configuration center conflicts with the server version, and a valid connection cannot be established. + +## Troubleshooting and resolution steps + +1. Check whether the service status of the configuration center is normal. +2. Check that the configured protocol, IP, and port are incorrect. +3. Check whether the version of the configuration center client used is compatible with the version of the server. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/8.md b/content/en/docs3-v2/java-sdk/faq/5/8.md new file mode 100644 index 000000000000..007b32e4539e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/8.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "5-8 - The protocol will use a random available port" +linkTitle: "5-8 - The protocol will use a random available port" +weight: 8 +--- + +## possible reason + +The port specified by the protocol is occupied, and the port is randomly selected for startup. + +## Troubleshooting and resolution steps + +Check whether the currently configured port is occupied by other applications. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/9.md b/content/en/docs3-v2/java-sdk/faq/5/9.md new file mode 100644 index 000000000000..13b2665cd4fd --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/9.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "5-9 - Service Configuration Export Failed" +linkTitle: "5-9 - Service configuration export failed" +weight: 9 +--- + +## possible reason + +1. The service of the configuration center cannot be connected. +2. The configured protocol, IP, and port are incorrect. +3. The client version of the configuration center conflicts with the server version, and a valid connection cannot be established. + +## Troubleshooting and resolution steps + +1. Check whether the service status of the configuration center is normal. +2. Check that the configured protocol, IP, and port are incorrect. +3. Check whether the version of the configuration center client used is compatible with the version of the server. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/5/_index.md b/content/en/docs3-v2/java-sdk/faq/5/_index.md new file mode 100644 index 000000000000..7350301f1891 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/5/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "5 - Config Center" +linkTitle: "5 - Config Center" +weight: 5 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/1.md b/content/en/docs3-v2/java-sdk/faq/6/1.md new file mode 100644 index 000000000000..1cdcca8790e2 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/1.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "6-1 - Server Connection Failed" +linkTitle: "6-1 - Server connection failed" +weight: 1 +--- +Network communication layer, failed to connect to the service provider service + +## possible reason + +The service provider's network is abnormally disconnected or blocked by firewalls and third-party tools, and cannot provide external services. + +## Troubleshooting and resolution steps + +1. If it is a rest connection, check whether the requested server configuration is correct. +2. Check whether the network communication is normal, you can use some simple cmd commands to detect, such as `ping` and so on. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/10.md b/content/en/docs3-v2/java-sdk/faq/6/10.md new file mode 100644 index 000000000000..6aeb879f30a6 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/10.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "6-10 - Payload Limit Exceeded Exception" +linkTitle: "6-10 - Payload Limit Exceeded Exception" +weight: 10 +--- +The default `payload=8M`, please check the configuration + +## possible reason + + +## Troubleshooting and resolution steps + +For the specific configuration items and meanings supported by each component, please refer to [Configuration Item Manual](/en/docs3-v2/java-sdk/reference-manual/config/properties/) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/11.md b/content/en/docs3-v2/java-sdk/faq/6/11.md new file mode 100644 index 000000000000..ee213510a0e9 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/11.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "6-11 - Character set not supported" +linkTitle: "6-11 - Character set not supported" +weight: 11 +--- +Default `UTF-8` charset + +## possible reason + + +## Troubleshooting and resolution steps + +The result will end up being processed in the `UTF-8` character set. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/12.md b/content/en/docs3-v2/java-sdk/faq/6/12.md new file mode 100644 index 000000000000..dca5d0d8a906 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/12.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "6-12 - An error occurred when the ZK client was destroyed" +linkTitle: "6-12 - An error occurred when the ZK client was destroyed" +weight: 12 +--- + + +## possible reason + +The connection between the client and the server has been refused +When the client is being destroyed, the server may be performing elections or other operations, resulting in an exception. + +## Troubleshooting and resolution steps + +The shutdown method can be used to query stack information. Generally do not deal with. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/13.md b/content/en/docs3-v2/java-sdk/faq/6/13.md new file mode 100644 index 000000000000..d25c3ecddd5e --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/13.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "6-13 - Stream closed exception" +linkTitle: "6-13 - Stream closed exception" +weight: 13 +--- + + +## possible reason + +`Stream is closed` or the stream is closed while other threads are reading + +## Troubleshooting and resolution steps + +Generally, the order in which the code closes the streams is reversed. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/14.md b/content/en/docs3-v2/java-sdk/faq/6/14.md new file mode 100644 index 000000000000..fb8be05966ff --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/14.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "6-14 - Server response failed" +linkTitle: "6-14 - Server response failed" +weight: 14 +--- + +## possible reason + +When the server interacts with the client to generate data, the client closes abnormally. + +## Troubleshooting and resolution steps + +The client terminated abnormally or the server crashed. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/15.md b/content/en/docs3-v2/java-sdk/faq/6/15.md new file mode 100644 index 000000000000..9c34721388a8 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/15.md @@ -0,0 +1,15 @@ +--- +type: docs +title: "6-15 - Skip unread stream data" +linkTitle: "6-15 - Skip unread stream data" +weight: 15 +--- +When decoding, if there is unread data in the stream, the unread stream will be skipped + +## possible reason + +## Troubleshooting and resolution steps + +When decoding, all the data will be read at one time + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/16.md b/content/en/docs3-v2/java-sdk/faq/6/16.md new file mode 100644 index 000000000000..ed8c982cc746 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/16.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "6-16 - An exception occurred during reconnection" +linkTitle: "6-16 - An exception occurred during reconnection" +weight: 16 +--- +Prompt every time a reconnection occurs + +## possible reason + +Delayed reconnection caused by network instability. + +## Troubleshooting and resolution steps + +Check for network packet loss. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/2.md b/content/en/docs3-v2/java-sdk/faq/6/2.md new file mode 100644 index 000000000000..da32deab14b7 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/2.md @@ -0,0 +1,27 @@ +--- +type: docs +title: "6-2 - Client Timeout" +linkTitle: "6-2 - Client Timeout" +weight: 2 +--- +Timeout occurs when the caller fails to obtain the corresponding response within the specified time after the request is sent. + +## possible reason +1. The server is really slow in processing and cannot return the result within the specified time. The caller will automatically return a timeout exception response to end the call. +2. If the server responds quickly, but when the client load is high and the load pressure is high, it will time out due to problems such as the client request not being sent out or the response stuck in the TCP Buffer. Because the client receives the data sent by the server or requests the data from the server, it will be queued at the system level. If the system load is relatively high, the time spent in the kernel state will increase, causing the client to time out when it gets the value. . +3. Usually the business processing is too slow, and it can be executed on the service provider machine: `jstack [PID] > jstack.log` to analyze which method calls the threads are stuck on, which is the reason for the slowness. If performance tuning is not an option, increase the timeout threshold. + + +## Troubleshooting and resolution steps + +1. There may be GC on both sides. Check the GC logs of the server and client. A GC that takes a long time will cause a timeout. The occurrence of a timeout probably means that the resource (CPU, memory, or network) of the caller or server has a bottleneck. It is necessary to check whether the problem is on the server or the caller to rule out suspicions such as GC jitter. +2. Check the network quality of the server, such as the retransmission rate to rule out network suspicions. +3. With the help of link tracking analysis services (such as Ali's [ARMS](https://help.aliyun.com/document_detail/63796.html), the open source [OpenTracing](https://github.com/opentracing/ opentracing-java) + System implementation [Zipkin](https://github.com/openzipkin/zipkin), [SkyWalking](https://github.com/apache/skywalking) etc.) to analyze the time-consuming situation of each point. + +## Acknowledgments +The FAQ page of this error code refers to ["Dubbo Common Errors and Solutions"](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). + +Articles cited are compiled under license [CC-BY-4.0](http://creativecommons.org/licenses/by/4.0/). Thanks to the original author here. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/3.md b/content/en/docs3-v2/java-sdk/faq/6/3.md new file mode 100644 index 000000000000..c59731aab5b1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/3.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "6-3 - Failed to close network connection" +linkTitle: "6-3 - Failed to close the network connection" +weight: 3 +--- +Network connection close failed + +## possible reason + +Non-graceful shutdown of the service. At this time, the server may not complete the external output stream. + +## Troubleshooting and resolution steps + +Generally, it is a prompt warning message, which does not affect subsequent program execution. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/4.md b/content/en/docs3-v2/java-sdk/faq/6/4.md new file mode 100644 index 000000000000..9f1e918155bd --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/4.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "6-4 - Network communication layer unknown exception" +linkTitle: "6-4 - Unknown exception in the network communication layer" +weight: 4 +--- +Common exception codes in the network communication layer + +## possible reason + +Generally, it is due to configuration item errors or network reasons + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +For the specific configuration items and meanings supported by each component, please refer to [Configuration Item Manual](/en/docs3-v2/java-sdk/reference-manual/config/properties/) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/5.md b/content/en/docs3-v2/java-sdk/faq/6/5.md new file mode 100644 index 000000000000..7416bad390a4 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/5.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "6-5 - Network disconnection failed" +linkTitle: "6-5 - Network disconnection failed" +weight: 5 +--- +Timeout occurs when the caller fails to obtain the corresponding response within the specified time after the request is sent. + +## possible reason + +Client actively disconnects + +## Troubleshooting and resolution steps + +Generally, it is a prompt warning message, which does not affect subsequent program execution. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/6.md b/content/en/docs3-v2/java-sdk/faq/6/6.md new file mode 100644 index 000000000000..5fa61c299dd8 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/6.md @@ -0,0 +1,19 @@ +--- +type: docs +title: "6-6 - Unsupported message" +linkTitle: "6-6 - Unsupported message" +weight: 6 +--- + + +## possible reason + +The returned data is serialized incorrectly, or exceeds the serialization maximum + +## Troubleshooting and resolution steps + +You can use some third-party tools or `jstack [PID] > jstack.log` to analyze the stack information and locate it. + +For the specific configuration items and meanings supported by each component, please refer to [Configuration Item Manual](/en/docs3-v2/java-sdk/reference-manual/config/properties/) + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/7.md b/content/en/docs3-v2/java-sdk/faq/6/7.md new file mode 100644 index 000000000000..f0a130742948 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/7.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "6-7 - Thread Connection Exceeded Warning" +linkTitle: "6-7 - Server connection failed" +weight: 7 +--- +Reminder message when the number of connections exceeds the limit + +## possible reason + +A warning reminder that the configuration or the number of connections exceeds the configured number. + +## Troubleshooting and resolution steps + +The default configuration item `connect.queue.warning.size=1000` can be adjusted through configuration. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/8.md b/content/en/docs3-v2/java-sdk/faq/6/8.md new file mode 100644 index 000000000000..95dd2fd190f5 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/8.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "6-8 - Return data decoding failed" +linkTitle: "6-8 - Return data decoding failed" +weight: 8 +--- + + +## possible reason + +Return data format error or decoding failed + +## Troubleshooting and resolution steps + +Through the debug/warn log mode, the specific service class name and the returned message and stack information can be output. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/9.md b/content/en/docs3-v2/java-sdk/faq/6/9.md new file mode 100644 index 000000000000..3fa17b042ab0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/9.md @@ -0,0 +1,20 @@ +--- +type: docs +title: "6-9 - There are duplicate serial number IDs" +linkTitle: "6-9 - Server connection failed" +weight: 9 +--- + + +## possible reason + +1. An empty object is returned. +2. The custom serial number class, `org.apache.dubbo.common.serialize.Serialization#getContentTypeId` is duplicated with the built-in system, + At this time, when loading, the first loaded SPI instance shall prevail. Other items will be skipped. + +## Troubleshooting and resolution steps + +1. Check the return result. +2. The built-in value can refer to the class `org.apache.dubbo.common.serialize.Constants` + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/6/_index.md b/content/en/docs3-v2/java-sdk/faq/6/_index.md new file mode 100644 index 000000000000..9757a07c6690 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/6/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "6 - Transport" +linkTitle: "6 - Transport" +weight: 6 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/1.md b/content/en/docs3-v2/java-sdk/faq/7/1.md new file mode 100644 index 000000000000..46a3dc2a95dc --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/1.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "7-1 - QOS OFF" +linkTitle: "7-1 - QOS is off" +weight: 1 +--- + +## possible reason + +QOS is off + +## Troubleshooting and resolution steps + + +Please refer to [QOS Operation Manual](/en/docs3-v2/java-sdk/reference-manual/qos/). +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/2.md b/content/en/docs3-v2/java-sdk/faq/7/2.md new file mode 100644 index 000000000000..57e85e847776 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/2.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "7-2 - QOS is on" +linkTitle: "7-2 - QOS is on" +weight: 2 +--- + +## possible reason + +QOS is enabled, and it is enabled by default. + +## Troubleshooting and resolution steps + + +Please refer to [QOS Operation Manual](/en/docs3-v2/java-sdk/reference-manual/qos/). +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/3.md b/content/en/docs3-v2/java-sdk/faq/7/3.md new file mode 100644 index 000000000000..ff3629e68cc0 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/3.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "7-3 - Set warning percentage value for timeout" +linkTitle: "7-3 - Set warning percentage value for timeout" +weight: 3 +--- + +## possible reason + +The warning percentage value of QOS setting timeout time, the default is 0.75. After modification, the console prints this message. + +## Troubleshooting and resolution steps + + +Please refer to QOS Operation Manual [Performance Sampling Command](/en/docs3-v2/java-sdk/reference-manual/qos/profiler/). +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/4.md b/content/en/docs3-v2/java-sdk/faq/7/4.md new file mode 100644 index 000000000000..5e7bb6f298b1 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/4.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "7-4 - QOS service failed to start" +linkTitle: "7-4 - QOS service failed to start" +weight: 4 +--- + +## possible reason + +The QOS parameter value is not set correctly. The main parameters are `qos.host` and `qos.port` + +## Troubleshooting and resolution steps + + +Please refer to the QOS Operation Manual [QOS Overview](/en/docs3-v2/java-sdk/reference-manual/qos/overview/). +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/5.md b/content/en/docs3-v2/java-sdk/faq/7/5.md new file mode 100644 index 000000000000..e03f919041f4 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/5.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "7-5 - QOS command not found" +linkTitle: "7-5 - QOS command not found" +weight: 5 +--- + +## possible reason + +1. The QOS command is misspelled. + +## Troubleshooting and resolution steps + +1. QOS command does not exist. + +Please refer to QOS Operation Manual [Basic Command Manual](/en/docs3-v2/java-sdk/reference-manual/qos/command/). +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/6.md b/content/en/docs3-v2/java-sdk/faq/7/6.md new file mode 100644 index 000000000000..75be8dd3e84c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/6.md @@ -0,0 +1,18 @@ +--- +type: docs +title: "7-6 - Unknown exception occurred in QOS" +linkTitle: "7-6 - Unknown exception occurred in QOS" +weight: 6 +--- + +## possible reason + +1. An unknown exception occurred in QOS + +## Troubleshooting and resolution steps + +1. Check whether the currently requested service can be accessed normally. +2. Perhaps for some reason, the `CommandContext` instance was not properly loaded or returned. You can troubleshoot and locate according to the error reminder information on the console. + + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/7.md b/content/en/docs3-v2/java-sdk/faq/7/7.md new file mode 100644 index 000000000000..888ff12f167c --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/7.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "7-7 - QOS Unprivileged Access" +linkTitle: "7-7 - QOS Unprivileged Access" +weight: 7 +--- + +## possible reason + +This QoS request does not have permission to access the corresponding resources, which usually occurs in a malicious attack scenario + +## Troubleshooting and resolution steps + +Check whether the request is expected, if not, please check whether there is a malicious attack source, +If it is expected, please refer to [QoS Security](/en/docs3-v2/java-sdk/reference-manual/qos/overview/#safety) to configure the corresponding permission information . + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/7/_index.md b/content/en/docs3-v2/java-sdk/faq/7/_index.md new file mode 100644 index 000000000000..6f1fd4fd0450 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/7/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "7 - QoS" +linkTitle: "7 - QoS" +weight: 7 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/99/0.md b/content/en/docs3-v2/java-sdk/faq/99/0.md new file mode 100644 index 000000000000..ba0c58f7131a --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/99/0.md @@ -0,0 +1,16 @@ +--- +type: docs +title: "99-0 - Internal Unknown Error" +linkTitle: "99-0 - Internal unknown error" +weight: 0 +--- +Unknown error inside Dubbo. + +### possible reason +unknown mistake +### Troubleshooting and resolution steps +1. Protect the site. Save the log file, and record as much as possible the situation at the time of the failure. +2. If there are other error code log records before this error code, please check the record of that error code first. +3. Check whether the configuration file is correct. +4. If the error was introduced by modifying the code, try to roll back to the previous version. +5. If nothing is resolved, please make a minimal demo that reproduces the problem as much as possible, and then issue an issue to [GitHub Issue Tracker](https://github.com/apache/dubbo/issues). \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/99/1.md b/content/en/docs3-v2/java-sdk/faq/99/1.md new file mode 100644 index 000000000000..85630c352ca7 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/99/1.md @@ -0,0 +1,17 @@ +--- +type: docs +title: "99-1 - Program Interrupted" +linkTitle: "99-1 - Program interrupted" +weight: 1 +--- +Unknown error inside Dubbo. + +### possible reason + +The program receives an interrupt notification from the JVM level and is forced to stop blocking and waiting + +### Troubleshooting and resolution steps + +This exception usually occurs when the thread pool is closed or the application is closed. +Please check whether the normal use of the business is affected. If there is no impact, it can be ignored. If there is an impact, please refer to the corresponding troubleshooting manual. +For more troubleshooting ideas, please refer to [90-0](../0/). \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/99/_index.md b/content/en/docs3-v2/java-sdk/faq/99/_index.md new file mode 100644 index 000000000000..06eb93998d84 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/99/_index.md @@ -0,0 +1,6 @@ +--- +type: docs +title: "99 - Unknown" +linkTitle: "99 - Unknown" +weight: 99 +--- \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/_index.md b/content/en/docs3-v2/java-sdk/faq/_index.md new file mode 100755 index 000000000000..238089b95528 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/_index.md @@ -0,0 +1,9 @@ + +--- +type: docs +title: "FAQ" +linkTitle: "FAQ" +weight: 7 +--- + +The main purpose here is to provide the possible causes and solutions of various error codes in the Java SDK. \ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/faq/intro.md b/content/en/docs3-v2/java-sdk/faq/intro.md new file mode 100644 index 000000000000..a60ae7ec0354 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/faq/intro.md @@ -0,0 +1,40 @@ +--- +type: docs +title: "Introduction to Error Code Mechanism" +linkTitle: "Introduction to Error Code Mechanism" +weight: 0 +--- + +## background +The Logger abstraction layer that Dubbo relies on internally provides log output capabilities, but most of the exception logs do not come with troubleshooting instructions, resulting in users being unable to handle the exception after seeing it. + +In order to solve this problem, since Dubbo version 3.1, an error code mechanism has been introduced. It connects the error code FAQ in the official documentation with the logging framework. When the abstract output of the log is abnormal, a link to the official website document corresponding to the output is attached to guide the user to conduct independent investigation. + +## Error code format +`[Cat]-[X]` + +Both spaces are numbers. The first number is the category, and the second number is the specific error code. + +## The format of the prompt display +``` +This may be caused by ..., go to https://dubbo.apache.org/faq/[Cat]/[X] to find instructions. +``` +In addition, supplementary information (ie extendedInformation) can be specified after this sentence. + +## Displayed examples +`[31/07/22 02:43:07:796 CST] main WARN support.AbortPolicyWithReport: [DUBBO] Thread pool is EXHAUSTED! Thread Name: Test, Pool Size: 0 (active: 0, core: 1, max: 1, largest: 0), Task: 0 (completed: 0), Executor status:(isShutdown:false, isTerminated:false, isTerminating:false), in dubbo://10.20.130.230:20880!, dubbo version: , current host: 10.20.130.230, error code: 0-1. This may be caused by too much client requesting provider, go to https://dubbo.apache.org/faq/0/1 to find instructions.` + +Users only need to click on the link to find the reason according to the error code. + +## Logger interface support +To ensure compatibility, Dubbo 3.1 builds a new interface `ErrorTypeAwareLogger` based on the original Logger abstraction. It extends the method of warn level as follows: +``` +void warn(String code, String cause, String extendedInformation, String msg); +void warn(String code, String cause, String extendedInformation, String msg, Throwable e); +``` + +Among them, code refers to the error code, cause refers to the possible reason (that is, the text followed by caused by...), extendedInformation is used as supplementary information, and is directly attached to the sentence caused by. + +The same extension is done for the error level. + +
\ No newline at end of file diff --git a/content/en/docs3-v2/java-sdk/quick-start/_index.md b/content/en/docs3-v2/java-sdk/quick-start/_index.md new file mode 100755 index 000000000000..070e342d1592 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/quick-start/_index.md @@ -0,0 +1,8 @@ + +--- +type: docs +title: "Quick Start" +linkTitle: "Quick Start" +weight: 2 +description: "" +--- diff --git a/content/en/docs3-v2/java-sdk/quick-start/idl.md b/content/en/docs3-v2/java-sdk/quick-start/idl.md new file mode 100755 index 000000000000..45df435c4789 --- /dev/null +++ b/content/en/docs3-v2/java-sdk/quick-start/idl.md @@ -0,0 +1,232 @@ +--- +type: docs +title: "IDL defines cross-language services" +linkTitle: "IDL Defines" +weight: 2 +description: "Demo from zero how to define Dubbo service based on IDL and use Triple protocol" +--- + +Using IDL to define services has better cross-language friendliness. For new users of Dubbo3, we recommend this method. +However, the Triple protocol is not strongly bound to IDL. You can also use Java Interface + Pojo to define services and enable the Triple protocol. For details, see [Example](https://github.com/apache/dubbo-samples/tree/master/3-extensions/protocol/dubbo-samples-triple/src/main/java/org/apache/dubbo/sample/tri/pojo). + +For more usage of Triple and IDL, please refer to [official samples](https://github.com/apache/dubbo-samples/tree/master/3-extensions/protocol/dubbo-samples-triple) + +### precondition +- [JDK](https://jdk.java.net/) version >= 8 +- Installed [Maven](https://maven.apache.org/) + +### Create project +1. First create an empty maven project + ``` + $ mvn archetype:generate \ + -DgroupId=org.apache.dubbo \ + -DartifactId=tri-stub-demo \ + -DarchetypeArtifactId=maven-archetype-quickstart \ + -DarchetypeVersion=1.4 \ + -DarchetypeGroupId=org.apache.maven.archetypes \ + -Dversion=1.0-SNAPSHOT + ``` +2. Switch to the project directory + ``` + $ cd tri-stub-demo + ``` +3. Set JDK version in `pom.xml`, add Dubbo dependencies and plugins + ```xml +
+ * Sends a greeting + *+ */ + HelloReply sayHello(HelloRequest request); + + } + ``` + +5. Create a Provider + ```java + public static void main(String[] args) throws InterruptedException { + ServiceConfig
+ * Sends greeting by stream + *+ */ +StreamObserver