shunsheng-github commented on issue #1152: request help: fail to mqtt-proxy request URL: https://github.com/apache/incubator-apisix/issues/1152#issuecomment-590903371 原始mqtt服务器连接:  apisix服务器路由配置: curl http://10.97.1.84:9180/apisix/admin/stream_routes/103 -X PUT -d ' { "remote_addr": "127.0.0.1", "plugins": { "mqtt-proxy": { "protocol_name": "MQTT", "protocol_level": 4, "upstream": { "ip": "192.168.209.243", "port": 1883 } } } }'  这里是tcp://IP:9100是连接不成功,并且日志错误还是这个错误: 2020/02/25 22:30:58 [error] 30514#30514: *15072954 lua entry thread aborted: runtime error: /usr/local/apisix/lua/apisix/stream/router/ip_port.lua:31: attempt to index local 'route' (a boolean value) stack traceback: coroutine 0: /usr/local/apisix/lua/apisix/stream/router/ip_port.lua: in function 'match_opts' /usr/local/apisix/lua/apisix/stream/router/ip_port.lua:60: in function 'match' /usr/local/apisix/lua/apisix.lua:521: in function 'stream_preread_phase' preread_by_lua(nginx.conf:51):2: in main chunk while prereading client data, client: 192.168.221.136, server: 0.0.0.0:9100 从配置来看应该是tcp://IP:9100,事实上通过9100端口是连接不上apisix服务器。上面的测试用例没看到应用端是怎么连接apisix服务器的,不太理解这个stream route调用方式。
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
