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/02/13 07:42:57 UTC

[GitHub] [incubator-apisix] JohannT9527 opened a new issue #1122: 开启mqtt-proxy插件时检测不到9100端口

JohannT9527 opened a new issue #1122: 开启mqtt-proxy插件时检测不到9100端口
URL: https://github.com/apache/incubator-apisix/issues/1122
 
 
    打开stream_proxy 配置后,9100端口并未开启
   ![image](https://user-images.githubusercontent.com/61002378/74411730-f3b42b80-4e76-11ea-94cd-d4023d396d3a.png)
   应该怎么做呢?
   

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

[GitHub] [incubator-apisix] JohannT9527 commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
JohannT9527 commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586092734
 
 
   > If you still have a problem, please provide more information.
   > 
   > Your apisix version, `config.yaml` file and the operation steps.
   
    apisix version:0.8
   ![image](https://user-images.githubusercontent.com/61002378/74501364-e0f83000-4f24-11ea-8eda-e44f16778b8f.png)
   
   
   config.yaml如图:
   ![image](https://user-images.githubusercontent.com/61002378/74499781-cbccd280-4f1f-11ea-86a7-70f03d50c513.png)
   ![image](https://user-images.githubusercontent.com/61002378/74499817-e56e1a00-4f1f-11ea-8fed-ea52b5cb3050.png)
   ![image](https://user-images.githubusercontent.com/61002378/74499879-15b5b880-4f20-11ea-9c1c-1a8775b1d4b1.png)
   ![image](https://user-images.githubusercontent.com/61002378/74499909-29f9b580-4f20-11ea-82f7-1481abc69e69.png)
   
   操作步骤:
   1.先给apisix容器加了9111:9100的端口映射;
   ![image](https://user-images.githubusercontent.com/61002378/74500263-56620180-4f21-11ea-8008-a516c9e0b6fe.png)
   
   2.进入容器,修改‘conf/config.yaml’文件,去掉了stream_proxy配置的#备注;
   
   3.restart容器,然后测试端口
   ![image](https://user-images.githubusercontent.com/61002378/74500790-ff5d2c00-4f22-11ea-8b68-6955e521a4cf.png)
   ![image](https://user-images.githubusercontent.com/61002378/74501159-36800d00-4f24-11ea-9aa6-94c230e303e7.png)
   ![image](https://user-images.githubusercontent.com/61002378/74501189-4861b000-4f24-11ea-94e1-894c8b98b981.png)
   ![image](https://user-images.githubusercontent.com/61002378/74501226-66c7ab80-4f24-11ea-946b-5466841b34a9.png)
   容器外部
   
   ![image](https://user-images.githubusercontent.com/61002378/74501054-d9845700-4f23-11ea-904f-8c770aebf428.png)容器内部
   
   我的操作有问题吗?
   

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

[GitHub] [incubator-apisix] membphis commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586052786
 
 
   @moonming please take a look at this issue

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

[GitHub] [incubator-apisix] membphis commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586075636
 
 
   If you still have a problem, please provide more information.
   
   Your apisix version, `config.yaml` file and the operation steps.

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

[GitHub] [incubator-apisix] JohannT9527 commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
JohannT9527 commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586048488
 
 
   > We need to restart the apisix server after modifying `conf/config.yaml` to regenerate a new nginx conf.
   
   我是使用docker安装的APISIX,修改了容器内的conf/config.yaml,然后尝试过直接重启容器,和容器内调用apisix的init方法和reload方法,结果仍然没能打开容器的9100端口。

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

[GitHub] [incubator-apisix] membphis commented on issue #1122: 开启mqtt-proxy插件时检测不到9100端口

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1122: 开启mqtt-proxy插件时检测不到9100端口
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-585627482
 
 
   We need to restart the apisix server after modifying `conf/config.yaml` to regenerate a new nginx conf.

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

[GitHub] [incubator-apisix] JohannT9527 removed a comment on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
JohannT9527 removed a comment on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-585776288
 
 
   我是使用docker安装的APISIX,修改了容器内的conf/config.yaml,然后尝试过直接重启容器,和容器内调用apisix的init方法和reload方法,结果仍然没能打开容器的9100端口。

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

[GitHub] [incubator-apisix] JohannT9527 commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
JohannT9527 commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-585776288
 
 
   我是使用docker安装的APISIX,修改了容器内的conf/config.yaml,然后尝试过直接重启容器,和容器内调用apisix的init方法和reload方法,结果仍然没能打开容器的9100端口。

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

[GitHub] [incubator-apisix] membphis commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586074960
 
 
   I made a try right now, it works fine with master branch.
   
   please confirm you exported the  port when you are using docker.

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

[GitHub] [incubator-apisix] JohannT9527 commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
JohannT9527 commented on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586064170
 
 
   > @moonming please take a look at this issue
   
   我试过修改9080端口,在重启容器后修改是生效的,说明conf/config.yaml是可以正常加载的,但是stream_proxy下的配置好像一直无法生效。

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

[GitHub] [incubator-apisix] JohannT9527 edited a comment on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
JohannT9527 edited a comment on issue #1122: can not open 9100 port when enable  mqtt-proxy plugin
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-586092734
 
 
   > If you still have a problem, please provide more information.
   > 
   > Your apisix version, `config.yaml` file and the operation steps.
   
    apisix version:0.8
   ![image](https://user-images.githubusercontent.com/61002378/74501364-e0f83000-4f24-11ea-8eda-e44f16778b8f.png)
   
   
   config.yaml如图:
   ![image](https://user-images.githubusercontent.com/61002378/74499781-cbccd280-4f1f-11ea-86a7-70f03d50c513.png)
   ![image](https://user-images.githubusercontent.com/61002378/74499817-e56e1a00-4f1f-11ea-8fed-ea52b5cb3050.png)
   ![image](https://user-images.githubusercontent.com/61002378/74499879-15b5b880-4f20-11ea-9c1c-1a8775b1d4b1.png)
   ![image](https://user-images.githubusercontent.com/61002378/74499909-29f9b580-4f20-11ea-82f7-1481abc69e69.png)
   
   操作步骤:
   1.先给apisix容器加了9111:9100的端口映射;
   ![image](https://user-images.githubusercontent.com/61002378/74500263-56620180-4f21-11ea-8008-a516c9e0b6fe.png)
   
   2.进入容器,修改‘conf/config.yaml’文件,去掉了stream_proxy配置的#备注;
   
   3.restart容器,然后测试端口
   ![image](https://user-images.githubusercontent.com/61002378/74501771-1b160180-4f26-11ea-80b8-cb9b6dd4de04.png)
   ![image](https://user-images.githubusercontent.com/61002378/74501159-36800d00-4f24-11ea-9aa6-94c230e303e7.png)
   ![image](https://user-images.githubusercontent.com/61002378/74501189-4861b000-4f24-11ea-94e1-894c8b98b981.png)
   ![image](https://user-images.githubusercontent.com/61002378/74501226-66c7ab80-4f24-11ea-946b-5466841b34a9.png)
   容器外部
   
   ![image](https://user-images.githubusercontent.com/61002378/74501054-d9845700-4f23-11ea-904f-8c770aebf428.png)容器内部
   
   我的操作有问题吗?
   

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

[GitHub] [incubator-apisix] membphis closed issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
membphis closed issue #1122:
URL: https://github.com/apache/incubator-apisix/issues/1122


   


----------------------------------------------------------------
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] [incubator-apisix] itime commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
itime commented on issue #1122:
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-637428478


   `make init`
   
   it's work for me


----------------------------------------------------------------
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] [incubator-apisix] membphis commented on issue #1122: can not open 9100 port when enable mqtt-proxy plugin

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1122:
URL: https://github.com/apache/incubator-apisix/issues/1122#issuecomment-647098605


   @JohannT9527 close this PR first. if you still have this problem, you can reopen 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.

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