Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred in the apisix log when using the tencent-cloud-cls plugin in dashboard #2968

Open
hyf-github-user opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hyf-github-user
Copy link

Issue description

When I configured a cls plugin on the dashboard and then accessed the gateway, Tencent's cls could not appear in the access log.

Expected behavior

There should be a log of tencent-cloud-cls recorded in apisix in tencent's cls console

How to Reproduce

  1. add tencent-cloud-cls plugin in apisix-dashboard use following parameter:
    {
      "_meta": {
        "disable": false
      },
      "cls_host": "ap-shanghai.cls.tencentcs.com",
      "cls_topic": "a0ad680a-7e3b-4bd9-a8c5-5bc6244ebd58",
      "global_tag": {
        "module": "cls-logger",
        "server_name": "YourApiGateWay"
      },
      "include_req_body": true,
      "include_resp_body": true,
      "secret_id": "AKIDofJk******",
      "secret_key": "eCZqy4GR0******"
    }
  2. Gateway service port for accessing apisix

Screenshots

image

Environment

  • apisix version (cmd: apisix version): 3.10.0
  • OS (cmd: uname -a): Darwin H-Codes-MacBook-Pro.local 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103 arm64
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run etcd --version): 3.4.0
  • apisix-dashboard version, if have: 3.0.1
  • Browser version, if have:

Additional context

No response

@hyf-github-user hyf-github-user added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant