Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Envoy route timeout can't custom modifycation #1169

Closed
alvin-7 opened this issue Mar 17, 2023 · 9 comments
Closed

Envoy route timeout can't custom modifycation #1169

alvin-7 opened this issue Mar 17, 2023 · 9 comments
Labels
kind/enhancement New feature or request stale

Comments

@alvin-7
Copy link

alvin-7 commented Mar 17, 2023

Description:

My trouble:
The download time exceeds 15s and envoy gateway will tell me "network error"

It is my guess what Envoy has timeout default value is 15s, and mine application will download exceed 15s, so envoy gateway will tell me "network error"

envoy set timeout link

@alvin-7 alvin-7 added the kind/enhancement New feature or request label Mar 17, 2023
@Xunzhuo
Copy link
Member

Xunzhuo commented Mar 17, 2023

Can you provide more details? I do not quite understand your point.

For a better look, plz provide steps you did and logs you had, also your environment etc.

@alvin-7
Copy link
Author

alvin-7 commented Mar 17, 2023

ok, I use envoy gateway in k8s, then I set HTTPRoute to my application service.

Using the Envoy gateway program and HTTP protocol, I attempted to download a file from my backend. However, after 15 seconds, the Envoy gateway interrupted the HTTP request even though the download was not yet complete. When I accessed and downloaded the file directly using port-forwarding, the file was downloaded completely.

@alvin-7
Copy link
Author

alvin-7 commented Mar 17, 2023

Can you provide more details? I do not quite understand your point.

For a better look, plz provide steps you did and logs you had, also your environment etc.

Envoy gateway version: 0.2.0
Here is my configuration file:

apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
  name: envoy-gateway
  namespace: envoy-gateway-system
spec:
  controllerName: gateway.envoyproxy.io/gatewayclass-controller
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: inner-gateway
  namespace: envoy-gateway-system
spec:
  gatewayClassName: envoy-gateway
  listeners:
    - name: http
      protocol: HTTP
      port: 80
      allowedRoutes:
        namespaces:
          from: "All"
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: route-app
  namespace: app
spec:
  parentRefs:
    - name: inner-gateway
      namespace: envoy-gateway-system
  rules:
    - backendRefs:
        - group: ""
          kind: Service
          name: app
          port: 80
          weight: 100
      matches:
        - path:
            type: PathPrefix
            value: /

@alvin-7
Copy link
Author

alvin-7 commented Mar 17, 2023 via email

@arkodg
Copy link
Contributor

arkodg commented Mar 17, 2023

thanks for raising this issue @alvin-7 . This upstream issue kubernetes-sigs/gateway-api#1742 is tracking this work and once exposed as an API, we will implement it in the project.
We might expose an envoy API earlier (referring to #24) to reduce the feature pressure on the project, but have not actively started to work on it

@qicz
Copy link
Member

qicz commented Mar 17, 2023

the route-action default timeout is 15s. should we provide the custom setting for this?

@alvin-7
Copy link
Author

alvin-7 commented Mar 17, 2023

thanks for raising this issue @alvin-7 . This upstream issue kubernetes-sigs/gateway-api#1742 is tracking this work and once exposed as an API, we will implement it in the project.
We might expose an envoy API earlier (referring to #24) to reduce the feature pressure on the project, but have not actively started to work on it

Get, thanks for your answer.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

@arkodg
Copy link
Contributor

arkodg commented Sep 15, 2023

closing in favor of #877

@arkodg arkodg closed this as completed Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

4 participants