https://bz.apache.org/bugzilla/show_bug.cgi?id=69228

            Bug ID: 69228
           Summary: Tomcat occasionally return 404 html page
           Product: Tomcat 9
           Version: 9.0.89
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: gp00142...@aliyun.com
  Target Milestone: -----

Recently, to fix CVE vulnerabilities, I upgraded Tomcat from version 9.0.69 to
9.0.89. However, I noticed that occasionally, a few requests return a 404 HTML
page. When I rolled back to version 9.0.69, the issue no longer occurred.

Unfortunately, It's not easy to reproduce and I can't find the reproduce steps.

I record the stack of server side when the 404 problem occured, please see the
attachments.

Here is the log of feign client:

Caused by: feign.FeignException$NotFound: [404] during [GET] to [
http://UC/inner/user-by-id?id=73887230]
[UCClient#getUserById(String)]: [<!doctype html><html
lang="en"><head><title>HTTP Status 404 – Not Found</title><style
type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b
{color:white;background-color:#525D76;} ... (431 bytes)]
        at feign.FeignException.clientErrorStatus(FeignException.java:201)
        at feign.FeignException.errorStatus(FeignException.java:177)
        at feign.FeignException.errorStatus(FeignException.java:169)
        at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92)
        at
feign.AsyncResponseHandler.handleResponse(AsyncResponseHandler.java:96)
        at
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
        at
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:89)
        at
feign.hystrix.HystrixInvocationHandler$1.run(HystrixInvocationHandler.java:109)
        at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:302)
        at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:298)
        at
rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)
        ... 27 common frames omitted

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to