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

[建议] 添加站点是检测上游服务器的网络是否联通功能 #348

Open
feifei8688 opened this issue Sep 28, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@feifei8688
Copy link

背景与遇到的问题

添加站点的场景下,有上游服务器的端口,有被防火墙拦截,或填写错误的的情况

建议的解决方案

建议增加,添加上游服务器的时候,增加检测的功能。

@feifei8688
Copy link
Author

添加标题

@feifei8688 feifei8688 changed the title [建议] [建议] 添加站点是检测上游服务器的网络是否联通功能 Sep 28, 2023
@Lorna0
Copy link
Collaborator

Lorna0 commented Oct 10, 2023

站点到上游 “无法连通” 的情况有点多,例如:端口拒绝链接,端口超时,http 拒绝访问,http 连接超时,http 404 500 等状态码错误,http 响应内容错误。

另外,网站业务的一些特殊性也让雷池难以判断联通情况:

  • 上游返回 302 的时候,有些情况是正常的,就是期望 302 跳转;有些情况是异常的,是配置有问题
  • 上游可能要求请求带上一些特殊的 header, 网站用户实际访问的时候是正常的。但是雷池不知道这些配置,直接去测试会被拒绝,做到产品上就会导致误报

暂时没想到怎样能方便可靠地自动判断。

@Lorna0 Lorna0 added the enhancement New feature or request label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants