SAP Knowledge Base Article - Preview

3839857 - HRTT MTA deployment fails with 'ERR_REQUIRE_ESM' and hrtt-service crashed (exit code 1)

Symptom

  • Deployment of the MTA com.sap.xsa.hrtt 2.16.262802 failed during XSA upgrade.
  • Error message: "code: 'ERR_REQUIRE_ESM'"
  • Error: "FAILED with state 'CRASHED': Process terminated unexpectedly with exit code: 1"
  • Number of running instances for app 'hrtt-service' is 0 but should be 1.
  • xs logs show below error:

    <sid>adm@els-hana1:/usr/sap/<sid>/HDB00> xs logs hrtt-service --recentConnected, dumping recent logs for app "hrtt-service"
    10/10/26 6:00:00.076 PM [APP/4-0] ERR     code: 'ERR_REQUIRE_ESM'
    10/10/26 6:00:00.076 PM [APP/4-0] ERR   }
    10/10/26 6:00:00.076 PM [APP/4-0] ERR
    10/10/26 6:00:00.076 PM [APP/4-0] ERR   Node.js v20.12.2
    10/10/26 6:00:00.184 PM [APP/4-0] SYS   #2.0####/System##################
                                            FAILED with state 'CRASHED': Process terminated unexpectedly with exit code: 1
    10/10/26 6:00:27.330 PM [API] OUT   Cleared instance [state CRASHED, index 1] of droplet [id 4] of app 'hrtt-service' [Org 'KS', Space 'PROD'] at [els-hana1:50184, pid 148800].
    10/10/26 6:00:27.334 PM [API] ERR   Please check state of app 'hrtt-service' [Org 'KS', Space 'PROD'] (droplet with id 4 of app 'hrtt-service' [Org 'KS', Space 'PROD'] created by buildpack 'sap_nodejs_buildpack') as the portion of uptime 0.10 is below critical threshold.
    10/10/26 6:00:27.338 PM [API] ERR   Number of running instances for app 'hrtt-service' [Org 'KS', Space 'PROD'] is 0 but should be 1. Trying to adapt number of running instance 


Read more...

Environment

  • Product: SAP HANA, platform edition
  • Database Explorer in Web IDE for SAP HANA

Product

SAP HANA, platform edition all versions

Keywords

HRTT, MTA deployment, hrtt-service, ERR_REQUIRE_ESM, exit code 1, ES module, dynamic import, CommonJS, Node.js, XS Advanced, sap_nodejs_buildpack, deployment failure, service crash, instance 0 of 1, startup error , KBA , HAN-WDE-RTT , SAP Web IDE for Hana Runtime and SQL Tools , BC-XS-RT , XS Advanced Runtime / XS Controller , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.