You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run my demo with java -javaagent:opentelemetry-javaagent.jar -Dotel.instrumentation.http.server.capture-request-headers=Cookie spring-tomcat-jdk17-0.0.1-SNAPSHOT.jar
All HTTP requests return a 404 error
And I notice that if the request has no header named Cookie, the request returns successful
Run the demo with command java -javaagent:opentelemetry-javaagent.jar -Dotel.instrumentation.http.server.capture-request-headers=Cookie spring-tomcat-jdk17-0.0.1-SNAPSHOT.jar
Initiate an HTTP request with command curl 'http://127.0.0.1:8080/tomcat/hello' -H 'accept: text/html' , a string 'hello' is returned
Initiate an HTTP request with command curl 'http://127.0.0.1:8080/tomcat/hello' -H 'accept: text/html' -H 'cookie: ca=hbcda', a 404 error occurs
Expected behavior
a string 'hello' is returned
Actual behavior
a 404 error occurs
Javaagent or library instrumentation version
2.4
Environment
JDK: OS:
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
when I run my demo with
java -javaagent:opentelemetry-javaagent.jar -Dotel.instrumentation.http.server.capture-request-headers=Cookie spring-tomcat-jdk17-0.0.1-SNAPSHOT.jar
All HTTP requests return a 404 error
And I notice that if the request has no header named Cookie, the request returns successful
Steps to reproduce
java -javaagent:opentelemetry-javaagent.jar -Dotel.instrumentation.http.server.capture-request-headers=Cookie spring-tomcat-jdk17-0.0.1-SNAPSHOT.jar
curl 'http://127.0.0.1:8080/tomcat/hello' -H 'accept: text/html'
, a string 'hello' is returnedcurl 'http://127.0.0.1:8080/tomcat/hello' -H 'accept: text/html' -H 'cookie: ca=hbcda'
, a 404 error occursExpected behavior
a string 'hello' is returned
Actual behavior
a 404 error occurs
Javaagent or library instrumentation version
2.4
Environment
JDK:
OS:
Additional context
No response
The text was updated successfully, but these errors were encountered: