-
Hello, I installed APISIX version 3.10.0 with Helm. When I try to create a stream_routes (according to the documentation https://apisix.apache.org/docs/apisix/next/stream-proxy/), I get the following message: "error_msg": "stream mode is disabled, can not add stream routes." I've completed all the configuration correctly according to the documentation, but it's still not working. I have already added the following to config.yaml: stream_proxy: # TCP/UDP proxy And it still doesn’t work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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: 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 |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. Your recommendation worked for me. "proxy_mode: http&stream" |
Beta Was this translation helpful? Give feedback.
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
tostream
orhttp&stream
in yourconfig.yaml
. Here's an example configuration:Make sure both
proxy_mode
andstream_proxy
are correctly configured. This should enable stream routes and resolve the error [1].To continue talking to Dosu, mention @dosu.