VMware plugin failure: ActiveRecord::RecordNotFound

Problem:
I want to change the VM ware settings in Foreman
If I choose the ‘VM’ tab the following error occurs:
“Failure: ActiveRecord::RecordNotFound”
If I edit the host settings and go to ‘virtual machine’ this error comes:
**‘hostname.xxx.yyy.zzz’ not found on ‘vcenter-01.xxx.yyy.zzz’ could be deleted or ‘vcenter-01.xxx.yyy.zzz’ is not responding.

Expected outcome:

Foreman and Proxy versions:
Foreman 3.1.2

Foreman and Proxy plugin versions:
Foreman-vmware.noarch 3.1.2-2.el7

Distribution and version:
CentOS Linux release 7.9.2009 (Core)

Other relevant data:

Hi,

What settings are being changed?

Can Foreman still talk to the vCenter with the existing credentials and info?

@cintrix84 the host has not been touched for a while. I can’t remember what the last change actually was.

There are around 300 VMs that can be managed by Foreman without any problems.