dianping / cat

CAT 作为服务端项目基础组件,提供了 Java, C/C++, Node.js, Python, Go 等多语言客户端,已经在美团点评的基础架构中间件框架(MVC框架,RPC框架,数据库框架,缓存框架等,消息队列,配置系统等)深度集成,为美团点评各业务线提供系统丰富的性能指标、健康状况、实时告警等。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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