Skip to content

azure iot sdk dependancy issue with container #2674

@praful-patil13

Description

@praful-patil13

Getting below exceptions in docker container. We have container having openssl version 1.1 and host machine openssl version is 3.0.15 on debian12. Also dont see openssl in mounts.

please help to resolve below errors getting with container.

Error: Time:Thu Mar 27 19:45:37 2025 File:/build/azure-iot-sdk-c-durCis/azure-iot-sdk-c-0.2.0.0/iothub_client/src/iothub_client_core_ll.c Func:retrieve_edge_environment_variabes Line:199 Environment IOTEDGE_AUTHSCHEME not set
Error: Time:Thu Mar 27 19:45:37 2025 File:/build/azure-iot-sdk-c-durCis/azure-iot-sdk-c-0.2.0.0/iothub_client/src/iothub_client_core_ll.c Func:IoTHubClientCore_LL_CreateFromEnvironment Line:1633 retrieve_edge_environment_variabes failed
Error: Time:Thu Mar 27 19:45:37 2025 File:/build/azure-iot-sdk-c-durCis/azure-iot-sdk-c-0.2.0.0/iothub_client/src/iothub_module_client_ll.c Func:IoTHubModuleClient_LL_CreateFromEnvironment Line:310 Failed to create core
handle
Error |2025-03-27 07:45:37#ModuleComm.cpp:421#InitializeConnection()| ERROR: IoTHubModuleClient_LL_CreateFromEnvironment failed
Error |2025-03-27 07:45:37#Main.cpp:43#main()| ModuleComm Initialization: FAILED
Error: Time:Thu Mar 27 19:45:42 2025 File:/build/azure-c-shared-util-w6wmSB/azure-c-shared-util-0.2.0.0/adapters/tlsio_openssl.c Func:openssl_static_locks_install Line:595 Locks already initialized
Error: Time:Thu Mar 27 19:45:42 2025 File:/build/azure-c-shared-util-w6wmSB/azure-c-shared-util-0.2.0.0/adapters/tlsio_openssl.c Func:tlsio_openssl_init Line:1218 Failed to install static locks in OpenSSL!

Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions