postman报Error: write EPROTO 140600974724440:error:100000f7:SSL routines:OPENSSL_internal解决方法

avatar
作者
筋斗云
阅读量:3

后台显示

Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.  java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x000xf70x010x000x000xf30x030x035Y0xc7uY0x820x98F0xdcQ70xe29"0xf90x8e0xa1^/0xa8h0x910x140xbc0xaf0x9f0xe20xd3&0xc0%j ]. HTTP method names must be tokens

postman中显示

Error: write EPROTO 66976008:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../../../src/third_party/boringssl/src/ssl/tls_record.cc:242:  ▶Request Headers  User-Agent: PostmanRuntime/7.32.3  Accept: */*  Cache-Control: no-cache  Postman-Token: 37df04c7-9f8c-446b-842e-9e98dbb130fc  Host: localhost:8080  Accept-Encoding: gzip, deflate, br  Connection: keep-alive

解决方法:

将https改为http即可。

原因:

调本地的服务不用走证书认证,所以用http。

广告一刻

为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!