开发者社区 > 云原生 > 微服务 > 正文

在Higress中,是不是不支持?

在Higress中,java后端有个文件流,我发现用higress死活就不行,nginx-ingress就可以没有啥特殊的配置。就一个文件流。前端对接后端直接下载xlsx。是不是不支持?USER : {"authority":"api.xxx.cn","bytes_received":"174","bytes_sent":"87","downstream_local_address":"10.1.2.18:443","downstream_remote_address":"x.x.x.x:64730","duration":"150","istio_policy_status":"-","method":"POST","path":"/report/rms/exportReport/exportReport03","protocol":"HTTP/2","request_id":"0cf20e89-1006-917e-9069-05e98f0a6938","requested_server_name":"api.xxx.cn","response_code":"502","response_flags":"UPE","route_name":"dj-gateway","start_time":"2024-08-20T07:01:29.085Z","trace_id":"e3d446c511f4c2b220d42550de262990","upstream_cluster":"outbound|9000||dj-gateway-svc.bayi-prod.svc.cluster.local","upstream_host":"10.1.2.31:9000","upstream_local_address":"10.1.2.18:57754","upstream_service_time":"-","upstream_transport_failure_reason":"-","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","x_forwarded_for":"106.14.166.50"}

展开
收起
我睡觉不困 2024-08-26 16:44:56 39 0
1 条回答
写回答
取消 提交回答
  • response flag UPE 是 upstream protocol error,envoy对RFC的遵循比nginx严格,比如后端传了多个 transfer encoding 头,就会判定协议错误,具体要看看你后端返回的header。此回答整理自钉群"Higress 社区交流 2 群"

    2024-08-27 10:03:46
    赞同 2 展开评论 打赏

为微服务建设降本增效,为微服务落地保驾护航。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载