Skip to content

[Bug] clickhouse query failed when client enhance by skywalking-agent #13700

@Echo-C-Yi

Description

@Echo-C-Yi

Search before asking

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

Apache SkyWalking Component

Java Agent (apache/skywalking-java)

What happened

When use clickhouse-jdbc query clickhouse data with skywalking-java 9.4.0 by http 8123 port occur error clickhouse unknownException 1002

Clickhouse-server occur 400 bad request exception.

What you expected to happen

Normal query.

How to reproduce

Query clickhouse with skywalking-java agent by http .

Anything else

The problem is because skywalking-java agent will set few header in http request.
But clickhouse may check those header hardly then throw 400 error.
I set the environment config : SW_EXCLUDE_PLUGINS=httpclient-4.x then this problem fixed.
So will you check and fix this bug?

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions