Issue with Undertow Client and SSL
by Thomas Segismont
Hi,
Openshift Origin uses Hawkular Metrics to store node and container data. In
this scenario, Hawkular Metrics calls the Kubernetes master server over
HTTPS to validate the client identity. This is implemented with Undertow
Client, as part of a ServletExtension (inside Wildfly 10) [1]. Works fine
in development and testing.
Now the Openshit team sees errors in the logs [2][3]. I couldn't reproduce
yet. Errors come in pair, first the "UT005001: An exception occurred
processing the request: java.lang.IllegalStateException: XNIO000017: Buffer
was already freed", and just after "XNIO001007: A channel event listener
threw an exception: java.lang.NullPointerException".
Does that ring a bell? I haven't been able to find a starting point by
looking into the source the code.
Thanks
--
Thomas Segismont
JBoss ON Engineering Team
[1] https://git.io/vrNyP
[2] https://issues.jboss.org/browse/HWKMETRICS-408
[3] https://issues.jboss.org/secure/attachment/12405779/hawkular.log
1 week, 4 days
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed BEFORE response
by vikas ojha
Hello Team,
PFA pics representing the flow of request with numbering and explanation of the same.
https://ibb.co/pQbq2pp
https://ibb.co/6RJ0KwB
Issue
Api gateway is sending PrematureCloseException: Connection prematurely closed BEFORE response in return.
The team owning the api gateway server claims that they are getting close event from the spring boot app server (undertow) as shown in point 5.
example Received a TLS close_notify, closing the channel now.
I need help in resolving this issue whether we have to change any property at undertow side for example noRequestTimeout or keep-alive or we have to change any undertow thread configs example io threads or worker threads.
Thanks
Vikas
Undertow lover
1 year, 8 months