Questions tagged [undertow]

Undertow is a high performance non-blocking webserver that is the new web server in Red Hat's WildFly.

Website: http://undertow.io/

526 questions
5
votes
3 answers

WildFly -> Undertow -> mapping subdomain to war file not working

WildFly 8.1.0 Final Windows Server 2012 R2 I have two sub-domains pointing at this server, and I want requests to each sub-domain to trigger a different war file:- webapp.domain1.com -> WildFly Server -> myapp1.war test.domain2.net -> WildFly…
cbl.adp
  • 244
  • 1
  • 4
  • 16
4
votes
0 answers

Undertow - SSL read loop detected when invoking microservice through k8s service

I've a reactive microservice application (we will call this microservice X) with the following dependencies: Spring Boot v2.2.8.RELEASE, SpringWebFlux v5.2.7.RELEASE, Spring v5.2.7.RELEASE, Undertow core 2.0.30.Final, deploying it in a k8s…
4
votes
0 answers

invalid session in undertow using basic auth and stateless sessions

I have a grails 4 (based on spring boot) application that is experiencing sporadic failures. At this point I cannot find anything even pointing to what the problem may be, and hope that perhaps someone can assist. The scenario where the error…
Daniel
  • 3,312
  • 1
  • 14
  • 31
4
votes
0 answers

Writing a Servlet Filter with Quarkus that modifies the response body

I am trying to write a servlet filter in Quarkus that modifies the response body. Basically, I have followed the steps on following article to make sure I am not missing anything:…
38leinad
  • 196
  • 2
  • 11
4
votes
0 answers

JHipster - No qualifying bean of type 'org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory' available

I am developing a JHipster application. I have issues configuring SSL. I have generated a certificate using Letsencrypt and modified my yaml production file (enabled SSL). But when I deploy on my Tomcat I have the following exception: Parameter 0 of…
chteril
  • 41
  • 2
4
votes
0 answers

Metrics of embedded Undertow in Spring boot

I have spring boot 1.4.x and embedded Undertow 1.3.28. Some part of application monitored with Dropwizard MetricRegistry and metrics send to Graphite. I want to collect metrics from Undertow by MetricRegistry and send them to graphite as well.…
user2625402
  • 123
  • 12
4
votes
0 answers

Springboot + undertow over SSL 100% CPU usage

I'm having some problems with a little web application I made and I put in production a few days ago. When you access to the application and interact with it, in a few minutes crash instantly (waiting too long for the SSL handshake). I use a…
Nico
  • 858
  • 2
  • 11
  • 27
4
votes
0 answers

How can I set a specific (Content-Type) HTTP response header by configuring undertow?

Summary I'm implementing a web service, that is deployed on a Wildfly-15 application server. I'd like to have the Content-Type HTTP response header to include charset=UTF-8. This is necessary for the client to understand my response. Details One of…
austurist
  • 124
  • 8
4
votes
2 answers

How can I disable HTTP TRACE in embedded untertow of a Spring boot application

My goal is to DISABLE HTTP TRACE method for my spring boot application, which is using embedded undertow. A working yaml change will be preferred, if not, code changes are fine too. The end result should ideally be 4xx HTTP response code and no…
4
votes
0 answers

How to read http body in a undertow ReverseProxyClient

I need to read the internal server response in a undertow reverse proxy, but i am getting a deadlock in private String getBody(HttpServerExchange exchange) I need to read the internal response and add a header, anyone con help…
caeycae
  • 1,137
  • 3
  • 12
  • 28
4
votes
1 answer

Disabling undertow logging

I have an app that uses various dependencies. These dependencies all use a tangled mess of logging frameworks. Since I do not want any library to ever do any kind of logging I have a small routine that attempts to disable it all. This has worked…
4
votes
1 answer

Keycloak/Undertow/JBoss-CLI - Set "web-context" from environment variable

I've a problem regarding Wildfly/Undertow and the JBoss-CLI setting the web-context of Keycloak. The environment-variable seems not to be resolved in undertow itself, but other environment-variable seems to be resolved. I've create the following…
JanL
  • 41
  • 3
4
votes
0 answers

Monitoring Undertow by Statsd

I want to monitor Undertow (mainly IO and worker threads) using statsd, I had in place tomcat and a lot of metrics were exported automatically to jmx but it seems not the case for Undertow. I can see XNIO on JConsole for the application(Spring-boot…
Shadi
  • 557
  • 1
  • 6
  • 15
4
votes
1 answer

Change static contents (html,css,JS) without server restart Wildfly 8

Static contents such as HTML, CSS, JavaScript changes does not effect on page refresh. It needs a server - restart for the changes to apply. But interestingly, only for the first two times the changes are applied on page reload. But from the third…
Bala Krishnan
  • 374
  • 3
  • 18
4
votes
0 answers

Getting IllegalStateException after upgrading jhipster 3.7

I'm working on project which is recently upgraded to 3.7.1, after upgrade whenever I'm using more than 1 request ( in my case it's 3 requests ) at same time I'm getting this error. IllegalStateException: UT000021: Session already invalidated" the…
navid_gh
  • 1,863
  • 3
  • 17
  • 30