Giter Club home page Giter Club logo

Comments (8)

isharrrry avatar isharrrry commented on July 17, 2024

两个服务器在模拟器都是跑通的,尝试过开关安全域名都一样,其中这个是阿里云服务器
image

from wechatminiesp8266.

xuhongv avatar xuhongv commented on July 17, 2024
  • 检查合法域名?

from wechatminiesp8266.

xuhongv avatar xuhongv commented on July 17, 2024
  • clinetID不能一样

from wechatminiesp8266.

isharrrry avatar isharrrry commented on July 17, 2024
  • clinetID不能一样

域名是合法的,我是两个小程序测试,clinetID一个是mqttjs提供的随机生成,一个是阿里云的测试clinetID

from wechatminiesp8266.

xuhongv avatar xuhongv commented on July 17, 2024

我上午试下,用真机调试和真机预览都可以成功连接。没有你的问题复现。

from wechatminiesp8266.

isharrrry avatar isharrrry commented on July 17, 2024

我上午试下,用真机调试和真机预览都可以成功连接。没有你的问题复现。

还有就是当连接断开时没法读client的属性判断,这个有办法解决吗

from wechatminiesp8266.

xuhongv avatar xuhongv commented on July 17, 2024

你去拉取下 mqtt.js 源码版本试下应该可以修复。

from wechatminiesp8266.

xuhongv avatar xuhongv commented on July 17, 2024

我刚刚从 npm 拉取了一版更新了,你拉取试下!

from wechatminiesp8266.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.