7,254 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
79
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
0
answers
46
views
Local Network Access in jetty
I'm using jetty-server 11.0.17
Getting an error message when a remote page tries to access a local Jetty Web server on 127.0.0.1:8080 -
Access to XMLHttpRequest at 'http://127.0.0.1:8080/api' from ...
0
votes
1
answer
146
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
79
views
Spring Boot and Jetty 12.1.0 disable error message "HTTP protocol violation: Authentication challenge without WWW-Authenticate header"
I have created a filter in Spring Boot that checks Authorization. When I send a request into my app without an Authorization: Bearer header, I get this error:
org.eclipse.jetty.client....
0
votes
0
answers
87
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
42
views
How do I (or is it possible to) migrate WebSocketServerComponents.ensureWebSocketComponents() usage from Jetty 10 to Jetty 12?
I have inherited some code based on Eclipse Equinox, Jetty 10 (ee8), with the goal of migrating it to Jetty 12 (ee8). Much of the code involves setting up servlets, and a portion involves servlets ...
0
votes
0
answers
145
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 ...
0
votes
0
answers
53
views
How to Customize Apache NiFi 2.4.0 API Logging to Include Custom Attributes?
I'm using Apache NiFi 2.4.0 and want to extend the default HTTP request logging (nifi-request.log) to include a custom attribute called logType with values like DATA_ACCESS, DATA_EXPORT, or ...
1
vote
0
answers
102
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 ...
1
vote
1
answer
62
views
In Jetty 12.x how to make logging of a webapp independent of logging of Jetty
With Jetty 9.x I was able to have separated logging config for my webapp and Jetty.
I've migrated to Jetty 12.0.22, and now Jetty uses slf4j.
My app used to use logback-classic through slf4j, but it ...
0
votes
0
answers
76
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 ...
0
votes
0
answers
38
views
Jetty 12 overwrites keystore file at startup
I configured Jetty 12.0.19 to handle HTTPS on port TCP/443 using the CAP_NET_BIND capability. Everything works fine when Jetty is started by jetty user.
Then I created a Keystore with the server's ...
-1
votes
1
answer
208
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 ?
0
votes
0
answers
46
views
NoSuchMethodException, No suitable constructor: migrating jenkins to jetty12 ee9 (jenkins 492.3) with an existing HashLoginService implementation
Theres a well documented online configuration for configuring Jenkins on earlier versions of jetty and jenkins. This setup is not apparently supported with jetty 12.
<?xml version="1.0" ...
1
vote
1
answer
117
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, ...