python 客户端启动链接服务端报错
czs397001 opened this issue · comments
- Got available server list:
<!doctype html><title>HTTP Status 400 – Bad Request</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>HTTP Status 400 – Bad Request
Type Exception Report
Message The HTTP header line [host 10.160.4.29] does not conform to RFC 7230. The request has been rejected.
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
Exception
java.lang.IllegalArgumentException: The HTTP header line [host 10.160.4.29] does not conform to RFC 7230. The request has been rejected.
org.
2024-04-09 15:30:32 [8062][[WARNING] ] CatRouter Json Parser Error before: [<!doctype html><title>HTTP Status 400 – Bad Request</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>HTTP Status 400 – Bad Request
Type Exception Report
Message The HTTP header line [host 10.160.4.29] does not conform to RFC 7230. The request has been rejected.
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
Exception
java.lang.IllegalArgumentException: The HTTP header line [host 10.160.4.29] does not conform to RFC 7230. The request has been rejec
2024-04-09 15:30:32 [8062][[DEBUG] ] Get router from server successfully
2024-04-09 15:30:32 [8062][[DEBUG] ] Trying connecting to the best server
2024-04-09 15:30:32 [8062][[INFO] ] Try connect to server 127.0.0.1:2280.
2024-04-09 15:30:32 [8062][[WARNING] ] Cannot connect to server 127.0.0.1:2280.
2024-04-09 15:30:32 [8062][[INFO] ] Try connect to server 127.0.0.1:2280.
2024-04-09 15:30:32 [8062][[WARNING] ] Cannot connect to server 127.0.0.1:2280.
2024-04-09 15:30:32 [8062][[INFO] ] Try connect to server 127.0.0.1:2280.
2024-04-09 15:30:32 [8062][[WARNING] ] Cannot connect to server 127.0.0.1:2280.
2024-04-09 15:30:32 [8062][[ERROR] ] Failed to initialize cat: Error occurred while getting router config from remote server.
2024-04-09 15:30:32 [8062][[INFO] ] Cat has been initialized with appkey: gksk-ai-platform-ocr-paddle