Closed abhatikar closed 5 years ago
hello,
I am getting this error with my devkit. I did use set_az_iothub to set the iothub device connection string.. Am I missing something ?
Logs:
Wi-Fi HUAWEI-E5377-C1D3 connected. Time from pool.ntp.org, now is (UTC): Thu Sep 20 11:15:30 2018
2018-09-20 11:15:33 INFO: IoT Hub SDK for C, version 1.1.28 2018-09-20 11:15:33 ERROR: File:base64.c Func:Base64_Decoder Line:201, Invalid length Base64 string! 2018-09-20 11:15:33 ERROR: File:sastoken.c Func:construct_sas_token Line:217, Unable to decode the key for generating the SAS. 2018-09-20 11:15:33 ERROR: File:iothub_client_authorization.c Func:IoTHubClient_Auth_Get_SasToken Line:388, Failed creating sas_token 2018-09-20 11:15:33 ERROR: File:iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:1703, failure getting sas token from IoTHubClient_Auth_Get_SasToken. 2018-09-20 11:15:34 ERROR: File:base64.c Func:Base64_Decoder Line:201, Invalid length Base64 string! 2018-09-20 11:15:34 ERROR: File:sastoken.c Func:construct_sas_token Line:217, Unable to decode the key for generating the SAS. 2018-09-20 11:15:34 ERROR: File:iothub_client_authorization.c Func:IoTHubClient_Auth_Get_SasToken Line:388, Failed creating sas_token 2018-09-20 11:15:34 ERROR: File:iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:1703, failure getting sas token from IoTHubClient_Auth_Get_SasToken. 2018-09-20 11:15:36 ERROR: File:base64.c Func:Base64_Decoder Line:201, Invalid length Base64 string!
Need to use quotes as serial port discards more than 120 chars
hello,
I am getting this error with my devkit. I did use set_az_iothub to set the iothub device connection string.. Am I missing something ?
Logs:
Wi-Fi HUAWEI-E5377-C1D3 connected. Time from pool.ntp.org, now is (UTC): Thu Sep 20 11:15:30 2018
2018-09-20 11:15:33 INFO: IoT Hub SDK for C, version 1.1.28 2018-09-20 11:15:33 ERROR: File:base64.c Func:Base64_Decoder Line:201, Invalid length Base64 string! 2018-09-20 11:15:33 ERROR: File:sastoken.c Func:construct_sas_token Line:217, Unable to decode the key for generating the SAS. 2018-09-20 11:15:33 ERROR: File:iothub_client_authorization.c Func:IoTHubClient_Auth_Get_SasToken Line:388, Failed creating sas_token 2018-09-20 11:15:33 ERROR: File:iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:1703, failure getting sas token from IoTHubClient_Auth_Get_SasToken. 2018-09-20 11:15:34 ERROR: File:base64.c Func:Base64_Decoder Line:201, Invalid length Base64 string! 2018-09-20 11:15:34 ERROR: File:sastoken.c Func:construct_sas_token Line:217, Unable to decode the key for generating the SAS. 2018-09-20 11:15:34 ERROR: File:iothub_client_authorization.c Func:IoTHubClient_Auth_Get_SasToken Line:388, Failed creating sas_token 2018-09-20 11:15:34 ERROR: File:iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:1703, failure getting sas token from IoTHubClient_Auth_Get_SasToken. 2018-09-20 11:15:36 ERROR: File:base64.c Func:Base64_Decoder Line:201, Invalid length Base64 string!