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
Correctly shutting down a websocket handler
by Robin Anil
When a client disconnects, I see that onClose is not being fired. The only
way this seems to be firing if client sents a close frame.
Is there any way to detect disconnection and immediately close all the
opened resources.
Robin
Robin Anil | Software Engineer
2 years, 5 months
Cache object that is not thread safe
by Steve Hu
I need to share the same instance of a "Util" object to reuse it in all the
handleRequest calls. Where is the best place to store the Util object
instance? The Util class is not thread safe, so I should have one instance
for each client thread.
Thanks,
Steve
7 years, 11 months
Tuckey logging shows in nested categories
by Brad Wood
We're using Undertow in a console app that also leverages Tuckey for URL
rewriting. We're also using Log4j for logging stuff. I was noticing this
week that most of the log messages from Tuckey seem to be nested inside of
a log message from Undertow-- often times with a different logging
severity.
[INFO ] io.undertow.servlet:
org.tuckey.web.filters.urlrewrite.Condition TRACE: outcome false
I can try and provide the details of how we're using Log4j if I need. I'd
like to be able to do some filtering and such to separate out my Tuckey
logs, but I can't do it easily when they appear to get caught up and
re-logged by Undertow under a different logging category and severity.
Any ideas on what's going on would be welcome.
Thanks!
~Brad
*Developer Advocate*
*Ortus Solutions, Corp *
E-mail: brad(a)coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
7 years, 11 months