我需要通过websocket连接到代理。<script src="https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.min.js" type="text/javascript"></script> // Create a client i
该应用程序在https上工作,因此在MQTT服务器上也使用了安全连接。这是我的environment.ts broker: 'theBroker', **protocolAppModule { }ERROR in src/app/app.module.ts(62,24): error TS2345: Argument of type '{ <e
javascript mqtt websocket连接在localhost中工作正常,在https服务器中不工作 代码 <html> <meta charset:1054 Mixed Content: The page at
> 'https://myserver.com/pis/monitoring/mqtt.html' was loaded over HTTPS</e