Error "Could not handle response content-type text" when attempting to delete or edit a VM in VMware Cloud Director UI
search cancel

Error "Could not handle response content-type text" when attempting to delete or edit a VM in VMware Cloud Director UI

book

Article ID: 374968

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • While trying to delete a VM from VMware Cloud Director UI, you might encounter an error:
    "Could not handle response content-type text/html; charset=utf-8" .
  • While trying to edit a VM from VMware Cloud Director UI, you might encounter an error: "Could not handle response content-type: text/plain".

  • Issue occurs when accessing the VCD UI externally as this is behind a firewall. Accessing VCD UI directly (bypassing the firewall), you will be able to edit and save the configuration changes on the VM.

Environment


VMware Cloud Director 10.5.x

VMware Cloud Director 10.4.x

Cause

  • This issue is a browser specific issue which can occur when the Client Browser has issues sending and receiving API calls to/from VMware Cloud Director.
  • Network Connectivity Issues is a known factor contributing to this issue.

Resolution

Network Connectivity Issues

  • Any connectivity issue which would result in the Client machine losing connectivity to the Cloud Director Cells/Load Balancer would result in the error.
  • Instances which have been observed to cause the issue would be
    1. VPN Disconnection or Re-authentication
    2. Machine NIC disconnection
  • Customers are advised to consult with their internal networking team for routing issues with the Load Balancer.