系统未知异常:org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens; nested exception is com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens at [Source: (PushbackInputStream); line: 1, column: 2]
feign的gzip压缩配置改为false,就可以了。
上面的错误是因为fegin开启了gzip的压缩功能,但接口并没有设置gzip数据处理导致的。
可以看看这篇文章https://blog.csdn.net/lansefeiyang_lonson/article/details/117128200