VMware Cloud Community
kanemari
Contributor
Contributor

"Unfortunately, we hit an error that we weren't expecting" when editing VMs with PCI passthrough

Hi All,

Since upgrading ESXI 6.5 to ESXi-6.5.0-20210704001-standard (Build 18071574) last night, I am unable to edit the settings for any VM that has a PCI passthrough device attached to it. Get the following error:-

Unfortunately, we hit an error that we weren't expecting.

The client may continue working, but at this point, we recommend refreshing your browser and submitting a bug report.

Press the Esc key to hide this dialog and continue without refreshing.

Details as follows:-

Cause: Possibly unhandled rejection: {}
Version: 1.34.2
Build: 16361878
ESXi: 6.5.0
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55

Exception stack:

TypeError: Right-hand side of 'instanceof' is not an object
    at populatePCIDevices (https://192.168.1.10/ui/scripts/main.js:373:28140)
    at https://192.168.1.10/ui/scripts/main.js:374:14725
    at https://192.168.1.10/ui/scripts/main.js:428:16782
    at https://192.168.1.10/ui/scripts/main.js:326:23176
    at m.$digest (https://192.168.1.10/ui/scripts/main.js:326:28780)
    at https://192.168.1.10/ui/scripts/main.js:326:30503
    at e (https://192.168.1.10/ui/scripts/main.js:325:10071)
    at https://192.168.1.10/ui/scripts/main.js:325:11522

Have tried on both Edge and Chrome, same deal. Have to ssh into the server and remove all the PCIPassthrough lines from the vmx file to get it to open again.

Is anyone else having this problem?

0 Kudos
3 Replies
e_espinel
Virtuoso
Virtuoso

Hello.
You are connecting to the vShere client (HTML5 web client) through the vcenter server or directly to the ESXi host.

 

 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
0 Kudos
kanemari
Contributor
Contributor

I am connecting directly to the esxi server

0 Kudos
e_espinel
Virtuoso
Virtuoso

Hello.
I guess you already tried with other browsers (like firefox or Waterfox), if not you could try with some other browser.
The Host client (Web client) version on your ESXi Host is 1.34.2 which was probably updated along with the other ESXi components.
What was your previous build on the ESXi host?
You could try downgrading the client host to version 1.33.1. Attached link, it is not complicated just follow the instructions, no reboot of the ESXi host is required.
https://flings.vmware.com/esxi-embedded-host-client

 

 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.