-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file upload failing in v1.14.0 using x509 authentication #2645
Comments
did you checked on version 1.13.0 2024-11-11T13:26:45.7868581Z Mon Nov 11 13:25:30 2024 ERROR [dk-c\c-utility\adapters\socketio_win32.c:700 ] Socketio_Failure: Receiving data from endpoint: 10054. |
@shekharg987 , no same issue in all release after 1.11.0 |
I think my issue is different since i was facing issue in 1.11.0 too but now it is fine |
I have updated azure sdk from 1.11.0 to 1.14.0 and now file uploads are failing, telemetry data is successfully getting sent.
I am using DPS service, x509 certificated-based authentication for iot hub connection.
I am still using IoTHubDeviceClient_LL_UploadToBlob Api to upload data to blob as stated in below sample link which is working fine with older sdk too.
https://github.com/Azure/azure-iot-sdk-c/blob/main/iothub_client/samples/iothub_client_sample_upload_to_blob/iothub_client_sample_upload_to_blob.c
Here is Firmware error logs:
Iot Hub Error Log:
{"statusCode":"400","errorMessage":"Storage endpoint or blob name is invalid","deviceId":"7C:87:CE:EB:82:62","trackingId":"991D7E091C444B4091C0D555B612E911-G2:-TimeStamp:2024-09-06T10:34:48.670879080Z","fileUploadCorrelationId":"MjAyNDA5MDYxMTQ0XzdkNTkzYTNmLTQ1YWMtNDQ0OC04NzUyLTcyZWRiNzU5NjRmMV83Yzg3Y2VlYjgyNjJfZGV2aWNlQmFzZUluZm9fNDEyXzIwMjQwOTA2LTEyMzQzMy5keGRpX3ZlcjIuMA==","fileUploadStatusDescription":"","fileUploadStatusCode":"400000","maskedIpAddress":"106.76.204.XXX","isSuccess":"false","fileUploadFilename":"7c87ceeb8262_deviceBaseInfo_412_20240906-123433.dxdi"}
I am using esp32 board with esp-idf v.5.2.
I tried same certificates in windows Linux subsystem there also file upload fails
The text was updated successfully, but these errors were encountered: