Coder Social home page Coder Social logo

Timeouts? about traefik-forward-auth HOT 4 CLOSED

thomseddon avatar thomseddon commented on May 20, 2024
Timeouts?

from traefik-forward-auth.

Comments (4)

thomseddon avatar thomseddon commented on May 20, 2024

Are you seeing a log when the request is received?

What provider are you using?

from traefik-forward-auth.

mdbraber avatar mdbraber commented on May 20, 2024

@thomseddon thanks for taking the time to respond! No I'm not seeing no request in the logs at the moment it's timing out. At the same time (doing a simultaneous ping) the host is still reachable, so from the first idea it won't seem like core network issues.

If I'm correct a request to a Traefik backend with traefik-forward-auth follows the following path (presuming a valid cookie is set already). My traefik-forward-auth container name is 'auth-trusted'.

  1. connect to Traefik IP with SNI target.example.com
  2. redirect to internal traefik.frontend.auth.forward.address=http://auth-trusted:4181
  3. validate the cookie and redirect to Traefik IP with SNI target example.com
  4. Traefik redirects the request to the hostname:port defined for target.example.com

Is that correct? I'm trying to see where in this path there might be something going wrong...

from traefik-forward-auth.

mdbraber avatar mdbraber commented on May 20, 2024

This can be closed - the source of the problem was assymetric routing causing packets not to arrive at the right destination.

from traefik-forward-auth.

shaggykp avatar shaggykp commented on May 20, 2024

Hi,

I have Traefik configured behind MetalLB and I'm experiencing timeouts as well on my HTTP and TCP connections. Would you mind going into more detail about how you determined that you were getting assymetric routing with packets not arriving at the intended destination? Perhaps it may shed some light on the issue we are seeing.

Thanks in advance,
Kavita

from traefik-forward-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.