Skip to Content

Unable to connect to Leonardo IoT cockpit using Paho client

mqtt-error-in-paho-client.pngforbidden-error-in-iot-cockpit-gateway.pngHi All,

I working on the following scenario and I have followed each and every step that is mentioned in the below blog :

https://github.com/techpmsap/Leonardo_Cloud_Platform_Powerweek/blob/master/Exercise_01/Exercise_01.md

When I try to connect to Leonardo IoT cockpit using PAHO Client (MQTT). I am getting below error

"Connect Failed - MqttException

org.eclipse.paho.client.mqttv3.MqttSecurityException: MqttException"

Also , when i navigate to my IoT service cockpit -> Component Management -> Gateways -> MQTT network , I am getting "Forbidden error " .

PFA screenshots .

Is it because I am getting forbidden error in IoT service cockpit , I am unable to connect using PAHO client . If so , any idea how to fix this issue .

Regards

Vinay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 07 at 03:36 PM

    Issue finally got resolved . I just had to update my Java version from 1.8_045 to 1.8_171 and use 1.8_171 certs trusted certificate in the paho client

    Add comment
    10|10000 characters needed characters exceeded