Skip to content

Send request failing when trying to sending Avro serialized string #51

@bhattmayur26

Description

@bhattmayur26

Hi

Getting below error when trying to send Avro serialised string to event hub. Same code works fine when I pass example string to EventData_CreateWithNewMemory((const unsigned char*)msgContent, msgLength) function.

eventhub_error_callback EVENTHUBCLIENT_AMQP_INIT_FAILURE
Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/deps/azure-c-shared-utility/adapters/tlsio_openssl.c Func:tlsio_openssl_create Line:1174 Failed xio_create.
Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/eventhub_client/src/eventhubclient_ll.c Func:initialize_uamqp_stack_common Line:545 TLS IO creation failed.
Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/eventhub_client/src/eventhubclient_ll.c Func:initialize_uamqp_stack Line:709 Could Not Initialize Common AMQP Sender Stack.

Error: Time:Thu Aug 15 17:06:28 2019 File:/home/user/.conan/data/azure-event-hubs-c/0.11.0/user/testing/build/b3e5763fd959dd9b9d67066cbe456ec1e2e33bfe/source_subfolder/eventhub_client/src/eventhubclient_ll.c Func:EventHubClient_LL_DoWork Line:1755 Error initializing uAMPQ sender stack. Code:708 Status:0

I am using libserdes to serialize Avro message.

Thanks
Kind Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions