When you connect on-premises and off-premises applications, you may encounter issues such as connection timeout or request denial. This topic describes how to troubleshoot and fix such issues.
Can on-premises applications be connected to components in the cloud?
Yes, you can connect on-premises applications to components in the cloud. To do this, you must upgrade Cloud Toolkit to 2020.9.1 or later. After the upgrade, you can forward all requests from the on-premises applications to the Spring Cloud Gateway, database, Redis, and message components in the cloud by using the springboard machine.
You can use the one-click diagnosis feature in Cloud Toolkit 2020.9.1 and later to connect on-premises applications with off-premises applications. You obtain diagnosis results to troubleshoot issues such as startup exceptions to etrans channel and service connection failure. You must upgrade Cloud Toolkit at your earliest opportunity.
SOCKS proxy:connect timed out
If you used the light-weight configuration registry, you must delete its configurations after you enable the connection plug-in. Otherwise, the connection may time out.
- Spring Cloud applications:
Delete the following configurations:
spring.cloud.alicloud.acm.server-list=127.0.0.1 spring.cloud.alicloud.acm.server-port=8080 spring.cloud.alicloud.ans.server-list=127.0.0.1 spring.cloud.alicloud.ans.server-port=8080
- HSF applications:
Delete the following configurations from the hosts file:
The registry denied requests (code:403, msg: access denied)
The registry uses timestamps to ensure the security of service registration. If the local system time is invalid, the registry in the cloud denies the request. Adjust the system time and try again.
If you have further questions or suggestions when you connect on-premises applications with off-premises applications, scan the following QR code or search for the DingTalk group number (34556175) to join the technical support group.