Apps Manager Error with Spring Boot Actuator integration
search cancel

Apps Manager Error with Spring Boot Actuator integration

book

Article ID: 298043

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

When browsing the Overview tab of a Spring Boot app in Apps Manager, the UI panel crashes with a Javascript error similar to the following:
"TypeError: r.toLowerCase is not a function" or "TypeError: t is undefined" 

Please contact support with the following information: 

Apps Manager Revision: [revision-id]
Timestamp: 2020-03-04T09:28:28.555Z 
Name: Pivotal Application Service Build: 2.8.4-build.16 
Cloud Controller API Version: 2.142.0 
Open Service Broker API Version: 2.15 
Browser/Version: [browser]
Operating System: [os]

This is caused when the 'Health' actuator endpoint performs an asynchronous request for health information and Apps Manager does not handle this scenario correctly.

Environment

Product Version: 2.8

Resolution

As a temporary workaround, the health endpoint for the app can be disabled or blocked via the browser - if this endpoint is not requested the UI will not crash.

The Apps Manager team have released a fix for this issue which is included in the following versions of VMware Tanzu Application Service (TAS) for VMs:
  • TAS for VMs 2.6.18
  • TAS for VMs 2.7.12
  • TAS for VMs 2.8.6