-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
测试今日(1/10)Surging最新版本问题反馈 #240
Comments
好的,谢谢问题的提交, 这是测试web host,然后指定了本地的WebRootPath,这个问题会进行修复 |
还有加载KestrelHttpModule后,MQTT不能连接Broker问题,谢谢~ |
这是因为KestrelHttp Lifetime影响了MQTT,websocket 主机的启动,还没有更好的方案进行进行兼容。 |
是不是说使用MQTT就不能要加载KestrelHttpModule? |
没有找到解决方案之前是不行的,你可以使用基于Netty 的http 协议 |
我就是想同时使用Swagger和MQTT,能同时支持吗?或者说有其他方法使用?谢谢~! |
你可以部署一台仅支持KestrelHttpModule和Swagger组件的服务提供者,然后发布mqtt接口模块,通过扫描接口模块加载,这时候通过Swagger就能远程调用 |
或者引用MQTT业务接口模块,swagger 就能远程进行调用 |
当加载KestrelHttpModule模块情况下(默认未开启配置)

存在如下问题:
1.新增配置 "WebRootPath": "${WebRootPath}|D:\UserApp\wwwroot",情况下,不能启动Http协议端口280,初步判断是未能加载路径下面的内容,删除此配置后,Http协议的280端口可以启动。
2.配置KestrelHttpModule的情况下,MQTT客户端不能链接到Broker,删除KestrelHttpModule模块加载则可以连接
以上,请作者确认测试是否有误,最后感谢作者的开源
The text was updated successfully, but these errors were encountered: