Skip to content

AT-TLS does not work #4215

@josefRIT

Description

@josefRIT

We have ZOWE upgraded to v2.18.1 under z/OS 3.1 and with java version (see below) active and running in a minimal configuration (active components gateway, discovery, api-catalog)
java version "1.8.0_441"
Java(TM) SE Runtime Environment (build 8.0.8.40 - pmz6480sr8fp40-20250123_01(SR8 FP40))
IBM J9 VM (build 2.9, JRE 1.8.0 z/OS s390x-64-Bit Compressed References 20241212_83587 (JIT enabled, AOT enabled)

All this components are up and running okay.

Than we change in out yaml:

network.server.tls.attls: true
network.client.tls.attls: true
and finished the TCPIP-configuration to change our ZOWE-Ports to use AT-TLS.
When I now start ZOWE-STC I get this error MSG:
2025-05-22 12:55:59.886 ZWEADS1:http-nio-0.0.0.0-7553-exec-1:83951983 AXXZOWEV ERROR (o.a.c.c.C.Ý.Ýlocalhost¨) Exception Processing ÝErrorPageÝerrorCode=0, location=/error¨¨
java.lang.IllegalArgumentException: This method cannot decide whether these patterns are Spring MVC patterns or not. If this endpoint is a Spring MVC endpoint, please use requestMatchers(MvcRequestMatcher); otherwise, please use requestMatchers(AntPathRequestMatcher).
This is because there is more than one mappable servlet in your servlet context: äcom.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet=Ý/application/hystrixstream/*¨, org.springframework.web.servlet.DispatcherServlet=Ý/¨ü.
For each MvcRequestMatcher, call MvcRequestMatcher#setServletPath to indicate the servlet path.
at org.springframework.util.Assert.notNull(Assert.java:219)

And on the browser API Mediation Layer show only the Autentication Service is running.

When I call https://q-zowe.r-services.at:7553/ (Gateway) I get:
{
"messages": [
{
"messageType": "ERROR",
"messageNumber": "ZWEAS103E",
"messageContent": "API Gateway Service is not available by URL '/' (API Gateway is required because it provides the authentication functionality)",
"messageAction": "Check that both the service and Gateway are correctly registered in the Discovery service. Allow some time after the services are discovered for the information to propagate to individual services.",
"messageReason": "The security client cannot find a Gateway instance to perform authentication. The API Gateway is required because it provides the authentication functionality.",
"messageKey": "org.zowe.apiml.security.gatewayNotAvailable"
}
]
}

When I call q-zowe.r-services.at:7552/apicatalog/application/info
{
"messages": [
{
"messageType": "ERROR",
"messageNumber": "ZWEAS103E",
"messageContent": "API Gateway Service is not available by URL '/apicatalog/application/info' (API Gateway is required because it provides the authentication functionality)",
"messageAction": "Check that both the service and Gateway are correctly registered in the Discovery service. Allow some time after the services are discovered for the information to propagate to individual services.",
"messageReason": "The security client cannot find a Gateway instance to perform authentication. The API Gateway is required because it provides the authentication functionality.",
"messageKey": "org.zowe.apiml.security.gatewayNotAvailable"
}
]
}

We checked our z/OS TCPIP - LOGs and could not find a problem with our AT-TLS configuration / ZOWE Ports.

Any suggestions what else we can try?

Metadata

Metadata

Labels

Priority: HighblockedbugVerified defect in functionalityclarificationIssue is being clarified in the discussion with the creator of the issue

Type

No type

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions