Skip to content

Problems enabling a stream route #11696

Answered by dosubot bot
zarconike asked this question in Q&A
Discussion options

You must be logged in to vote

To resolve the "stream mode is disabled, can not add stream routes" error in APISIX 3.10.0, ensure that you have set apisix.proxy_mode to stream or http&stream in your config.yaml. Here's an example configuration:

apisix:
  proxy_mode: http&stream  # or 'stream' if you only want stream proxy
  stream_proxy:
    tcp:
      - addr: 1935
        allow: all
        deny: 0.0.0.0/0
    udp:
      - 9200

Make sure both proxy_mode and stream_proxy are correctly configured. This should enable stream routes and resolve the error [1].

To continue talking to Dosu, mention @dosu.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zarconike
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant