微信小程序调用mqtt总是提示连接不上?

小程序 文章 2021-03-10 19:21 758 0 全屏看文

AI助手支持GPT4.0

微信小程序调用mqtt总是提示连接不上?The WeChat applet calls mqtt and always prompts that the connection cannot be connected?

微信小程序调用mqtt总是提示连接不上?

请帮我看下,到底时候哪里出问题?

Please help me to see when and where the problem is?

回答:

站住、举手:

你上面写的连接是 wxs,但是报错的连接却是wss

蟹黄堡:所以怎么解决?大佬
站住、举手:这个我也不是太了解,我在网上看的别人的连接都是 wx://xxx.xxx,你去网上搜下吧
没有然后:

不使用IP地址试试

蟹黄堡:不行 会报错

-EOF-

AI助手支持GPT4.0