Skip to content

[Bug] apm-spring-cloud-gateway-plugin, trace log loss when the request time out. #9061

@wuwen5

Description

@wuwen5

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

Java Agent (apache/skywalking-java)

What happened

The gateway trace log was lost when the request timed out

04C449E8-D524-40E0-90EE-50343180B477

What you expected to happen

expected
4A5A6623-BF95-4957-B48E-0FA8B178AFC7

How to reproduce

spring:
  cloud:
    gateway:
      httpclient:
        connect-timeout: 2000
      routes:
      - id: provider_route
        uri: http://1.2.3.4:18070
        predicates:
        - Path=/provider/timeout/*

curl 'http://localhost:8080/provider/timeout/testcase'

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working and you are sure it's a bug!javaJava agent relatedpluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions