hxcGit opened a new issue, #1010: URL: https://github.com/apache/apisix-ingress-controller/issues/1010
### Issue description I want to try ua-restriction plugin. I followed the guide(https://github.com/apache/apisix-ingress-controller/blob/master/docs/en/latest/deployments/minikube.md) and installed Ingress APISIX on Kind. And I followed ua-restriction's guide(https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/ua-restriction.md) to setup the plugin. But I got a "Connection refused" error. ### My steps 1. ``` kubectl create ns ingress-apisix helm install apisix apisix/apisix \ --set gateway.type=NodePort \ --set ingress-controller.enabled=true \ --namespace ingress-apisix \ --set ingress-controller.config.apisix.serviceNamespace=ingress-apisix ``` 2. ``` curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "uri": "/index.html", "upstream": { "type": "roundrobin", "nodes": { "127.0.0.1:1980": 1 } }, "plugins": { "ua-restriction": { "bypass_missing": true, "allowlist": [ "my-bot1", "(Baiduspider)/(\\d+)\\.(\\d+)" ], "denylist": [ "my-bot2", "(Twitterspider)/(\\d+)\\.(\\d+)" ] } } }' ``` ### other information   ### Environment - APISIX version:apisix:2.13.1-alpine;apisix-ingress-controller :apisix-ingress-controller:1.4.0 - Kubernetes version: v1.23.4 - OS version (uname -a): Linux ubuntu 5.15.0-27-generic amd64 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
