Giter Site home page Giter Site logo

Comments (5)

MartinKosicky avatar MartinKosicky commented on June 10, 2024

Also by checking a similiar bug, this was discussed here dotnet/aspnetcore#14745 although the authors of the grpc dont consider it to be correct to send the :scheme that way and are not planning to ease validation. I am not sure when is the scheme build, but it would make sence to specify it somewhere in the Transformer (or have the ability to prepend https:// or http:// ) I

from linkerd.

adleong avatar adleong commented on June 10, 2024

Thanks, @MartinKosicky! Yes, I think you are correct that Linkerd should set the :scheme pseudoheader to http or https as appropriate when proxying the request rather than just forwarding the existing value.

from linkerd.

astryia avatar astryia commented on June 10, 2024

I'm experiencing exactly the same problem, the only difference is that client connecting to the Linkerd sidecar without TLS and then Linkerd setup secure connection to the remote service:

 Microsoft.AspNetCore.Server.Kestrel[35]
      Trace id "0HM40TS2KM45M:00000005": HTTP/2 stream error "PROTOCOL_ERROR". A Reset is being sent to the stream.
Microsoft.AspNetCore.Connections.ConnectionAbortedException: The request :scheme header 'http' does not match the transport scheme 'https'.

from linkerd.

cpretzer avatar cpretzer commented on June 10, 2024

@astryia thanks for the confirmation.

If you're interested in contributing a PR, we'd love to have a fix for this.

from linkerd.

ahmetb avatar ahmetb commented on June 10, 2024

I think this is dotnet/aspnetcore#30532

from linkerd.

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.