Skip to content
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

路由转发异常【PROXY】 #118

Closed
1 task
LordofAvernus opened this issue Dec 27, 2023 · 0 comments
Closed
1 task

路由转发异常【PROXY】 #118

LordofAvernus opened this issue Dec 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working publish-pre4 sqle 和sqle相关
Milestone

Comments

@LordofAvernus
Copy link
Collaborator

LordofAvernus commented Dec 27, 2023

背景:

页面触发需要转发的接口时,会出现接口报错,返回静态页面

例如

点了工单列表页面,本来应该是dms转发到sqle,然后展示出工单列表信息,
但是实际抛出了一堆静态页面接口报错。 解决方式是清理掉浏览器缓存
img_v3_0289_148202b7-d3c1-4831-a98a-b784bc05980g

复现场景

一. 全新环境下,单独启动dms
二. 浏览器页面访问sqle相关功能(例如 sql审核)
由于sqle组件未启动,所以dms无法实现接口转发,所以返回默认html信息
三. 启动sqle后,重新访问sqle相关功能
由于步骤二返回的是html界面,所以浏览器使用了disk cache的信息返回,页面仍然报错

修复方案

内部路由(prov/sqle..)缺失会返回Not found错误

后续优化

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working publish-pre4 sqle 和sqle相关
Projects
None yet
Development

No branches or pull requests

3 participants