VMware Live Site Recovery Server at <VLSR/VRMS IP>: Unable to connect to Cloud. Reason: 'The operation is not allowed in the current state.'
search cancel

VMware Live Site Recovery Server at <VLSR/VRMS IP>: Unable to connect to Cloud. Reason: 'The operation is not allowed in the current state.'

book

Article ID: 425996

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptom:

  • Online to offline license mode change was performed to VLSR.
    Refer - Set up offline mode for VMware Live Site Recovery

  • VLSR and VRMS is recently deployed in the environment.

  • Site Pairs are in Connected state.

  • Test Recovery Plan runs successfully.

Environment

VMware Live Site Recovery 9.x

Cause

  • dr-dpx-agent handles the licensing heartbeat by communicating your usage and health status to the cloud to validate your VLSR subscription, if using online mode. If this service is stopped, the VLSR UI may show licensing errors or revert to a "disconnected" state, potentially impacting your ability to run or test recovery plans.

    • In this case the error is seen even when VLSR is in use in the offline mode.

    • In "/opt/vmware/support/logs/dr-dpx-agent/dpx-agent.log", we see below log entries -

      [2026-01-13 07:30:54.783 UTC] [dpx-agent] INFO  [vcId='NA' host=<VLSR IP>] [thread='dpx-schedule-thread5'] com.vmware.atlas.agent.srm.entitlement.rest.LogRequestsInterceptor - Request Body: {"report_time":1768289454.780302293,"agent_id":"a465ef60-####-####-####-############","job_id":null,"components":[{"report_time":1768289454.713195081,"org_id":"267d35a5-####-####-####-############","vcds_service_type":"SRM","component_id":"7411a4b8-####-####-####-############","health":{"application":{"general":null,"protection":null,"recovery":null,"storage":null},"infrastructure":null}},{"report_time":1768289454.762019607,"org_id":"267d35a5-####-####-####-############","vcds_service_type":"SRM","component_id":"5935a0ff-####-####-####-############","health":{"application":{"general":null,"protection":null,"recovery":null,"storage":null},"infrastructure":null}}],"peer_components":[{"report_time":1768289454.738898829,"org_id":"267d35a5-####-####-####-############","vcds_service_type":"SRM","component_id":"ab8b1a1a-####-####-####-############","health":{"application":{"general":{"summary":[{"severity":"ERROR","count":1}],"details":[{"message_id":"VmcConnectionDownFault","severity":"ERROR","code":"drservice.srm.fault.VmcConnectionDownFault","args":[],"message":"Unable to connect to Cloud. Reason: 'The operation is not allowed in the current state.'.","visibility":"CUSTOMER"}]},"protection":null,"recovery":null,"storage":null},"infrastructure":null}},{"report_time":1768289454.780193137,"org_id":"267d35a5-####-####-####-############","vcds_service_type":"SRM","component_id":"c932e134-####-####-####-############","health":{"application":{"general":{"summary":[{"severity":"ERROR","count":1}],"details":[{"message_id":"VmcConnectionDownFault","severity":"ERROR","code":"drservice.srm.fault.VmcConnectionDownFault","args":[],"message":"Unable to connect to Cloud. Reason: 'The operation is not allowed in the current state.'.","visibility":"CUSTOMER"}]},"protection":null,"recovery":null,"storage":null},"infrastructure":null}}]}

  • dr-dpx-agent service is enabled on VLSR.

Resolution

  • Disable "dr-dpx-agent" on both side VLSR and VRMS VAMI webpage.

    Steps: VLSR/VR:5480 VAMI page > Services > dr-dpx-agent > Stop

Additional Information

  • Activating VMware Live Site Recovery to work in VMware Live Recovery online mode might result in an error. When you activate VMware Live Site Recovery to work in VMware Live Recovery online subscription mode you might see the following error in the Live Site Recovery client "The operation is not allowed in the current state". This issue is triggered if the vSphere Replication appliance is working in a time zone different than UTC.

    Workaround: When using VMware Live Site Recovery in VMware Live Recovery online subscription mode, you must set the time zone of the vSphere Replication appliance to UTC.

    Refer - VMware Live Site Recovery 9.0.2 Release Notes