kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
400 stars 52 forks source link

Access tcp service through waypoint got unexpected HTTP/1.1 400 Bad Request #667

Closed hzxuzhonghu closed 4 weeks ago

hzxuzhonghu commented 1 month ago

What happened:

I deployed sleep and tcp-echo in default namespace, and make the namespace managed by kmesh.,

Then i enroll waypoint for the default namespacefollowing https://kmesh.net/en/docs/userguide/try_waypoint/#use-waypoint-at-namespace-granularity

But when i exec the below command, met unexpected http error.

k exec -ti sleep-7656cf8794-dzqr7  sh

$ nc tcp-echo 9000

HTTP/1.1 400 Bad Request
content-length: 11
content-type: text/plain
date: Thu, 01 Aug 2024 12:22:34 GMT
server: envoy
connection: close

Bad Request

It is really weired, from the server: envoy, i am sure it must reach waypoint. But unfortunately waypoint has no log

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

hzxuzhonghu commented 1 month ago

/assign @YaoZengzeng