You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/12 08:04:24 UTC
[GitHub] [apisix] wjh549628 opened a new issue #2048: request help: unsupported subsystem: stream
wjh549628 opened a new issue #2048:
URL: https://github.com/apache/apisix/issues/2048
### Issue description
1 conf/config.yaml apisix.config_center use yaml
![image](https://user-images.githubusercontent.com/37922630/89990392-e73d4e00-dcb4-11ea-937c-b7dce7bf55e1.png)
2 conf/config.yaml stream_proxy enable
![image](https://user-images.githubusercontent.com/37922630/89990604-32576100-dcb5-11ea-8459-ca6438d516db.png)
3 apisix.yaml
`routes:
- uri: /*
upstream:
nodes:
"0.0.0.1:80": 1
type: roundrobin
stream_routes:
- server_addr: 127.0.0.1
server_port: 9100
upstream:
nodes:
"127.0.0.1:9401": 1
type: roundrobin
plugins:
stream-plugin-wjh: {}
#END
`
4 sudo make init & sudo make run
`mkdir -p logs
mkdir -p /tmp/apisix_cores/
/usr/local/bin/openresty -p $PWD/ -c $PWD/conf/nginx.conf
nginx: [error] init_by_lua error: /usr/local/Cellar/openresty/1.15.8.1/lualib/ngx/process.lua:5: unsupported subsystem: stream
stack traceback:
[C]: in function 'error'
...cal/Cellar/openresty/1.15.8.1/lualib/resty/core/base.lua:222: in function 'allows_subsystem'
/usr/local/Cellar/openresty/1.15.8.1/lualib/ngx/process.lua:5: in main chunk
[C]: in function 'require'
.../code-draft/incubator-apisix/apisix/core/config_yaml.lua:21: in main chunk
[C]: in function 'require'
...rs/weijunhui/code-draft/incubator-apisix/apisix/core.lua:27: in main chunk
[C]: in function 'require'
...rs/weijunhui/code-draft/incubator-apisix/apisix/init.lua:18: in main chunk
[C]: in function 'require'
init_by_lua:3: in main chunk
make: *** [run] Error 1`
### Environment
* apisix version (cmd: `apisix version`):v1.4
* OS:MACOS
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] membphis commented on issue #2048: request help: unsupported subsystem: stream
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2048:
URL: https://github.com/apache/apisix/issues/2048#issuecomment-672981127
welcome PR for supporting `stream` when enabled standalone model.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #2048: request help: unsupported subsystem: stream
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2048:
URL: https://github.com/apache/apisix/issues/2048
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org