Skip to content

bug: lua_shared_dict "consul" not configured when using proxy_mode: "http&stream" in APISIX 3.16.0 #13287

@theytc1007

Description

@theytc1007

Current Behavior

When proxy_mode is set to "http&stream" in config.yaml, APISIX 3.16.0 fails to start with the following error:

Image

my config file:

Image

Expected Behavior

No response

Error Logs

Image

Steps to Reproduce

1.Set the following in config.yaml:

apisix:
  proxy_mode: "http&stream"
  stream_proxy:
    tcp:
      - addr: 9100
        tls: true

discovery:
  consul:
    servers:
      - "http://127.0.0.1:8500"
    weight: 1
    keepalive: false
    fetch_interval: 30

2.Start APISIX — it fails with lua_shared_dict "consul" not configured

Environment

APISIX version: 3.16.0
Deployment: Kubernetes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions