Rustixir opened a new issue, #10838:
URL: https://github.com/apache/apisix/issues/10838
### Current Behavior
hi, I wanted used apisix, but after I created route and set gPRC protocol
for communicate with upstream,
I test that route with postman raise error:
2024/01/17 12:30:03 [error] 50#50: *158580 upstream sent too large http2
frame: 4740180 while reading response header from upstream, client: 172.10.0.1,
server: _, request: "POST /ping HTTP/1.0", upstream: "grpc://172.10.0.3:9081",
host: "aaa.com"
after I searched about that , I found some article about is nginx problem
and with increasing ( proxy_buffer_size ) be fix, but this solution isn't work
for me.
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
apisix docker image ~> apache/apisix:3.7.0-debian
this is my route config ( apisix-dashboard format ) :
>
{
"uri": "/ping",
"name": "/vouchers/otp",
"methods": [
"POST"
],
"plugins": {
"grpc-transcode": {
"_meta": {
"disable": true
},
"method": "/scms_api.VoucherService/Otp",
"proto_id": "voucher",
"service": "scms"
}
},
"upstream": {
"nodes": [
{
"host": "scms",
"port": 9081,
"weight": 1
}
],
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "grpc",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"status": 1
}
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]