Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51540

Eventing debugger does not work with IPv6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • eventing
    • Enterprise Edition 7.1.0 build 2506
      Google chrome Version 99.0.4844.74
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      STEPS

      1. Create single node cluster running KV and eventing services.
      2. Enable debugger.
      3. Create and deploy eventing handler.
      4. Load 1 document into source bucket.

      OBSERVATION
      After opening the debugger link following error is displayed.

      ERROR

      2022-03-22T02:51:02.216-07:00 [Info] ServiceMgr::configHandler REST Call: /api/v1/config GET
      2022-03-22T02:51:02.218-07:00 [Info] ServiceMgr::getConfig Retrieving config from metakv: map[disable_curl:false enable_debugger:true ram_quota:256]
      2022-03-22T02:51:02.285-07:00 [Info] DCPT[eventing:dz0inPpb-5:eventing:dz0inPpb-4:4683911_s22404-ip6.qe.couchbase.com:11210_worker_abcd_0_s22404-ip6.qe.couchbase.com:8096/0] DCP-socket -> eventing blocked 571.149µs (0.011798%)
      2022-03-22T02:51:03.110-07:00 [Info] ServiceMgr::startDebugger REST Call: /startDebugger/ POST
      2022-03-22T02:51:03.114-07:00 [Info] ServiceMgr::getConfig Retrieving config from metakv: map[disable_curl:false enable_debugger:true ram_quota:256]
      2022-03-22T02:51:03.124-07:00 [Info] ServiceMgr::notifyDebuggerStart Function: src_bucket/_default/abcd notifying on debugger path /eventing/debugger/src_bucket/_default/abcd
      2022-03-22T02:51:03.127-07:00 [Info] SuperSupervisor::DebuggerCallback [3] path => /eventing/debugger/src_bucket/_default/abcd encoded value size => 0:3c:e7:c4:26:63:2e:d3
      2022-03-22T02:51:03.131-07:00 [Info] Consumer::acquireDebuggerTokenCallback [worker_src_bucket/_default/abcd_0:/tmp/[::1]:8091_0_3605510636.sock:115558] Debugger token acquired
      2022-03-22T02:51:03.131-07:00 [Info] Consumer::startDebuggerServer [worker_src_bucket/_default/abcd_0:/tmp/[::1]:8091_0_3605510636.sock:115558] Killing previously spawned debugger with PID 116167
      2022-03-22T02:51:03.133-07:00 [Info] SuperSupervisor::DebuggerCallback [3] path => /eventing/debugger/src_bucket/_default/abcd encoded value size =>
      2022-03-22T02:51:03.139-07:00 [Warn] debugClient::Spawn [worker_abcd_0:/tmp/debug_otYCZ1.sock:116167] Failed to read from stderr pipe, err: EOF
      2022-03-22T02:51:03.139-07:00 [Warn] debugClient::Spawn [worker_abcd_0:/tmp/debug_otYCZ1.sock:116167] Failed to read from stdout pipe, err: EOF
      2022-03-22T02:51:03.139-07:00 [Warn] debugClient::Spawn [worker_abcd_0:/tmp/debug_otYCZ1.sock:116167] Exiting c++ debug worker with error: signal: killed
      2022-03-22T02:51:03.141-07:00 [Error] SuperSupervisor::DebuggerCallback [3] value is nil
      2022-03-22T02:51:04.132-07:00 [Error] Consumer::startDebuggerServer [worker_src_bucket/_default/abcd_0:/tmp/[::1]:8091_0_3605510636.sock:115558] Failed to remove frontend.url file, err: remove /opt/couchbase/var/lib/couchbase/data/@eventing/b_src_bucket/s__default/abcd_frontend.url: no such file or directory
      

      Attachments

        Activity

          People

            sujay.gad Sujay Gad
            sujay.gad Sujay Gad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty