Skip to Content
avatar image
Former Member

Unable to connect to MQTT broker in SAP IoT cockpit

Hi All,

I have paho client installed in my laptop and like to send some data via the paho client to check the same in the IoT cockpit.

Scenario : My laptop is connected to wireless internet connection with firewalls turned off.I have created a device under MQTT network in SAP IoT cockpit with the details given below


Mac address : AR-2C-6D-52-9F-97

label : paho_client_1

Above details are respective to my laptop connections

Then i have downloaded the device certificates.

In paho client i have given the below details

server URI : ssl://<host>:1883

Client ID : AR-2C-6D-52-9F-97

Under options i have given the location of the

keystore location : keystore location

keystore password : pasted the generated password

trust store location :C:\Program Files (x86)\Java\jre1.8.0_144\lib\security/cacerts
trust store passord :any

I am unable to connect from paho client to sap iot cockpit . I am getting the following error

"org.eclipse.paho.client.mqttv3.MqttException: Unable to connect to server"

How to check the same ?

1.jpg (30.8 kB)
2.jpg (94.0 kB)
3.jpg (76.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 11, 2017 at 02:18 PM

    Hello Deepan, port number should be 8883 and not 1883. Please, check with the tutorial [1]

    Regards, Anton


    Add comment
    10|10000 characters needed characters exceeded