0

我正在尝试使用授权标头设置监控(http-ecv),但出现非法字符或标头折叠错误(jetty 9.3)

1. 例子

获取 /somepath/somepage.html HTTP/1.1

服务器运行

\r\n授权: 基本 somestring=\r\n

响应“HTTP1.1 400 非法字符 SPACE=''\r\n”

2. 例子

获取 /somepath/somepage.html

服务器运行

HTTP/1.1\r\n授权:基本 somestring=\r\n

响应 HTTP/1.1 400 非法字符 VCHAR='/'\r\n

此示例适用于较旧的码头版本

3.例子

获取 /somepath/somepage.html

服务器运行

\r\nHTTP/1.1\r\n授权:基本 somestring=\r\n

响应 HTTP1.1 400 标头折叠\r\n

有任何想法吗?

4

1 回答 1

0

尝试文章https://support.citrix.com/article/CTX117142上的解决方案

编辑以添加更多上下文:本文描述了如何为请求使用用户名和密码进行基本身份验证的后端服务器创建监视器。

总结:

add lb monitor test_login_tcp TCP-ECV -send "GET / HTTP/1.1\r\nAuthorization: Basic YOURBASE64USERPW\r\nHost: IP_or_FQDN\r\n\r\n" -recv 200 -LRTM ENABLED
于 2020-04-22T13:05:36.040 回答