Koo Command Line Interface
Koo Command Line Interface
- Function Overview
- What's New
- Service Overview
- Getting Started
-
User Guide
- Configuration Management
- HTTP Proxy
- Commonly Used Commands
-
Options
- Option Overview
- Printing Help Information
- Printing Debugging Information
- Generating API Input Parameter Skeleton in JSON Format
- Checking Command
- Specifying Region
- Calling APIs with AK/SK in Non-configuration Mode
- Specifying Account ID
- Specifying Profile
- Specifying Authentication Mode
- Specifying Output Format
- Passing API Parameters with JSON File
- Specifying Request Timeouts
- Specifying Retry Count
- Skipping HTTPS Request Certificate Verification
- Specifying a Domain Name
- Polling Results
- Obtaining CLI Examples on API Explorer
- Using KooCLI in Non-configuration Mode
- Online Experience
- Obtaining Authentication Information
-
FAQs
- Overview
- Authentication
- Profiles
- Metadata Cache
- Logs
- Network Connections
- Cloud Services
- Cloud Service APIs
- Regions
-
Parameters
- What Are KooCLI System Parameters?
- Why Am I Seeing a Message Indicating an Invalid Parameter?
- Why Are Old and New KooCLI System Parameters (Such as region and cli-region) Available? Which Parameters Are Recommended?
- Why Am I Seeing a Message Indicating a Duplicate Parameter?
- How Do I Use cli-jsonInput?
- When Can I Use cli-jsonInput?
- Why Am I Seeing a Message Indicating an Unsupported Parameter Position or Type?
- How Do I Leave a Body Parameter Empty for Cloud Service APIs?
- Interactive Mode and Autocomplete
-
Output Formats
- What Output Formats Are Supported by KooCLI?
- How Do I Define a JMESPath Expression?
- Which KooCLI System Parameters Are Related to Data Output? Which Ones Are Recommended?
- How Do I Use cli-output, cli-query, and cli-output-num?
- How Do I Use cli-output-rows, cli-output-cols, and cli-output-num? What Are the Precautions?
- How Do I Use cli-json-filter? What Are the Precautions?
- Other
- Videos
- General Reference
On this page
Show all
Help Center/
Koo Command Line Interface/
FAQs/
Network Connections/
What Can I Do If the Network Connection Times Out?
Copied.
What Can I Do If the Network Connection Times Out?
Background
During a cloud service API call, KooCLI verifies the validity of your input parameters. Specifically, it first remotely obtains the details about the cloud service and API, and then remotely calls the target API. If the request fails due to a network connection error, an error message is displayed. For example:
- [NETWORK_ERROR] Connection timed out. Check network connectivity.
- [USE_ERROR] API calling timed out. Check the value of readTimeout in the profile or command.
- [NETWORK_ERROR] Connection timed out * consecutive times (reconnection attempts: *). Check network connectivity.
Solution
- Check whether your network connection is normal.
- If the network connection is normal but the error message indicates that the connection timed out, the value of cli-connect-timeout in the profile or command may be too small. Change the value as follows:
- If the --cli-connect-timeout option is used in the command, increase the value and try again.
- If the --cli-connect-timeout option is not used in the command, the value of this parameter in the current profile is used during command execution. Add --cli-connect-timeout=${connectTimeout} to the current command to temporarily overwrite the parameter value in the profile, and try again. To change the parameter value in the profile, run the hcloud configure set --cli-profile=${profileName} --cli-connect-timeout=${connectTimeout} command.
- If the network connection is normal but the error message prompts you to check readTimeout, the value of cli-read-timeout in the profile or command may be too small. Change the value as follows:
- If the --cli-read-timeout option is used in the command, increase the value and try again.
- If the --cli-read-timeout option is not used in the command, the value of this parameter in the current profile is used during command execution. Add --cli-read-timeout=${readTimeout} to the current command to temporarily overwrite the parameter value in the profile, and try again. To change the parameter value in the profile, run the hcloud configure set --cli-profile=${profileName} --cli-read-timeout=${readTimeout} command.
Parent topic: Network Connections
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot