Skip to content

[Bug Report] Provisioning X509 gives timeout #1804

@amit12cool

Description

@amit12cool
2025-05-20 09:26:31.728 13459 i2.b                    com.abcd.efgh.iotagent        I  09:26:31.727 [global.azure-devices-provisioning.net-dd23af47-CxnPendingConnectionId-azure-iot-sdk-ProvisioningTask] INFO  i2.b - Opening the connection to device provisioning service...
2025-05-20 09:26:36.864 13459 ProfileInstaller        com.abcd.efgh.iotagent        D  Skipping profile installation for com.abcd.efgh.iotagent
2025-05-20 09:27:02.210 13459 kshare.iotagent         com.abcd.efgh.iotagent        I  Background concurrent copying GC freed 106392(5822KB) AllocSpace objects, 17(348KB) LOS objects, 49% free, 3349KB/6699KB, paused 177us,26us total 111.104ms
2025-05-20 09:27:31.730 13459 com.abcd....ingService com.abcd.efgh.iotagent        E  09:27:31.729 [ConnectivityThread] ERROR c.b.e.a.i.p.ProvisioningService - g2.b: Timed out waiting for registration to complete
2025-05-20 09:27:36.734 13459 com.abcd....ingService com.abcd.efgh.iotagent        I  09:27:36.733 [ConnectivityThread] INFO  c.b.e.a.i.p.ProvisioningService - In while
2025-05-20 09:27:36.734 13459 com.abcd....ingService com.abcd.efgh.iotagent        I  09:27:36.734 [ConnectivityThread] INFO  c.b.e.a.i.p.ProvisioningService - In while 2
2025-05-20 09:27:36.734 13459 a2.a                    com.abcd.efgh.iotagent        D  09:27:36.734 [ConnectivityThread] DEBUG a2.a - Starting provisioning thread...
2025-05-20 09:27:36.734 13459 i2.b                    com.abcd.efgh.iotagent        I  09:27:36.734 [global.azure-devices-provisioning.net-dd23af47-CxnPendingConnectionId-azure-iot-sdk-ProvisioningTask] INFO  i2.b - Opening the connection to device provisioning service...
2025-05-20 09:28:36.736 13459 com.abcd....ingService com.abcd.efgh.iotagent        E  09:28:36.734 [ConnectivityThread] ERROR c.b.e.a.i.p.ProvisioningService - g2.b: Timed out waiting for registration to complete
2025-05-20 09:28:36.740 13459 com.abcd....viceClient com.efgh.iotagent        E  09:28:36.739 [ConnectivityThread] ERROR c.b.e.a.i.AzureIoTHubDeviceClient - Error in registration
                                                                                              java.lang.Exception: Registration failed after 2 attempts

If you check the log above I always get RROR c.b.e.a.i.p.ProvisioningService - g2.b: Timed out waiting for registration to complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions