Code Monkey home page Code Monkey logo

Comments (9)

pitabwire avatar pitabwire commented on June 12, 2024 1

@arkodg @zetaab with the fix it now works very well. Thank you for fixing this The number of files touched though seems to be on the very high side.

from gateway.

zetaab avatar zetaab commented on June 12, 2024

@arkodg ideas how this can be configured? I am thinking that can be this enabled by default? Is it wrong to configure it everywhere by default https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/upgrades

if cannot be enabled by default, which is the correct place to configure that? BackendTrafficPolicy?

from gateway.

arkodg avatar arkodg commented on June 12, 2024

@zetaab we do enable web socket upgrades by default

only when the routes attached are HTTPRoute, if there is a GRPCRoute attached to the same listener, we dont (that enables the listener.IsHTTP2 field)

from gateway.

arkodg avatar arkodg commented on June 12, 2024

@pitabwire do you have a GRPCRoute attached to the same listener 😄 ?

from gateway.

pitabwire avatar pitabwire commented on June 12, 2024

Yes @arkodg I have Grpc routes in there. Indeed removing them the websocket service works now. We however need them utilizing the same listener can they be made to coexist?

from gateway.

arkodg avatar arkodg commented on June 12, 2024

afaik upgrades are not allowed for gRPC, but since the filter chain is the same (since the hostname is same as well as port), there is no way to disallow for gRPC traffic, but allow for http/1.1 afaik

from gateway.

arkodg avatar arkodg commented on June 12, 2024

nvm, this is fixable, by moving the websocket upgrade config from hcm to route
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-routeaction

from gateway.

arkodg avatar arkodg commented on June 12, 2024

thanks for fixing the issue @zetaab !
@pitabwire can you confirm that the issue is fixed ?

from gateway.

arkodg avatar arkodg commented on June 12, 2024

@arkodg @zetaab with the fix it now works very well. Thank you for fixing this The number of files touched though seems to be on the very high side.

yeah, they are testdata files

from gateway.

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.