Azure IoT Hub client crashes (WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED) on Kernel 5.18

Andreas 0 Reputation points
2023-05-02T08:27:02.93+00:00

We are using a slightly modified version of the "iothub_client_c2d_streaming_proxy_sample" binary from the C-SDK. But now, on (Arch) Linux Kernel 5.18, it crashes with "WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED" and "stack smash", the binary is 1.5 years old, so I tried to recompile it with the new SDK but the new SDK do not provide this example binary anymore.

Does anyone know why this example was removed from the SDK or if there is a replacement for it?

Thank You!

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
399 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,189 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
219 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 33,756 Reputation points
    2023-05-04T16:00:56.0033333+00:00

    @Andreas This sample is a general sample that contains most scenarios: azure-iot-sdk-c/iothub_convenience_sample.c at main · Azure/azure-iot-sdk-c · GitHub
    Do let us know if that helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.