Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Added useSSL option while creating connection

Rahul68375469c5d2
diff --git a/components/realtime/mqtt.vue b/components/realtime/mqtt.vue
index 36beb5d0e..ad2c22e42 100644
--- a/components/realtime/mqtt.vue
+++ b/components/realtime/mqtt.vue
@@ -119,6 +119,7 @@ export default {
this.client.connect({
onSuccess: this.onConnectionSuccess,
onFailure: this.onConnectionFailure,
+ useSSL: true,
})
this.client.onConnectionLost = this.onConnectionLost
this.client.onMessageArrived = this.onMessageArrived
@@ -145,7 +146,6 @@ export default {
})
},
onMessageArrived(message) {
- debugger
this.log.push({
payload: `Message: ${message.payloadString} arrived on topic: ${message.destinationName}`,
source: "info",