envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.79k stars 4.76k forks source link

rpc error: code = ResourceExhausted desc = grpc: received message larger than max (1684107380 vs. 4194304) #32100

Closed penghuazhou closed 6 months ago

penghuazhou commented 8 months ago

when use lua filter to reject grpc request, gprc client have error occured "grpc Server closed the stream without sending trailers", why ?

-- envoy.onRequest(function(request_handle))
function filter:func_req(request_handle)
    local headers = {[":status"] = 200}
    headers["grpc-status"] = 14
    headers["content-type"] = "application/grpc"
    request_handle:respond(headers, "")
    return
end
alyssawilk commented 7 months ago

cc @mattklein123 @wbpcode

wbpcode commented 7 months ago

could you paste your complete debug log here? Thanks.

github-actions[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.