Skip to content

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

@hzxuzhonghu

Description

@hzxuzhonghu

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:

  • Kmesh version: latest
  • Others:

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions