Skip to content

MWI: tbot's application-tunnel service doesn't work as expected behind L7 load balancers #62074

@timothyb89

Description

@timothyb89

Expected behavior:

Application tunnels should work properly if Teleport is run behind an L7 load balancer, such as an AWS ALB.

Current behavior:

Running a plain app tunnel when Teleport is behind an L7 LB (specifically, an AWS ALB) starts as expected:

$ tsh start application-tunnel ... 

...but all requests to the the resulting application return the Teleport login page, indicating mTLS credentials were not passed back to Teleport as expected.

The bot itself is able to authenticate properly and performs necessary connection upgrades to establish a connection to the auth service. Only app tunnels don't work - though other resource proxy types may also be broken.

Bug details:

  • Teleport version: tbot v18.3.2
  • Recreation steps
  • Debug logs

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions