Welcome to the Linux Foundation Forum!

Chapter 7 Lab - Kill the Application

CVT Posts: 1

Hi all,

i have a  problem with the lab in chapter 7. I'm a Mac User and use the SAP Cloud Platform as Cloud Foundry. In the Lab i install the watch App and can use it with the command: 

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)}
span.s1 {font-variant-ligatures: no-common-ligatures}

watch cf app roster

It's work fine. Now i go to my Browser and enter the url with /kill, but the answer is:

502 Bad Gateway: Registered endpoint failed to handle the request.

Evryone have an idea?




  • spgreenberg
    spgreenberg Posts: 86
    edited July 2017

    Hi Constantin,

    This is the expected behavior. The /kill endpoint programatically kills the instance you are accessing.  Therefore, the request hits the app, then is killed via a System.exit(1) before it responds.  This simulates a crash mid request.



Upcoming Training