deviceClient created with IotHubClientProtocol.AMQPS times out on open()

Slava A 106 Reputation points
2020-10-30T13:52:01.977+00:00

Our application is sitting on rabbitmq. When I try to talk to devices: DeviceClient(..) with IotHubClientProtocol.AMQPS and then open() I get
com.microsoft.azure.sdk.iot.device.exceptions.TransportException: Timed out waiting for authentication session to open
at com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection.closeConnectionWithException(AmqpsIotHubConnection.java:686)
at com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection.open(AmqpsIotHubConnection.java:143)
at com.microsoft.azure.sdk.iot.device.transport.IotHubTransport.openConnection(IotHubTransport.java:785)
at com.microsoft.azure.sdk.iot.device.transport.IotHubTransport.open(IotHubTransport.java:325)
at com.microsoft.azure.sdk.iot.device.DeviceIO.open(DeviceIO.java:156)
at com.microsoft.azure.sdk.iot.device.InternalClient.open(InternalClient.java:146)
at com.microsoft.azure.sdk.iot.device.DeviceClient.open(DeviceClient.java:395)

communication with MQTT works fine

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,143 questions
{count} vote

Accepted answer
  1. Slava A 106 Reputation points
    2020-11-02T17:12:13.46+00:00

    after excluding org.bouncycastle it started to work.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful