Hi,
First off: did you open a case at IBM Support for this? If not: you should have - instead of stopping using ISAM ;-)
With some googling around and the great help from my colleague Hans, it seems that the parameter
no-remote-jct-error-status-codes might work for such cases.
This option was offered ages ago in a TAM 5.1 fixpack. See here:
ftp://ftp.software.ibm.com/software/tivoli_support/patches/patches_5.1.0/5.1.0-TIV-AWS-FP0032/5.1.0-TIV-AWS-FP0032.README
The readme says:
The customer upgraded from 4.1 to 5.1, and noticed that when a junctioned server returned an HTTP 503 error code that it was returned to the client as an HTTP 500. This was intentional behavior added in 5.1. There is now a descriptive error message returned (which describes the 503 error condition) with the HTTP 500 error. If this is not enough information to show what error occurred, there is a backward compatibility flag to enable the old behavior (sending the 503 error to the client): [junction] no-remote-jct-error-status-codes = yes
Please go ahead and try that. Don't panic if you don't find any documentation on this, it's a so-called hidden config.
If it doesn't work or if you are unsure about the support, then please open a case.
Cheers, Peter.
------------------------------
Peter Volckaert
Sales Engineer
IBM Security
------------------------------
Original Message:
Sent: 01-24-2019 01:58 AM
From: André Leruitte
Subject: IAM translates 503 to a 500
We ran exactly into the same issue than you, being unable to have an api return a proper 503.
I hope that in 9.0.6 or 9.0.7 they will allow us to have more control on this because at the moment, the only workaround we found is to stop using ISAM for pure API exposition.
------------------------------
André Leruitte
Original Message:
Sent: 01-23-2019 04:23 AM
From: Mikael Lindblad
Subject: IAM translates 503 to a 500
Hi,
I made a mocked api which you can send in a parameter with https status code you wish to get back
for example https://isam.example.com/api/503
For some reason the 503 gets translated by webseal to 500 internal server error.
Does anyone now the design decision behind that rule?
------------------------------
Regards Mikael
------------------------------