7,261 questions
0
votes
0
answers
60
views
How to check why HTTP/3 is not working for demo Jetty 12.1 server?
I run Jetty 12.1.4 demo according to instruction:
https://jetty.org/docs/jetty/12.1/operations-guide/begin/index.html
including enabling HTT/3 protocol as described at:
https://jetty.org/docs/jetty/12....
0
votes
1
answer
129
views
Connection handling problems when repeatedly starting server on ephemeral port
In the following scenario:
In a loop:
construct and launch server
construct client and make a request
print response code
cleanup server and client
I am seeing occasional timeouts and rarely other ...
0
votes
0
answers
77
views
Trying to set up a websocket servlet in an OSGi environment with Jetty 12. Can't figure out this error
I'm working on an OSGi project with Jetty 12, trying to use the HTTP Whiteboard service to register a websocket servlet. Everything worked just fine when I was testing with an HttpServlet, but when I ...
0
votes
0
answers
108
views
RestClient property spring.http.client.read-timeout only seem to work up to 30 seconds
I'm using Spring Boot's RestClient and configuring the timeout via the property:
spring.http.client.read-timeout=30s
When I execute a call to a stub server that intentionally delays the response for ...
1
vote
0
answers
94
views
Trying to run a Spring Boot server with Spark, but errors occur
I have the following two classes that use the Spark package and that run a server via SpringBoot.
Server.java
package server;
import static spark.Spark.get;
import static spark.Spark.port;
import ...
0
votes
0
answers
68
views
Setting the max buffer size for WebSocketClient since upgrading to Jetty 12
As part of a risk remediation exercise, it has been discovered that we are still using Jetty v9.4.51xxx version of Jetty for our web sockets proxy application, and so should tackle the upgrading of ...
-1
votes
1
answer
176
views
Why does jetty throw "request headers too large"? [closed]
After upgrading spring boot version. Our jetty http client suddenly throws "request headers too large" error.
we do not have the issue before.
What has changed ?
1
vote
1
answer
108
views
Mocking an embedded Jetty server request with test body content
I'm using the delightful Jetty org.eclipse.jetty:jetty-server:12.0.18 for an embedded HTTP server (not using Java EE servlets). Jetty passes an org.eclipse.jetty.server.Request to a custom handler, ...
-3
votes
1
answer
76
views
Jetty mTLS failed connection logging
I am using Java 17 Spring Boot configured to use Jetty running as an mTLS microservice.
I would like to log failed connections (due to misaligned keys or client keys not recognised in the CA -- all of ...
0
votes
0
answers
145
views
How to do plain websocket with Spring/Jetty
I'm trying to get the basic websocket working in Spring with Jetty, as covered here.
At the time of the upgrade, runtime is reporting that the provider is null.
java.lang.NullPointerException: Cannot ...
0
votes
1
answer
239
views
Cannot connect to Jetty WebSocket v11
I am trying to implement server, as java plain application, where clients could connect to a web socket.
The goal is to connect client to a websocket via this url: ws://localhost:4550/api/myWebSocket
,...
0
votes
1
answer
99
views
Consequences of using Jetty 12 HTTP2ServerConnectionFactory with high maxConcurrentStreams
I would like to understand what's the consequences when configuring HTTP2ServerConnectionFactory::maxConcurrentStreams to high value (for example 100k). The default value is 128, are there any reasons ...
0
votes
1
answer
101
views
Jetty 12 development mode
Is there a way with Jetty 12 to use the existing work directory modifications to jar files or class files without have jetty re-explode the war in the webapps directory during startup?
I added these ...
0
votes
0
answers
94
views
Using spring-boot-starter-parent 3.2.12 - ERROR 400 ILLEGAL PATH CHARACTER
In our application, due to a compliance check, the Spring Boot version was updated from 3.2.3 (which includes Jetty 12.0.8) to Spring Boot 3.2.12(which includes Jetty 12.0.15). After updating the ...
0
votes
0
answers
76
views
Struts 2 upgrade: Interceptor Stack no longer right
I'm upgrading Struts from 2.5.33 to 6.4.0
I have 2 runtime environments: the UI running in Intelli-J or directly on a server (Jetty is our Web App Server). Oddly, when running straight on the server, ...
0
votes
0
answers
85
views
Jetty HttpClient constructor no longer takes SslContextFactory.Client
I'm following this example of how to set up Jetty with WebClient per these threads (1, 2) and my error is
The constructor HttpClient(SslContextFactory.Client) is undefined
SslContextFactory.Client ...
1
vote
0
answers
89
views
Jetty 12: forward to error page on invalid URLs
I recently migrated my application from Jetty 11 to Jetty 12 and noticed a change in behavior when handling invalid URLs.
Details: My application uses Spring, which utilizes JettyEmbeddedErrorHandler (...
0
votes
0
answers
126
views
Error starting Java Struts 6 app in Tomcat
I am having an issue deploying my application with Apache Tomcat 9 and Java 14, the application runs fine with Jetty server but I am having an issue when deploying it on Tomcat.
Here is the error I ...
1
vote
1
answer
268
views
How to configure Jetty 12 HttpClient with SPNEGOAuthentication for proxy
I am using Jetty 12.x and trying to configure HttpClient with Proxy. I need to use Kerberos authentication
for the proxy.
Referring the documetion https://jetty.org/docs/jetty/12/programming-guide/...
0
votes
1
answer
68
views
ActiveMQ Artemis Web Console is not running after build
I have built ActiveMQ Artemis Web console from its repository according to the manual provided in repository.
Build has succeed, although when I'm trying to test run the console, and going to /console ...
0
votes
0
answers
19
views
RequestLogs aren't getting recorded with siftingappender
This is a workaround for my previous question. How to configure RequestLog for multiple webappcontext in jetty12
In jetty12, Since the RequestLog only exists on the Server level we can't seperate them ...
1
vote
0
answers
61
views
How to configure RequestLog for multiple webappcontext in jetty12
RequestLogHandler has been removed from jetty12, we should configure Server.setRequestLog for request logging. But with this setup we cannot seperate request logs per different webappcontext and all ...
1
vote
0
answers
328
views
Not able to create websocket connection to istio
I have app running on behind istio gateway and proxy running as sidecar, when i make the connection request from chrome websocket client or wscat or python websocket-client and my requests reaches the ...
1
vote
0
answers
15
views
need sample logs for Jetty, i cant find in any of the docs
i need sample logs for jetty logAccess, Error, Request, WebSocket and Jetty System. I I can find any sample logs in the documentation and any AI gives constructed logs which may or may not be correct. ...
1
vote
1
answer
191
views
Server-Sent Events (SSE) wit RESTEasy exhausting Jetty's thread pool
EDIT:
Got rid of Thread.sleep() using an executor instead.
Added call to servletHolder.setAsyncSupported(true).
Question
We are trying to implement Server-Sent Events (SSE) using
RESTEasy (6.2.11....