c5d064e295a3b60512f19c830e2b26107532a89f
\345\270\270\350\247\201\351\227\256\351\242\230/\346\226\207\344\273\266\345\257\274\345\207\272\345\217\230\346\210\220xls\345\271\266\344\270\224\345\206\205\345\256\271\346\230\257\344\270\200\344\270\252json.md
... | ... | @@ -10,4 +10,12 @@ |
10 | 10 | 检查 sidecar 的配置文件是否加上了 |
11 | 11 | app.dapr.grpc = true |
12 | 12 | |
13 | -这个开关导致边车转发的时候使用了 gRPC,而不是 HTTP。导致文件导出异常。去掉这个配置即可 |
|
... | ... | \ No newline at end of file |
0 | +这个开关导致边车转发的时候使用了 gRPC,而不是 HTTP。导致文件导出异常。去掉这个配置即可 |
|
1 | + |
|
2 | +问题现象: |
|
3 | +接口报500,元模型异常,只有边车有错误信息 |
|
4 | +RROR:Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is io.dapr.exceptions.DaprException: ERR_DIRECT_INVOKE: fail to invoke, id: smi-app, err: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (6382085 vs. 4194304)] with root cause |
|
5 | +io.dapr.exceptions.DaprException: ERR_DIRECT_INVOKE: fail to invoke, id: smi-app, err: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (6382085 vs. 4194304) |
|
6 | + at io.dapr.client.DaprHttp$ResponseFutureCallback.onResponse(DaprHttp.java:385) |
|
7 | + |
|
8 | +原因是 边车报错了数据量太大了,开启了 grpc, grpc 压缩的错误,去掉这个配置即可 |
|
... | ... | \ No newline at end of file |