Skip to Content
0

Unable to connect to Leonardo IoT cockpit using Paho client

May 03 at 12:16 PM

59

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vinay Puttaswamy May 07 at 03:36 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded