api-layer icon indicating copy to clipboard operation
api-layer copied to clipboard

API ML not passing HTTPS JES2EDS notifications

Open Destabilizator opened this issue 3 years ago • 1 comments

Describe the bug Submit job via z/OSMF zJobs API (https://www.ibm.com/docs/en/zos/2.5.0?topic=interface-submit-job) and utilize X-IBM-Notification-URL header which points to app sitting behind API ML and listening for inbound notifications. According to z/OS logs, the secure transport is successfully negotiated (JES2 cert was added to API ML keystore and AT-TLS policy defined) and notification is sent, but nothing arrives to the app. Launching a simple HTTPS server using the same certificates as the app works fine.

Steps to Reproduce

  1. Submit job via API with X-IBM-Notification-URL header specified, pointing to HTTPS server listening for inbound POST sitting behind API ML
  2. Job completes, notification is sent and lost in API ML, app receives nothing

Expected behavior API ML passes the notification to the app

Logs Upon request

REST API client (in case of REST API issue):

  • Technology: Node.js
  • OS: Windows 10

Willingness to help I'm willing.

https://github.com/zowe/api-layer/wiki/Issue-management

Destabilizator avatar Sep 21 '23 13:09 Destabilizator

Investigating the POST notification sent from z/OSMF... Could you please provide your setup of X-IBM-Notification-URL and X-IBM-Notification-Options headers in the original submit job rest api call?

weinfurt avatar Oct 16 '23 11:10 weinfurt