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 2019/11/25 08:21:11 UTC

[GitHub] [incubator-apisix] zhijianfree opened a new issue #899: bug: mqtt proxy plugin can not work

zhijianfree opened a new issue #899: bug: mqtt proxy plugin can not work
URL: https://github.com/apache/incubator-apisix/issues/899
 
 
   ### Issue description
   from document, i run this command to open mqtt proxy :
   `
   curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -X PUT -d '
   {
       "plugins": {
           "mqtt-proxy": {
               "protocol_name": "MQTT",
               "protocol_level": 4,
               "upstream": {
                   "ip": "127.0.0.1",
                   "port": 1883
               }
           }
       }
   }'
   `
   and then i got answer:
   `
     {"node":{"value":{"plugins":{"mqtt-proxy":{"protocol_level":4,"upstream":{"ip":"127.0.0.1","port":1883},"protocol_name":"MQTT"}}},"createdIndex":3299,"key":"\/apisix\/stream_routes\/1","modifiedIndex":3299},"action":"set"}
   `
   from the response , i think mqtt proxy is opening.
   But when i used the client connect server by apisix , i got error exception.
   
   pls see picture:
   
   ![image](https://user-images.githubusercontent.com/21210211/69523688-7bd51400-0f9f-11ea-89e1-7a5120ede550.png)
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS: centos 7
   
   ### Minimal test code / Steps to reproduce the issue
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   
   
   
   ### What's the expected result?
   

----------------------------------------------------------------
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


With regards,
Apache Git Services