Spring Cloud provider "Error parsing HTTP request Header", feign end "Read timed out"

Source: Internet
Author: User

These two days in debugging Spring Cloud Feign+hystrix reported the following error:

Spring Cloud provider "Error parsing HTTP request Header", feign end "Read timed out"


Provider error message:

2018- .- -  -: at:Wuyi,595[http-nio-8086-exec-5] DEBUG Org.apache.coyote.http11.Http11Processor:182-Error parsing HTTP request Headerjava.io.EOFException:NULLAt Org.apache.tomcat.util.net.nioendpoint$niosocketwrapper.fillreadbuffer (Nioendpoint.java:1250) at Org.apache.tomcat.util.net.nioendpoint$niosocketwrapper.read (Nioendpoint.java:1190) at Org.apache.coyote.http11.Http11InputBuffer.fill (Http11inputbuffer.java:717) at Org.apache.coyote.http11.Http11InputBuffer.parseRequestLine (Http11inputbuffer.java:366) at Org.apache.coyote.http11.Http11Processor.service (Http11processor.java:687)

Feign error message:

inch " pool-10-thread-14 "

The configuration for provider error message needs to be modified as follows:

Server:   8087   Tomcat:      Max3145728    --here

The configuration for the error message on the feign side needs to be adjusted as follows:

Feign:  client:    default:      #这里时间一定要调长, otherwise feign clients will report readtimeout  Service report error parsing HTTP request Header      60000       60000 loggerlevel:basic      

Spring Cloud provider "Error parsing HTTP request Header", feign end "Read timed out"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.