How to retrieve entire error message of a test run of REST Message -> HTTP Method

ytoriwaki
Tera Contributor

Hello,

I try to connect outbound webservice with mTLS (mutual TLS) on ServiceNow platform but does not work well.
I got an Error message like below when we did a Test Run of HTTP Method, but that was cut off in the middle.

"Request not sent to uri= protocol://xx.xx.xxx.xxx/api : javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints c"

If I can get entire of Error message, that will be helpful to resolve connection error.
How can we retrieve entire error message?

Thanks in advance,
Yasushi TORIWAKI

1 ACCEPTED SOLUTION

johnfeist
Mega Sage
Mega Sage

Hi Ytoriwaki,

There are two things to do.  First in your message configuration, set the log level to All. There is a link to do that in the message configuration.  With that in place, navigate to System Logs | Outbound HTTP Requests.  There is a tab on the message record, Response, that should show you the full reply.

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

View solution in original post

4 REPLIES 4

johnfeist
Mega Sage
Mega Sage

Hi Ytoriwaki,

There are two things to do.  First in your message configuration, set the log level to All. There is a link to do that in the message configuration.  With that in place, navigate to System Logs | Outbound HTTP Requests.  There is a tab on the message record, Response, that should show you the full reply.

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Maik Skoddow
Tera Patron
Tera Patron

Hi @ytoriwaki 

as mutual TLS happens on the lowest level of the ServiceNow platform you have to look into the node log files (log files of the running application servers)

See https://docs.servicenow.com/en-US/bundle/sandiego-platform-administration/page/administer/time/refer... on how to browser the node log files.

Kind regards
Maik

Yogi3
Kilo Guru

There is a property with Name=glide.outbound_http.content.max_limit with default value as 1000

You can try by setting to 10000 value.

 

Also, is your instance configured for mTLS?

 

Hope this help!

Yogi

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi,

>avax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints c

This message usually appears in Java application when SSL is not setup properly.

Not sure about the system architecture, but it may be non-ServiceNow service's ssl certification need to be installed in ServiceNow.

https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/edge-encryption/...