Error: "A Server Error Occurred" encountered while logging into the DR site recovery manager
search cancel

Error: "A Server Error Occurred" encountered while logging into the DR site recovery manager

book

Article ID: 388848

calendar_today

Updated On: 04-17-2025

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

  • SRM/VR URL may not be accessible.
  • Unable to login to the site recovery page from vCenter UI.

Validation:

  • Accessing the SRM/VR URL fails as below:

 

  • Open site recovery option is greyed out. vSphere Replication is reported with read configuration error, and we see "The VRMS Solution user is missing or outdated". Visit the vSphere Replication VAMI and reconfigure the appliance" as informational message.

Procedure to login to the site recovery page: Login to the vSphere Client and navigate to the Site Recovery section. You’ll see that vSphere Replication is listed as a registered service. Click on OPEN Site Recovery:

 

 

  • Registering vSphere Replication fails with Server returned 'request expired' less than 0 seconds after request was issued, but it shouldn't have expired for at least 600 seconds.

 

 

  • Reconfiguring the appliance may fail with below Time skew errors.

 

 

 
 

 

Environment

VMware vSphere Replication 8.X
VMware Site Recovery Manager 8.X

Cause

1.This issue is caused due to the time skew between vCenter Server and the vSphere Replication Appliance. These issues are seen when there are time synchronization issues between the vCenter Server and the SRM appliance which is more than 30 seconds. 

2.NTP (Network Time Protocol) synchronization between the SRM/VR and vCenter Server are not functioning correctly.:

  • Watch the time on vCenter and the VR appliance by either running command "watch date" or same can be checked under VAMI page >Time.

To watch the date and time using watch date and You may see similar output as below:

          On vCenter appliance

On VR appliance

 

Same can be checked on VAMI page of the vCenter appliance. Link to login into VAMI:  https://<FQDN_or_IP_address_of_appliance or vCenter:5480 > Time

 

 

 

Validate the time synchronization issues.

 

1. Manually restarting the timesyncd service using the below command

Keep a watch on current date and time by running a watch date command. Check either if ntpd or systemd-timesyncd.service are active:
 
admin@srm-02 [ ~ ]$ service ntpd status
* ntpd.service - Network Time Service
     Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor pres>
     Active: active (running) since Fri 2025-02-21 11:00:09 PKT; 1min 25s ago
       Docs: man:ntpd
 
To check if systemd-timesyncd.service are running
 
admin@srm-02 [ ~ ]$ systemctl status systemd-timesyncd.service
* systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; disable>
     Active: inactive (dead)
       Docs: man:systemd-timesyncd.service(8)
 
 
In the above output we see that ntpd service is active (running) and systemd-timesyncd is reported to be inactive (dead).
 
 
 
2. Switching the above time services to change their current status:
 
Restart systemd-timesyncd.service as to see the if the appliance gets time synchronized as per vCenter.
 
root [ /home/admin ]# systemctl start systemd-timesyncd.service
 
root [ /home/admin ]# systemctl status systemd-timesyncd.service
* systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; disable>
     Active: active (running) since Fri 2025-02-21 11:04:29 PKT; 2min 18s left
       Docs: man:systemd-timesyncd.service(8)
 
 
root [ /home/admin ]# service ntpd status
* ntpd.service - Network Time Service
     Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor pres>
     Active: inactive (dead) since Fri 2025-02-21 11:04:29 PKT; 2min 9s left
       Docs: man:ntpd
 
 
In the above output we see that systemd-timesyncd service is active (running) and ntpd is reported to be inactive (dead).
 
 
 
3. Check the timesyncd conf file with the NTP server IP as below:
 
To change NTP servers on modify the systemd configuration manually on the VR appliance:
 
root [ /home/admin ]# cat /etc/systemd/timesyncd.conf
# See timesyncd.conf(5) for details.
[Time]
#NTP= >>>>>>>>>>>>>>>>>>>>  Here you may see NTP server IP is not updated.
#FallbackNTP= *****
#RootDistanceMaxSec=5

Resolution

There are several workarounds to fix the time skew issues as below.

 

1.You may reconfigure the time synchronization by disabling and enabling the NTP on vCenter and VRMS appliance.

if reconfiguring the NTP via vCenter and VR VAMI does not help to fix the issue then you may further check the time services as below.

 

2.Manually restart the timesyncd service using the below command. Keep a watch on current date and time by running a watch date command. Either one of the below services should be used for time sync and should be active. This can be checked vice versa.

To Check if ntpd or systemd-timesyncd.service are active:
 
systemd-timesyncd.service:
systemctl start systemd-timesyncd.service
systemctl status systemd-timesyncd.service
 
 
ntpd:
service ntpd start
service ntpd status
 
 
If restarting the above ntpd or systemd-timesyncd.service do not fix the issue, then you may try to update the timesyncd.conf file with correct NTP server IP details.
 
  • Please note that it is recommended to have the same time source in the entire vSphere or VCF environment
  • If the appliances and the VMs are joined to a AD domain, it is recommended to make the domain controller as the time source
  • If you have a few VMs joined to the AD domain and a few VMs which are not joined to the domain, it is still recommended to use the domain controller for all the vSphere or VCF entities
 
4. Steps to edit the below timesyncd conf file by updating the NTP server IP as below on SRM/VR appliance:
 
cat /etc/systemd/timesyncd.conf - To view the conf file.
vi /etc/systemd/timesyncd.conf  - To edit the conf file.
 
Restart timesyncd and verify time synchronization - systemctl restart systemd-timesyncd.service
 
 
Now you may keep a watch on the time by running the command watch date and compare with vCenter appliance. This should fix the time synchronization. If you still see time deviates more than 30 secs, then you can update the time manually as below.
 
 
4.Manually synchronize the time to match vCenter and SRM/VR appliance. 
 
date --set="DD MONTH YYYY HH:MM:SS"
For example:
date --set="24 May 2015 16:25:00"
 
Watch the time using watch date on SRM/VR and vCenter appliance after manual date/time update. Ensure that the time synchronization between the vCenter Server and the SRM/VR appliance is within 30 seconds which is essential to prevent time skew issues.
 
vCenter Appliance:
root [ /var/lib/sso-user ]# date
Fri Feb 21 11:22:22 PKT 2025
 
SRM/VR appliance:
root [ /home/admin ]# date
Fri Feb 21 11:22:30 PKT 2025
 
 
Once the time synchronization issues are fixed, you may reconfigure the VR appliance. 
 
1.Log in to the VRMS Appliance Management Interface as admin.
2.Click Summary, and click Reconfigure.
3.On the Platform Services Controller page, enter the information about the site where you deployed the vSphere Replication Appliance.
4.If prompted, click Connect to verify the Platform Services Controller certificate.
5.On the vCenter Server page, click Next. After the initial configuration of the vSphere Replication Appliance, you cannot select a different vCenter Server instance.
6.On the Name and Extension page, enter the necessary information to register the vSphere Replication Appliance with vCenter Server.
7.On the Ready to Complete page, review your settings and click Finish. To configure the vSphere Replication Appliance on the target site, repeat the procedure.