CLI operations may fail with the The read operation timed out error

CLI operations may fail with the “The read operation timed out” error

If you receive the “The read operation timed out” error during a CLI operation, you can use the parameter   "--timeout <value>" to set a longer timeout.
For example,   "--timeout 600" would set a 10 minute timeout.


Please make sure that you use the latest CLI version, older version may not allow to set custom timeout value: https://support.n2ws.com/portal/kb/articles/cli-for-the-latest-cpm-version


    • Related Articles

    • CPM may fail to communicate with AWS gateways with the "timed out" error

      CPM may fail to communicate with AWS gateways with the "timed out" error during various operations: ERROR:  run_snapshots(.\cpmagent\agent.py:1462)  snapshot of policy PolicyName, volume: vol-0123456789abcdef failed (independent). Reason: timed out ...
    • CLI guide and software download for CPM v4.2.1

      CLI v2.2 for CPM v4.2.x and the guide are available for download as attachments to this solution Previous version: CLI guide and software download for CPM v4.2.x Next version: CLI guide and software download for CPM v4.3.0
    • CLI guide and software download for CPM v4.2.0

      CLI v2.2 for CPM v4.2.x and the guide are available for download as attachments to this solution Previous version: CLI guide and software download for CPM v4.1.x Next version: CLI guide and software download for CPM v4.2.1
    • CLI guide and software download for CPM v4.3.0

      CLI v2.3 for CPM v4.2.x and the guide are available for download as attachments to this solution Previous version: CLI guide and software download for CPM v4.2.1
    • Cleanup process may abort due to timeout

      If Cleanup process doesn't end successfully, download the cpm logs and search for the following consecutive messages: ERROR: get_cleanup_data_request(.\common\agentapi_requests.py:146) failed calling url https://127.0.0.1:443/agentapi/cleanup/. ...