You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "NNicoletti (via GitHub)" <gi...@apache.org> on 2023/06/26 19:09:55 UTC

[GitHub] [apisix] NNicoletti opened a new issue, #9728: help request: mqtt-proxy not showing up during K8s helm chart install

NNicoletti opened a new issue, #9728:
URL: https://github.com/apache/apisix/issues/9728

   ### Description
   
   Using helm chart 1.4.0 to install apisix 3.3.0 in decoupled mode.
   
   When trying to test out MQTT stuff I attempted to install the `mqtt-proxy` plugin. I've put it in both `stream_plugins` and `plugins` and nothing works. I didn't expect putting it into plugins to work, but it was worth a shot (it installs, but can't find files. Expected).
   
   When in `stream_plugins` it successfully reads that it exists in the logs with `12023/06/26 17:15:07 [warn] 49#49: *2 [lua] plugin.lua:252: load_stream(): new plugins: {"mqtt-proxy":true}, context: init_worker_by_lua*` however when I do a request to get all plugins with `curl [CLUSTER_IP]:9180/apisix/admin/plugins/list -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'` and it's not in the returned response:
   
   ```
   ["real-ip","request-id","zipkin","ext-plugin-pre-req","fault-injection","serverless-pre-function","batch-requests","cors","ip-restriction","ua-restriction","referer-restriction","uri-blocker","request-validation","openid-connect","authz-casbin","wolf-rbac","hmac-auth","basic-auth","jwt-auth","key-auth","consumer-restriction","authz-keycloak","proxy-cache","proxy-mirror","proxy-rewrite","api-breaker","limit-conn","limit-count","limit-req","node-status","gzip","server-info","traffic-split","redirect","response-rewrite","grpc-transcode","grpc-web","prometheus","echo","http-logger","sls-logger","tcp-logger","kafka-logger","syslog","udp-logger","file-logger","serverless-post-function","ext-plugin-post-req"]
   ```
   
   Relevant parts of configs:
   
   Control Plane config.yaml:
   ```
   ...
       apisix:    # universal configurations
         enable_heartbeat: true
         enable_admin: true
   
   ...
       stream_plugins:
         - mqtt-proxy
       plugin_attr:
   ...
   ```
   
   I have the same thing in the data plane but without enable admin (I wasn't sure where plugins were needed, so I kept them the same to simplify figuring it out - I don't believe it effects anything since admin api isn't even enabled on the data plane side).
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.3.0
   - Operating system (run `uname -a`): x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.21.4.1
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.5.0
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] NNicoletti commented on issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install

Posted by "NNicoletti (via GitHub)" <gi...@apache.org>.
NNicoletti commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-1609880410

   > > are stream_routes and stream_plugins only available through the Admin API or can they be created/used via the dashboard?
   > 
   > The dashboard should work as well. Just so you know, it is not maintained anymore.
   
   How do you create a stream route in dashboard? Just set upstream to TCP?
   
   So the dashboard isn't going to be officially updated anymore?
   
   > That said, please try using the mqtt proxy plugin to confirm if it has actually loaded.
   
   Let me try and create a stream_route with `mqtt-proxy` and see if it works.
   
   Thank you for your patience and answering all of my questions, I really appreciate it.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Revolyssup commented on issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install

Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-1608843075

   @NNicoletti `apisix/admin/plugins/list ` doesn't show stream_plugins and only shows plugins.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] shreemaan-abhishek commented on issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-1608753816

   >  I've put it in both stream_plugins and plugins and nothing works.
   
   Could you please describe how you did that? (I wanted to make sure if you did that correctly.)


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] NNicoletti commented on issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install

Posted by "NNicoletti (via GitHub)" <gi...@apache.org>.
NNicoletti commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-1609580645

   @shreemaan-abhishek I meant I tried a deployment with `mqtt-proxy` in the regular plugin list as well as a deployment with it in the stream plugin list and have been unable to access it.
   
   @Revolyssup That's what I was thinking. Is there an api call to show stream plugins? This also leads to another question: are stream_routes and stream_plugins only available through the Admin API or can they be created/used via the dashboard? When manually putting in `mqtt-proxy` on a route using the dashboard (using the raw data editor) I can't submit as the dashboard can't find the `mqtt-proxy` plugin.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: mqtt-proxy not showing up during K8s helm chart install [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-2333718117

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: mqtt-proxy not showing up during K8s helm chart install [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-2304276535

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: mqtt-proxy not showing up during K8s helm chart install [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install
URL: https://github.com/apache/apisix/issues/9728


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] shreemaan-abhishek commented on issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-1609873738

   > Is there an api call to show stream plugins?
   
   Not yet.
   
   > are stream_routes and stream_plugins only available through the Admin API or can they be created/used via the dashboard?
   
   The dashboard should work as well. Just so you know, it is not maintained anymore.
   
   That said, please try using the mqtt proxy plugin to confirm if it has actually loaded.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] shreemaan-abhishek commented on issue #9728: help request: mqtt-proxy not showing up during K8s helm chart install

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9728:
URL: https://github.com/apache/apisix/issues/9728#issuecomment-1709551932

   @NNicoletti, did it work?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org