Skip to content

后端服务返回时间长,网关504 #2184

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

Open
xiaohui0318 opened this issue May 8, 2025 · 0 comments
Open

后端服务返回时间长,网关504 #2184

xiaohui0318 opened this issue May 8, 2025 · 0 comments

Comments

@xiaohui0318
Copy link

xiaohui0318 commented May 8, 2025

1. 报错请求信息截图

Image

Image

2. 版本信息

Image

3. 网关日志

{
  "ai_log": "-",
  "authority": "aihub-api.goertek.com:30080",
  "bytes_received": "23065317",
  "bytes_sent": "14",
  "downstream_local_address": "10.42.222.15:80",
  "downstream_remote_address": "10.42.149.1:11148",
  "duration": "453503",
  "istio_policy_status": "-",
  "method": "POST",
  "path": "/record/ppt-api/translate_ppt",
  "protocol": "HTTP/1.1",
  "request_id": "f0a859a5-cb32-4f57-b16b-10c7d6b96203",
  "requested_server_name": "-",
  "response_code": "504",
  "response_flags": "SI",
  "route_name": "record",
  "start_time": "2025-05-08T02:24:53.049Z",
  "trace_id": "-",
  "upstream_cluster": "outbound|80||record.static",
  "upstream_host": "10.11.32.14:6207",
  "upstream_local_address": "10.42.222.15:41172",
  "upstream_service_time": "-",
  "upstream_transport_failure_reason": "-",
  "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
  "x_forwarded_for": "10.42.149.1",
  "response_code_details": "stream_idle_timeout",
  "consumer": "-"
}

4. 背景描述

上传的为文件翻译功能,把一个大的ppt或pdf上传上去,等待服务器翻译完成后下载翻译后结果到本地;在后端任务忙的时候会有时间比较长的情况;这个3分钟设置是在哪设置的,怎么修改?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant