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 ...
    • Instance recovery may fail with the error "You are not authorized to perform this operation"

      Instance recovery may fail with the error "You are not authorized to perform this operation" : ERROR: recover_ebs_based_instance(.\cpmserver\cpm\recovery.py:749) Run_instance failed. Exception: EC2ResponseError: 403 Forbidden <?xml version="1.0" ...
    • CLI guide and software download for CPM v2.5.0

      CLI v1.2 for CPM v2.5.0 and guide are available for download as attachments to this solution. This program will NOT work with versions of CPM older than v2.5.0. To download the CLI for older versions of CPM please see this link: ...
    • 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
    • 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/. ...