解决:Invalid character found in method name. HTTP method names must be tokens

时间:2025-05-12 09:42:29
date:2018/10/16 19:33:39    priority:INFO     sessionid:    userid:    message:Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
: Invalid character found in method name. HTTP method names must be tokens
    at .http11.(:462)
    at .http11.(:994)
    at (:66)
    at $(:785)
    at $(:1425)
    at (:49)
    at (Unknown Source)
    at $(Unknown Source)
    at $(:61)
    at (Unknown Source)
date:2018/10/16 19:33:39    priority:INFO     sessionid:    userid:    message:Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
: Invalid character found in method name. HTTP method names must be tokens
    at .http11.(:462)
    at .http11.(:994)
    at (:66)
    at $(:785)
    at $(:1425)
    at (:49)
    at (Unknown Source)
    at $(Unknown Source)
    at $(:61)
    at (Unknown Source)
1、将https换成http即可,遇到了两次,在集成swagger2的时候网上说https就拷贝过来了。