You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/29 01:13:18 UTC
[I] fix(web): route docs and SSE at the Nginx edge [rocketmq-dashboard]
yuluo-yx opened a new issue, #2731:
URL: https://github.com/apache/rocketmq-dashboard/issues/2731
## Problem
Nginx sends `/api-docs`, `/api-docs/`, `/swagger-ui.html`, and `/swagger-ui/` through the SPA fallback instead of Spring Boot. The AI SSE endpoint also inherits normal proxy buffering and a read timeout shorter than its provider execution window.
## Expected behavior
Proxy documentation routes explicitly and configure buffering/timeout only for `/api/ai/chat`, leaving normal API behavior unchanged.
## Proposed scope
Add exact/prefix Nginx locations and a static contract test that enforces path routing and SSE-only directives.
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] fix(web): route docs and SSE at the Nginx edge [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #2731: fix(web): route docs and SSE at the Nginx edge
URL: https://github.com/apache/rocketmq-dashboard/issues/2731
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] fix(web): route docs and SSE at the Nginx edge [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2731:
URL: https://github.com/apache/rocketmq-dashboard/issues/2731#issuecomment-5459693986
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The Nginx configuration incorrectly routes documentation paths (`/api-docs`, `/swagger-ui.html`) through the SPA fallback instead of proxying to Spring Boot. Additionally, the AI SSE endpoint inherits inappropriate proxy buffering and a read timeout that is too short for provider execution.
**Root Cause:** Missing explicit Nginx location blocks for documentation routes; SSE endpoint lacks per-location `proxy_buffering off` and adequate `proxy_read_timeout`
**Impact:** API documentation inaccessible; AI chat SSE stream may be truncated or timeout prematurely
**Severity:** medium
The proposed fix with exact/prefix Nginx locations and a static contract test is a sound approach.
---
*Automated evaluation by github-manager-bot*
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] fix(web): route docs and SSE at the Nginx edge [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #2731:
URL: https://github.com/apache/rocketmq-dashboard/issues/2731#issuecomment-5506330274
Resolved by #2853 (merged into rocketmq-studio as 9f9246b7).
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org