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
2
votes
0 answers

Spring Boot Embedded Undertow Server : java.io.IOException: UT000128: Remote peer closed connection before all data could be read

A web application which uses spring boot 2.2.3.RELEASE and Undertow 2.0.29.Final as embedded server having the issue java.io.IOException: UT000128: Remote peer closed connection before all data could be read. And this is the only configuration…
Sebin Thomas
  • 279
  • 8
  • 21
2
votes
0 answers

Unable to use UndertowServletWebServerFactory to limit MAX_ENTITY_SIZE

Using Spring Boot 2.1.3.RELEASE. I am trying to limit request sizes that Undertow accepts. Would like to have a limit for all types, POSTs, PUTs, multipart, non-multipart etc. There's UndertowOptions.MAX_ENTITY_SIZE that I think I should be able to…
Janne Mattila
  • 598
  • 7
  • 20
2
votes
1 answer

Springboot with undertow becomes unresponsive when worker thread pool grows too large

We are running spring-boot microservices on k8s on Amazon EC2, using undertow as our embedded web server. Whenever - for whatever reason - our downstream services are overwhelmed by incoming requests, and the downstream pods' worker queue grows too…
Aaron Shaw
  • 45
  • 1
  • 7
2
votes
0 answers

JSESSIONIDSSO cookie is not getting written upon login

I have a number of applications currently running on Wildfly 10 and using the Picketbox security system with SSO. I am currently upgrading to Wildfly 17 and have converted the security configuration to use the Elytron subsystem, but am having…
Doughnuts
  • 421
  • 1
  • 4
  • 10
2
votes
1 answer

How to cancel unfinished, long-running requests in Spring-boot with Undertow?

I have a Spring-boot service, using Undertow, the primary clients of which are sensors at a client site (~250 such devices). These sensors send POSTs to the service every 10 seconds over the site WiFi - which is somewhat spotty in places. I am…
2
votes
1 answer

Redirect to a different host in Spring Boot (non-www to www URL)

I have configured my project with a self signed certificate and have configured to redirect insecure http to https. I also want to redirect a request to a host without a "www." prefix to a host that does, like when we make a request to…
sam
  • 1,800
  • 1
  • 25
  • 47
2
votes
0 answers

Swagger undertow

Ahoj, I'm looking for example of integrating swagger into undertow based application. I've got undertow configured like this: HttpHandler routes = new RoutingHandler() .post("/v1/create", endpoint::create) …
voncuver
  • 65
  • 6
2
votes
1 answer

How can I set Undertow properties in JoinFaces/Spring Boot?

Until now we used Wildfly 12 and increased the http max-parameters value inside the undertow module (server->http-listener) in the standalone.xml configuration file. Now we switched to the Spring ecosystem using JoinFaces and don't know how to…
Primi
  • 127
  • 1
  • 10
2
votes
3 answers

Getting http in the Location-header when the original request was made over https

My questions: 1) Why do I get http as the scheme in the Location-header when the original request from the browser was made with https? 2) Is this an wildfly load balancer problem? My Request Header is: method: POST scheme: https accept-encoding:…
Pathak
  • 183
  • 5
  • 21
2
votes
0 answers

OKHttp Caused by: java.io.EOFException: \n not found: limit=0 content=…

I have encountered this problems in occasionally case, my website do NOT have this issue before today, when I encounter this issue, I try to resolve it by check my code and track issue log, even try stack-overflow, the anwser may the list: set…
itachy
  • 63
  • 1
  • 9
2
votes
2 answers

Rewriting paths with undertow-handlers.conf doesn't work as expected

Background JBoss 7.1.5 EAP back-end with an Angular 7 UI. I need to make JBoss aware of the UI's routes, but rewrite them all to the UI's index page for routing by Angular. The project is structured thus: webapp/ WEB-INF/ …
msanford
  • 11,803
  • 11
  • 66
  • 93
2
votes
1 answer

How does Spring Boot http2 handle browser requests that do not support http2 at the same time?

Spring Boot can support http/2 now, but if browser does not support http/2, can browser request server use http1.x+ssl with the same http port? Nginx can automatically downgrade http/2 to http1.x+ssl when browser does not support http/2. Is this a…
tkec
  • 147
  • 9
2
votes
1 answer

How can I broadcast a message to all clients connected to an Undertow websocket server?

This is my current setup for an Undertow websocket server: Undertow server = Undertow.builder() .addHttpListener(8080, "localhost") .setHandler(path() .addPrefixPath("/", websocket((exchange, channel)…
rococo
  • 2,280
  • 2
  • 22
  • 37
2
votes
2 answers

Spring-boot configure client-auth=need for secondary SSL listener

I'm using spring-boot version 1.5.6.RELEASE. I configured SSL on port 9443 declaratively in application.yml. This is working. I am also using Undertow for this Spring-boot app. server: session: cookie: http-only: true contextPath:…
Jim Kennedy
  • 782
  • 9
  • 23
2
votes
0 answers

ERROR [io.undertow.request] (default task-127) UT005023

I am facing this kind of error when I tried to open my page with pagination. Have been looking for answer but still can't find a solution to my problem. 17:59:18,902 ERROR [io.undertow.request] (default task-127) UT005023: Exception handling…
Mohd Fidzrin
  • 21
  • 1
  • 6