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
If an http probe is defined with a path containing query parameters, the request should reach the workload as it is defined just like it does on a Kubernetes pod.
for example:
path: /?type=healthcheck
port: 8080
should reach the container as http://:8080/?type=healthcheck
Actual Behavior
instead it reaches the container as http://:8080/%3Ftype%3Dhealthcheck
Steps to Reproduce the Problem
This ksvc fails the health probe because httpbin does not url decode before matching the route.
The GUNICORN_CMD_ARGS environment variable configures logging of requests so it's easy to see what queue-proxy is sending to the container.
/area API
What version of Knative?
any version
0.11.x
Expected Behavior
If an http probe is defined with a path containing query parameters, the request should reach the workload as it is defined just like it does on a Kubernetes pod.
for example:
path:
/?type=healthcheck
port:
8080
should reach the container as
http://:8080/?type=healthcheck
Actual Behavior
instead it reaches the container as
http://:8080/%3Ftype%3Dhealthcheck
Steps to Reproduce the Problem
This ksvc fails the health probe because httpbin does not url decode before matching the route.
The
GUNICORN_CMD_ARGS
environment variable configures logging of requests so it's easy to see what queue-proxy is sending to the container.I believe this is because the probe is created from url.String() which uses url.EscapedPath().
The text was updated successfully, but these errors were encountered: