Closed sumit612 closed 5 years ago
Hello sumit612,
Using the latest in master as of this post. I am able to make an MQTT connection with your xConnectParameters.
I added to ESP32's aws_demo_config.h:
#define democonfigMQTT_AGENT_CONNECT_FLAGS ( mqttagentREQUIRE_TLS | mqttagentUSE_AWS_IOT_ALPN_443 )
My quick and dirty code:
MQTTAgentHandle_t xMQTTClientHandle;
/* Create MQTT Client. */
if( MQTT_AGENT_Create( &( xMQTTClientHandle ) ) == eMQTTAgentSuccess )
{
MQTTAgentConnectParams_t xConnectParams =
{
clientcredentialMQTT_BROKER_ENDPOINT,
democonfigMQTT_AGENT_CONNECT_FLAGS,
pdFALSE,
clientcredentialMQTT_BROKER_PORT,
( const uint8_t * ) ( clientcredentialIOT_THING_NAME ),
( uint16_t ) strlen( ( const char * ) clientcredentialIOT_THING_NAME ),
pdFALSE,
NULL,
NULL, /* No call back not needed just to connect. */
NULL,
0
};
if( MQTT_AGENT_Connect( xMQTTClientHandle,
&xConnectParams,
pdMS_TO_TICKS( 20000UL ) ) != eMQTTAgentSuccess )
{
configPRINTF( ( "ERROR: Could not connect to the Broker.\r\n" ) );
}
else
{
if( MQTT_AGENT_Disconnect( xMQTTClientHandle,
pdMS_TO_TICKS( 20000UL ) ) == eMQTTAgentSuccess )
{
configPRINTF( ( "Disconnected from the broker.\r\n" ) );
if( MQTT_AGENT_Delete( xMQTTClientHandle ) == eMQTTAgentSuccess )
{
configPRINTF( ( "Deleted Client.\r\n" ) );
}
else
{
configPRINTF( ( "ERROR: MQTT_AGENT_Delete() Failed.\r\n" ) );
}
}
else
{
configPRINTF( ( "ERROR: Did not disconnected from the broker.\r\n" ) );
}
}
}
my output:
5 303 [iot_thread] [INFO ][DEMO][3030] Successfully initialized the demo. Network type for the demo: 1
6 783 [iot_thread] [INFO ][MQTT][7830] Establishing new MQTT connection.
7 784 [iot_thread] [INFO ][MQTT][7830] Anonymous metrics (SDK language, SDK version) will be provided to AWS IoT. Recompile with AWS_IOT_MQTT_ENABLE_METRICS set to 0 to disable.
8 784 [iot_thread] [INFO ][MQTT][7840] (MQTT connection 0x3ffe2f3c, CONNECT operation 0x3ffe210c) Waiting for operation completion.
9 811 [iot_thread] [INFO ][MQTT][8110] (MQTT connection 0x3ffe2f3c, CONNECT operation 0x3ffe210c) Wait complete with result SUCCESS.
10 811 [iot_thread] [INFO ][MQTT][8110] New MQTT connection 0x3ffe224c established.
11 811 [iot_thread] [INFO ][MQTT][8110] (MQTT connection 0x3ffe2f3c) Disconnecting connection.
12 811 [iot_thread] [INFO ][MQTT][8110] (MQTT connection 0x3ffe2f3c, DISCONNECT operation 0x3ffe210c) Waiting for operation completion.
13 813 [iot_thread] [INFO ][MQTT][8130] (MQTT connection 0x3ffe2f3c, DISCONNECT operation 0x3ffe210c) Wait complete with result SUCCESS.
14 813 [iot_thread] [INFO ][MQTT][8130] (MQTT connection 0x3ffe2f3c) Connection disconnected.
15 814 [iot_thread] [INFO ][MQTT][8140] (MQTT connection 0x3ffe2f3c) Network connection closed.
16 817 [iot_thread] [INFO ][MQTT][8170] (MQTT connection 0x3ffe2f3c) Network connection destroyed.
17 818 [iot_thread] Disconnected from the broker.
18 818 [iot_thread] Deleted Client.
19 818 [iot_thread] ----Demo finished----
20 818 [iot_thread] [INFO ][DEMO][8180] Demo completed successfully.
21 919 [iot_thread] [INFO ][INIT][9190] SDK cleanup done.
22 919 [iot_thread] [INFO ][DEMO][9190] -------DEMO FINISHED-------
About your output:
37 1270 [MqttTask] ERROR: Handshake failed with error code -9984
This error translates to -2700 in libraries\3rdparty\mbedtls\include\mbedtls\x509.h. This means some certificate verification failed somewhere down the handshake process. Please check and make sure that the keys in demos\include\aws_clientcredential_keys.h are correct and in correct format. Also that those keys are associated with your thing.
But used the same credential in my previous code and it connected every time. The previous AFR version was "Amazon FreeRTOS V1.4.1".
The previous config:
The new config:
After that I enabled multi blob support. But no change.
*Else I only see the difference is the newer AFR is using new vDevModeKeyProvisioning()
Yes I think turning on mbedtls debug logs would help. Please send that log to us. Are you using the default esp_config.h (under vendors\espressif\boards\esp32\aws_demos\application_code\espressif_code\mbedtls\port\include\mbedtls\esp_config.h)? If you changed your mbedtls config.h please post it here. Also make sure that you are erasing the flash before reprogramming.
No, I didn't change anything on that file. I also tried erasing flash. And in this application bluetooth is activated with Nimble host stack.
Here is the debug log:
4819 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: => handshake
4820 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: client state: 0
4821 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: => flush output
4822 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: <= flush output
4823 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: client state: 1
4824 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: => flush output
4825 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: <= flush output
4826 16161 [MqttTask] mbedTLS: |2| 0x3ffd27f8: => write client hello
4827 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, max version: [3:3]
4828 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, current time: 161
4829 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: dumping 'client hello, random bytes' (32 bytes)
4830 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: 0000: 00 00 00 a1 1c 3e ee 47 d7 d0 d3 e3 65 a5 31 a6 .....>.G....e.1.
4831 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: 0010: 9c 48 58 67 19 dd 5d 9f 42 8b 59 fc 76 5d 53 70 .HXg..].B.Y.v]Sp
4832 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, session id len.: 0
4833 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: dumping 'client hello, session id' (0 bytes)
4834 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c0ad
4835 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c09f
4836 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: 006b
4837 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c00a
4838 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c014
4839 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: 0039
4840 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c0af
4841 16161 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c0a3
4842 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c02b
4843 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c02f
4844 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: 009e
4845 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c0ac
4846 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c09e
4847 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c023
4848 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c027
4849 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: 0067
4850 16162 [MqttTask] mbedTLS: |3| 0x3ffd27f8: client hello, add ciphersuite: c009
4920 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: in_left: 0, nb_want: 5
4921 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
4922 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: <= fetch input
4923 16548 [MqttTask] mbedTLS: |4| 0x3ffd27f8: dumping 'input record header' (5 bytes)
4924 16548 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0000: 16 03 03 15 24 ....$
4925 16548 [MqttTask] mbedTLS: |3| 0x3ffd27f8: input record: msgtype = 22, version = [3:3], msglen = 5412
4926 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: => fetch input
4927 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: in_left: 5, nb_want: 5417
4928 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: in_left: 5, nb_want: 5417
4929 16548 [MqttTask] mbedTLS: |2| 0x3ffd27f8: ssl->f_recv(_timeout)() returned 1395 (-0xfffffa8d)
4930 16584 [MqttTask] mbedTLS: |2| 0x3ffd27f8: in_left: 1400, nb_want: 5417
4931 16584 [MqttTask] mbedTLS: |2| 0x3ffd27f8: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
4932 16648 [MqttTask] mbedTLS: |2| 0x3ffd27f8: in_left: 2800, nb_want: 5417
4933 16648 [MqttTask] mbedTLS: |2| 0x3ffd27f8: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
I (167850) [vProcessMqttAgentDisconnect]: MQTT Return Value: 1
4934 16749 [MqttTask] mbedTLS: |2| 0x3ffd27f8: in_left: 4200, nb_want: 5417
4935 16749 [MqttTask] mbedTLS: |2| 0x3ffd27f8: ssl->f_recv(_timeout)() returned 1217 (-0xfffffb3f)
4936 16749 [MqttTask] mbedTLS: |2| 0x3ffd27f8: <= fetch input
4937 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: dumping 'input record from network' (5417 bytes)
4938 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0000: 16 03 03 15 24 02 00 00 51 03 03 d1 70 8d cf 6c ....$...Q...p..l
4939 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0010: af 5d e1 bf 1f 4b b2 50 5b d2 44 47 17 da fe 60 .]...K.P[.DG...`
4940 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0020: 9e 8e 55 5b f9 25 7f 0a b0 ef 48 20 63 71 7e 69 ..U[.H cq~i
4941 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0030: 2b 03 2f df d7 79 a3 1e 12 ad ac 33 43 17 f7 f6 +./..y.....3C...
4942 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0040: 0f 09 84 cb 75 6c ea a6 c6 54 43 17 c0 2f 00 00 ....ul...TC../..
4943 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0050: 09 ff 01 00 01 00 00 17 00 00 0b 00 13 10 00 13 ................
4944 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0060: 0d 00 05 a5 30 82 05 a1 30 82 04 89 a0 03 02 01 ....0...0.......
4945 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0070: 02 02 10 0c 62 ff 6c 06 6e ad 10 24 28 8a 6c f1 ....b.l.n..$(.l.
4946 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0080: 9d d4 dc 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b ...0...*.H......
4947 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0090: 05 00 30 46 31 0b 30 09 06 03 55 04 06 13 02 55 ..0F1.0...U....U
4948 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 00a0: 53 31 0f 30 0d 06 03 55 04 0a 13 06 41 6d 61 7a S1.0...U....Amaz
4949 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 00b0: 6f 6e 31 15 30 13 06 03 55 04 0b 13 0c 53 65 72 on1.0...U....Ser
4950 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 00c0: 76 65 72 20 43 41 20 31 42 31 0f 30 0d 06 03 55 ver CA 1B1.0...U
4951 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 00d0: 04 03 13 06 41 6d 61 7a 6f 6e 30 1e 17 0d 31 39 ....Amazon0...19
4952 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 00e0: 30 37 30 32 30 30 30 30 30 30 5a 17 0d 32 30 30 0702000000Z..200
4953 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 00f0: 36 32 38 31 32 30 30 30 30 5a 30 28 31 26 30 24 628120000Z0(1&0$
4954 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0100: 06 03 55 04 03 0c 1d 2a 2e 69 6f 74 2e 65 75 2d ..U....*.iot.eu-
4955 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0110: 77 65 73 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 west-1.amazonaws
4956 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0120: 2e 63 6f 6d 30 82 01 22 30 0d 06 09 2a 86 48 86 .com0.."0...*.H.
4957 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0130: f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a ............0...
4958 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0140: 02 82 01 01 00 b8 3a fe e9 67 b1 86 99 0c 62 a8 ......:..g....b.
4959 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0150: 41 4d 48 4b 9c 21 da df d3 86 97 e0 68 a2 a4 30 AMHK.!......h..0
4960 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0160: 6f bd 4b 10 6a 61 b6 1f 86 fe ee 90 e8 b4 2c f3 o.K.ja........,.
4961 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0170: 19 78 ae 61 5d 62 db df 67 9e 90 8e 97 69 3f bb .x.a]b..g....i?.
4962 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0180: b6 a7 14 c4 82 af 46 b2 25 02 c8 cf 4c 06 30 44 ......F.
4963 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 0190: da a4 7a bb 69 31 71 c2 9a 5c 1a a0 24 db c9 78 ..z.i1q..\..$..x
4964 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 01a0: fa 57 28 93 9c c4 05 bf 0e d8 13 98 20 e0 ba df .W(......... ...
4965 16749 [MqttTask] mbedTLS: |4| 0x3ffd27f8: 01b0: 3a 40 c0 0f 9a 30 e3 f3 75 bd d9 57 88 5d a0 86 :@...0..u..W.]..
My flash partition is like this:
nvs, data, nvs, 0x10000, 0x6000 otadata, data, ota, 0x16000, 0x2000 phy_init, data, phy, 0x18000, 0x2000 ota_0, 0, ota_0, 0x20000, 1M ota_1, 0, ota_1, 0x120000 , 1M factory, 0, 0, 0x220000 , 1M storage, data, nvs, , 0x10000 storage1, data, spiffs, , 400K
I just found it connects from iot_demo_mqtt.c, but fails from any file from "vendors\espressif\boards\esp32\aws_demos\application_code\" directory.
Hello Sumit612,
How did you discover you had a stack overflow? Did you end up in function: vApplicationStackOverflowHook()? If your task did end up here, you could also update the stack in parameter usStackDepth instead of changing the TLS settings which may other have consequences.
Also, changing any settings in this menu:
DOES change the mbedtls config file. If there any other settings in this menu you have updated, could you please send us the resulting sdkconfig.h generated file after building the code?
Also your mbedtls log seems to be missing information? Could you post the logs all the way up until the following log?
37 1270 [MqttTask] ERROR: Handshake failed with error code -9984
mbedTLS: |1| 0x3fffcc30: alloc(16701 bytes) failed
`7 822 [iot_thread] [INFO ][DEMO][8220] Successfully initialized the demo. Network type for the demo: 1
8 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: => handshake
9 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 0
10 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
11 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
12 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 1
13 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
14 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
15 903 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write client hello
16 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, max version: [3:3]
17 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, current time: 9
18 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: dumping 'client hello, random bytes' (32 bytes)
19 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0000: 00 00 00 09 aa f2 85 23 2d 15 59 b2 cc 72 05 41 .......#-.Y..r.A
20 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0010: a9 87 e2 ec 09 c3 cf a5 32 d1 c0 fd 06 46 a5 da ........2....F..
21 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, session id len.: 0
22 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: dumping 'client hello, session id' (0 bytes)
23 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c0ad
24 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c09f
25 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 006b
26 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c00a
27 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c014
28 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 0039
29 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c0af
30 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c0a3
31 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c02b
32 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c02f
33 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 009e
34 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c0ac
35 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c09e
36 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c023
37 903 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c027
38 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 0067
39 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c009
40 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c013
41 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 0033
42 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c0ae
43 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c0a2
44 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: c09d
45 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 003d
46 906 [iot_thread] mbedTLS: |3| 0x3ffe3424: client hello, add ciphersuite: 0035
93 909 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00f0: 17 00 00 00 10 00 11 00 0f 0e 78 2d 61 6d 7a 6e ..........x-amzn
94 909 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0100: 2d 6d 71 74 74 2d 63 61 00 23 00 00 -mqtt-ca.#..
95 909 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
97 910 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_send() returned 268 (-0xfffffef4)
109 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 0, nb_want: 5
110 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
111 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= fetch input
112 935 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'input record header' (5 bytes)
113 935 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 16 03 03 15 24 ....$
114 935 [iot_thread] mbedTLS: |3| 0x3ffe3424: input record: msgtype = 22, version = [3:3], msglen = 5412
115 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: => fetch input
116 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 5, nb_want: 5417
117 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 5, nb_want: 5417
118 935 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 1395 (-0xfffffa8d)
119 955 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 1400, nb_want: 5417
120 955 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
121 986 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 2800, nb_want: 5417
122 986 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
123 1006 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 4200, nb_want: 5417
124 1006 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 1217 (-0xfffffb3f)
125 1006 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= fetch input
126 1006 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'input record from network' (5417 bytes)
127 1006 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 16 03 03 15 24 02 00 00 51 03 03 08 42 41 50 b8 ....$...Q...BAP.
128 1006 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0010: 94 75 7e 2c 87 ee 8c e1 6e 43 d4 d4 55 b8 c4 73 .u~,....nC..U..s
129 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0020: ef 62 eb 2e b0 34 55 e8 4a 92 e2 20 78 35 1b cd .b...4U.J.. x5..
130 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0030: 55 92 91 94 03 c3 b9 4e 5b 0e 06 a5 d8 ce 9a b7 U......N[.......
131 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0040: f2 4a 75 bf 71 3f e2 a7 e4 84 39 d3 c0 2f 00 00 .Ju.q?....9../..
132 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0050: 09 ff 01 00 01 00 00 17 00 00 0b 00 13 10 00 13 ................
133 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0060: 0d 00 05 a5 30 82 05 a1 30 82 04 89 a0 03 02 01 ....0...0.......
134 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0070: 02 02 10 0c 62 ff 6c 06 6e ad 10 24 28 8a 6c f1 ....b.l.n..$(.l.
135 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0080: 9d d4 dc 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b ...0...*.H......
136 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0090: 05 00 30 46 31 0b 30 09 06 03 55 04 06 13 02 55 ..0F1.0...U....U
137 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00a0: 53 31 0f 30 0d 06 03 55 04 0a 13 06 41 6d 61 7a S1.0...U....Amaz
138 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00b0: 6f 6e 31 15 30 13 06 03 55 04 0b 13 0c 53 65 72 on1.0...U....Ser
139 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00c0: 76 65 72 20 43 41 20 31 42 31 0f 30 0d 06 03 55 ver CA 1B1.0...U
140 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00d0: 04 03 13 06 41 6d 61 7a 6f 6e 30 1e 17 0d 31 39 ....Amazon0...19
141 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00e0: 30 37 30 32 30 30 30 30 30 30 5a 17 0d 32 30 30 0702000000Z..200
142 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00f0: 36 32 38 31 32 30 30 30 30 5a 30 28 31 26 30 24 628120000Z0(1&0$
143 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0100: 06 03 55 04 03 0c 1d 2a 2e 69 6f 74 2e 65 75 2d ..U....*.iot.eu-
144 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0110: 77 65 73 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 west-1.amazonaws
145 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0120: 2e 63 6f 6d 30 82 01 22 30 0d 06 09 2a 86 48 86 .com0.."0...*.H.
146 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0130: f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a ............0...
147 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0140: 02 82 01 01 00 b8 3a fe e9 67 b1 86 99 0c 62 a8 ......:..g....b.
148 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0150: 41 4d 48 4b 9c 21 da df d3 86 97 e0 68 a2 a4 30 AMHK.!......h..0
149 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0160: 6f bd 4b 10 6a 61 b6 1f 86 fe ee 90 e8 b4 2c f3 o.K.ja........,.
150 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0170: 19 78 ae 61 5d 62 db df 67 9e 90 8e 97 69 3f bb .x.a]b..g....i?.
151 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0180: b6 a7 14 c4 82 af 46 b2 25 02 c8 cf 4c 06 30 44 ......F.
152 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0190: da a4 7a bb 69 31 71 c2 9a 5c 1a a0 24 db c9 78 ..z.i1q..\..$..x
153 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 01a0: fa 57 28 93 9c c4 05 bf 0e d8 13 98 20 e0 ba df .W(......... ...
154 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 01b0: 3a 40 c0 0f 9a 30 e3 f3 75 bd d9 57 88 5d a0 86 :@...0..u..W.]..
155 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 01c0: 44 87 f5 e6 9d f0 f4 7c df 73 ba 6c f0 3f 0b 6f D......|.s.l.?.o
156 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 01d0: 07 85 b7 21 7d 22 cd 87 2e 87 a7 19 85 5b 80 ae ...!}".......[..
157 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 01e0: 2e 2f 12 42 39 91 1b d1 ed a4 dc 5b 14 05 87 2b ./.B9......[...+
158 1009 [iot_thread] mbedTLS: |4| 0x3ffe3424: 01f0: 94 cf c4 e3 b0 6d 46 bf 92 27 da 7a 98 91 16 45 .....mF..'.z...E
175 1010 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0300: 2b 06 01 05 05 07 03 02 30 3b 06 03 55 1d 1f 04 +.......0;..U...
182 1011 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0370: 07 01 01 04 69 30 67 30 2d 06 08 2b 06 01 05 05 ....i0g0-..+....
231 1014 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0680: 32 32 30 30 30 30 30 30 5a 17 0d 32 35 31 30 31 22000000Z..25101
232 1014 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0690: 39 30 30 30 30 30 30 5a 30 46 31 0b 30 09 06 03 9000000Z0F1.0...
240 1016 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0710: 1d e6 d1 12 e8 12 28 48 cc e8 29 c1 b9 6e 53 d5 ......(H..)..nS.
241 1016 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0720: a3 eb 03 39 1a cc 77 87 f6 01 b9 d9 70 cc cf 6b ...9..w.....p..k
257 1016 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0820: 01 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 ..0...U.........
258 1018 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0830: 01 86 30 1d 06 03 55 1d 0e 04 16 04 14 59 a4 66 ..0...U......Y.f
262 1020 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0870: 0a 08 30 7b 06 08 2b 06 01 05 05 07 01 01 04 6f ..0{..+........o
310 1023 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0b70: 03 13 10 41 6d 61 7a 6f 6e 20 52 6f 6f 74 20 43 ...Amazon Root C
311 1023 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0b80: 41 20 31 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 A 10.."0...*.H..
323 1023 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0c40: 91 f9 48 dc ff d1 e8 30 2d 7d 2d 74 70 35 d7 88 ..H....0-}-tp5..
324 1024 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0c50: 24 f7 9e c4 59 6e bb 73 87 17 f2 32 46 28 b8 43 $...Yn.s...2F(.C
359 1025 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0e80: 94 e6 39 31 5f 7c 73 cb 90 88 6a 84 11 96 27 a6 ..91_|s...j...'.
363 1027 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0ec0: 17 81 61 f1 ca f9 10 02 24 ab eb 0d 74 91 8d 7b ..a.....$...t..{
408 1030 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'remaining content in record' (5327 bytes)
409 1030 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 0b 00 13 10 00 13 0d 00 05 a5 30 82 05 a1 30 82 ..........0...0.
455 1031 [iot_thread] mbedTLS: |4| 0x3ffe3424: 02e0: 6d 2f 73 63 61 31 62 2e 63 72 6c 30 20 06 03 55 m/sca1b.crl0 ..U
459 1032 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0320: 08 2b 06 01 05 05 07 30 01 86 21 68 74 74 70 3a .+.....0..!http:
463 1033 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0360: 2f 63 72 74 2e 73 63 61 31 62 2e 61 6d 61 7a 6f /crt.sca1b.amazo
479 1035 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0460: 62 1b 62 86 2d 52 19 23 66 a1 be c6 af 39 72 28 b.b.-R.#f....9r(
480 1035 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0470: d5 10 4a c5 f2 66 fe f5 02 21 00 c7 a5 aa b1 30 ..J..f...!.....0
527 1037 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0760: 67 f0 d0 88 ca 3a d1 17 73 f5 5f 9a d4 c5 72 1e g....:..s._...r.
528 1038 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0770: 7e 01 f1 98 30 63 2a aa f2 7a 2d c5 e2 02 1a 86 ~...0c*..z-.....
532 1040 [iot_thread] mbedTLS: |4| 0x3ffe3424: 07b0: 30 82 01 37 30 12 06 03 55 1d 13 01 01 ff 04 08 0..70...U.......
579 1043 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0aa0: 66 69 65 6c 64 20 53 65 72 76 69 63 65 73 20 52 field Services R
580 1043 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0ab0: 6f 6f 74 20 43 65 72 74 69 66 69 63 61 74 65 20 oot Certificate
615 1043 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0ce0: 70 2e 72 6f 6f 74 67 32 2e 61 6d 61 7a 6f 6e 74 p.rootg2.amazont
616 1044 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0cf0: 72 75 73 74 2e 63 6f 6d 30 38 06 08 2b 06 01 05 rust.com08..+...
627 1045 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0da0: 8b 2c e9 0c 9b 6c 45 e2 07 00 7a f9 c5 58 0b b9 .,...lE...z..X..
632 1047 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0df0: f9 9a 7b 22 9d a7 00 09 7e ac 46 17 83 dc 9c 26 ..{"....~.F....&
648 1049 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0ef0: 65 73 2c 20 49 6e 63 2e 31 32 30 30 06 03 55 04 es, Inc.1200..U.
649 1049 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0f00: 0b 13 29 53 74 61 72 66 69 65 6c 64 20 43 6c 61 ..)Starfield Cla
667 1052 [iot_thread] mbedTLS: |3| 0x3ffe3424: peer certificate #1:
668 1052 [iot_thread] mbedTLS: |3| 0x3ffe3424: cert. version : 3
674 1052 [iot_thread] mbedTLS: |3| 0x3ffe3424: signed using : RSA with SHA-256
745 1053 [iot_thread] mbedTLS: |3| 0x3ffe3424: f5 b5 19 f8 49 68 b0 de d7 b9 76 38 1d 61 9e a4
746 1055 [iot_thread] mbedTLS: |3| 0x3ffe3424: fe 82 36 a5 e5 4a 56 e4 45 e1 f9 fd b4 16 fa 74
750 1055 [iot_thread] mbedTLS: |3| 0x3ffe3424: c0 30 86 66 a1 45 66 ba 54 eb a3 c3 91 f9 48 dc
751 1057 [iot_thread] mbedTLS: |3| 0x3ffe3424: ff d1 e8 30 2d 7d 2d 74 70 35 d7 88 24 f7 9e c4
789 1087 [iot_thread] mbedTLS: |3| 0x3ffe3424: Certificate verification flags clear
790 1087 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= parse certificate
791 1087 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 4
792 1087 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
793 1087 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
794 1087 [iot_thread] mbedTLS: |2| 0x3ffe3424: => parse server key exchange
795 1087 [iot_thread] mbedTLS: |2| 0x3ffe3424: => read record
796 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'remaining content in record' (443 bytes)
797 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 0c 00 01 8d 03 00 19 85 04 00 43 63 d8 96 69 79 ..........Cc..iy
798 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0010: 3c f0 99 99 17 7b ad d9 32 0c 32 d7 69 80 9b ac <....{..2.2.i...
799 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0020: 0b 66 46 9f 81 4c 3b 4f 29 ab 30 05 2d 11 91 a8 .fF..L;O).0.-...
800 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0030: 52 db c9 5c ae 7a 37 13 89 db 47 c5 4a 57 ac 2c R..\.z7...G.JW.,
801 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0040: f1 69 19 f1 f7 00 18 d1 58 46 a4 01 d8 6a 8d 8a .i......XF...j..
802 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0050: 45 e5 21 91 c3 51 30 47 36 1f ac 21 7d ca a4 9e E.!..Q0G6..!}...
803 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0060: 2a d5 41 27 03 6b e3 8e c7 6a 97 b1 7f da 4f 67 *.A'.k...j....Og
804 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0070: 53 46 77 cb 56 98 8d ea 1f 55 b3 3e a4 0e 67 96 SFw.V....U.>..g.
805 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0080: bd 28 9e 3d 94 a8 fa 78 8d c3 ba b7 2e 04 01 01 .(.=...x........
806 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0090: 00 72 af c0 85 74 66 de 58 31 b3 b9 fa 70 78 ca .r...tf.X1...px.
807 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00a0: ad 27 d1 0c 3b 73 38 39 e7 79 1a bc ca a1 52 94 .'..;s89.y....R.
808 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00b0: fd 6a 75 04 3a af 89 80 9b b8 10 55 1f d6 08 72 .ju.:......U...r
809 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00c0: 24 0d a2 cc 0d 51 ca 87 ce 94 4b 60 0a b2 1f f5 $....Q....K`....
810 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00d0: 2c 25 95 9a 03 5c b6 37 f4 dc f2 26 06 f2 e6 47 ,\.7...&...G
811 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00e0: d9 c6 1c fb f0 bc b2 2d 03 22 7f cf 1d f7 01 94 .......-."......
812 1087 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00f0: c4 dc 73 86 ad 2b 5a 46 a8 1d 3e 58 e8 20 87 7b ..s..+ZF..>X. .{
826 1089 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= read record
827 1089 [iot_thread] mbedTLS: |3| 0x3ffe3424: dumping 'server key exchange' (397 bytes)
871 1092 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0020: 6a 75 04 3a af 89 80 9b b8 10 55 1f d6 08 72 24 ju.:......U...r$
872 1092 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0030: 0d a2 cc 0d 51 ca 87 ce 94 4b 60 0a b2 1f f5 2c ....Q....K`....,
873 1092 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0040: 25 95 9a 03 5c b6 37 f4 dc f2 26 06 f2 e6 47 d9 \.7...&...G.
888 1109 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= parse server key exchange
889 1109 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 5
890 1109 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
891 1109 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
892 1109 [iot_thread] mbedTLS: |2| 0x3ffe3424: => parse certificate request
893 1109 [iot_thread] mbedTLS: |2| 0x3ffe3424: => read record
894 1112 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'remaining content in record' (42 bytes)
895 1112 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 0d 00 00 22 03 01 02 40 00 1a 06 03 06 01 05 03 ..."...@........
896 1112 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0010: 05 01 04 03 04 01 04 02 03 03 03 01 03 02 02 03 ................
897 1112 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0020: 02 01 02 02 00 00 0e 00 00 00 ..........
898 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: handshake message: msglen = 42, type = 13, hslen = 38
899 1112 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= read record
900 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: got a certificate request
901 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 6,3
902 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 6,1
903 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 5,3
904 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 5,1
905 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 4,3
906 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 4,1
907 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 4,2
908 1112 [iot_thread] mbedTLS: |3| 0x3ffe3424: Supported Signature Algorithm found: 3,3
958 1114 [iot_thread] mbedTLS: |3| 0x3ffe3424: 01 00 01
960 1114 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write record
961 1115 [iot_thread] mbedTLS: |3| 0x3ffe3424: output record: msgtype = 22, version = [3:3], msglen = 872
980 1115 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0110: 06 c5 1f a7 ca c1 8f 27 20 e7 9b b1 93 44 b3 7e .......' ....D.~
1020 1120 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_send() returned 877 (-0xfffffc93)
1021 1120 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
1022 1120 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write record
1023 1120 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write handshake message
1029 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: value of 'ECDH: Q(X)' (521 bits) is:
1030 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: 01 55 1c 09 cd 47 03 4e 17 ad 6e 59 1c 71 34 94
1031 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: 93 aa 3b f6 36 63 60 3c cd e6 b3 8b 2a 1b 90 34
1032 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: 54 b3 32 dd ff f6 e5 e6 84 f6 00 9e db 0d e2 d0
1033 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: 4e f5 97 71 bb 8d fe 4a b2 c7 c8 7b ee 2c f6 3a
1034 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: cf 00
1035 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: value of 'ECDH: Q(Y)' (520 bits) is:
1036 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: 9c a9 49 ae 12 7e ee b6 51 32 5c f0 58 7c 3d ea
1037 1330 [iot_thread] mbedTLS: |3| 0x3ffe3424: e8 90 76 24 d1 29 58 37 f9 c0 04 cd bd 89 11 f8
1038 1332 [iot_thread] mbedTLS: |3| 0x3ffe3424: bf af a2 5b 33 85 c7 57 05 84 c7 32 d3 bc b6 d9
1039 1332 [iot_thread] mbedTLS: |3| 0x3ffe3424: f4 4c 33 1e 35 67 73 fe 56 60 b1 c7 10 1a c3 f0
1040 1332 [iot_thread] mbedTLS: |3| 0x3ffe3424: 4d
1041 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: value of 'ECDH: z' (521 bits) is:
1042 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: 01 67 9a 2f db 7f 9d 29 3f 20 bb a8 49 37 f4 a5
1043 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: c3 1b 27 88 20 05 db 3e 7e 4d bf 02 a0 1d bb 24
1044 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: e5 d4 5f 3b 0d 35 fd 47 6f ce 15 97 c1 65 9d c9
1045 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: 67 05 17 46 51 3d 90 b8 3e 80 05 d5 02 cd 1c d6
1046 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: 58 a1
1047 1549 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write handshake message
1048 1549 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write record
1049 1549 [iot_thread] mbedTLS: |3| 0x3ffe3424: output record: msgtype = 22, version = [3:3], msglen = 138
1050 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'output record sent to network' (143 bytes)
1051 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 16 03 03 00 8a 10 00 00 86 85 04 01 55 1c 09 cd ............U...
1052 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0010: 47 03 4e 17 ad 6e 59 1c 71 34 94 93 aa 3b f6 36 G.N..nY.q4...;.6
1053 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0020: 63 60 3c cd e6 b3 8b 2a 1b 90 34 54 b3 32 dd ff c`<....*..4T.2..
1054 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0030: f6 e5 e6 84 f6 00 9e db 0d e2 d0 4e f5 97 71 bb ...........N..q.
1055 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0040: 8d fe 4a b2 c7 c8 7b ee 2c f6 3a cf 00 00 9c a9 ..J...{.,.:.....
1056 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0050: 49 ae 12 7e ee b6 51 32 5c f0 58 7c 3d ea e8 90 I..~..Q2\.X|=...
1057 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0060: 76 24 d1 29 58 37 f9 c0 04 cd bd 89 11 f8 bf af v$.)X7..........
1058 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0070: a2 5b 33 85 c7 57 05 84 c7 32 d3 bc b6 d9 f4 4c .[3..W...2.....L
1059 1550 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0080: 33 1e 35 67 73 fe 56 60 b1 c7 10 1a c3 f0 4d 3.5gs.V`......M
1060 1550 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
1061 1550 [iot_thread] mbedTLS: |2| 0x3ffe3424: message length: 143, out_left: 143
1062 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_send() returned 143 (-0xffffff71)
1063 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
1064 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write record
1065 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write handshake message
1066 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write client key exchange
1067 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 9
1068 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
1069 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
1070 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write certificate verify
1071 1552 [iot_thread] mbedTLS: |2| 0x3ffe3424: => derive keys
1072 1552 [iot_thread] mbedTLS: |3| 0x3ffe3424: dumping 'premaster secret' (66 bytes)
1073 1552 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0000: 01 67 9a 2f db 7f 9d 29 3f 20 bb a8 49 37 f4 a5 .g./...)? ..I7..
1074 1552 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0010: c3 1b 27 88 20 05 db 3e 7e 4d bf 02 a0 1d bb 24 ..'. ..>~M.....$
1075 1552 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0020: e5 d4 5f 3b 0d 35 fd 47 6f ce 15 97 c1 65 9d c9 .._;.5.Go....e..
1076 1552 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0030: 67 05 17 46 51 3d 90 b8 3e 80 05 d5 02 cd 1c d6 g..FQ=..>.......
1091 1555 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0020: 9f e0 b5 3d 8a 95 f8 8d 68 96 f0 7b 84 a6 e8 fe ...=....h..{....
1092 1555 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'random bytes' (64 bytes)
1093 1555 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 08 42 41 50 b8 94 75 7e 2c 87 ee 8c e1 6e 43 d4 .BAP..u~,....nC.
1121 1935 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write handshake message
1122 1936 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write record
1123 1936 [iot_thread] mbedTLS: |3| 0x3ffe3424: output record: msgtype = 22, version = [3:3], msglen = 264
1124 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'output record sent to network' (269 bytes)
1125 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 16 03 03 01 08 0f 00 01 04 04 01 01 00 3c 3f 0f .............<?.
1126 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0010: ff 04 e8 60 11 53 ae 2f 20 d8 cc 38 dc 2c d9 56 ...`.S./ ..8.,.V
1127 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0020: 28 d7 ef d6 19 b3 aa ee fb ae df 55 e9 73 d2 41 (..........U.s.A
1128 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0030: e0 c9 ab 8d 40 b0 de ee e9 91 f1 a8 f3 e3 34 da ....@.........4.
1129 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0040: d4 5e 06 5d 2b 94 ed 9d e4 76 9f 02 06 5d 4b 41 .^.]+....v...]KA
1130 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0050: b5 dd 97 93 01 84 64 0c 62 23 79 57 1a f4 bd 88 ......d.b#yW....
1131 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0060: 4c 45 61 ac 3d 98 be d1 03 82 30 c1 69 ac 0a fd LEa.=.....0.i...
1132 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0070: b1 bd 5e dc 33 71 78 46 59 14 0c b6 5e 65 0e 4f ..^.3qxFY...^e.O
1133 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0080: f0 95 9d af d8 d2 e8 0d f3 3e d1 89 54 f8 84 36 .........>..T..6
1134 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0090: 89 ea c4 a9 cd 29 03 5b 48 73 af e3 23 de ad 3f .....).[Hs..#..?
1135 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00a0: 67 12 48 2b aa 0c e7 a1 ed 90 85 8b 74 bc 01 1c g.H+........t...
1136 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00b0: b5 9b 4f 93 c2 5c 12 96 5a 89 69 f8 36 1e 46 eb ..O..\..Z.i.6.F.
1137 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00c0: c3 b8 4d 1b fa dc 43 f7 53 6f 69 c0 34 02 eb 09 ..M...C.Soi.4...
1138 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00d0: c1 7a 2c 00 c5 60 41 79 ee e0 1f a2 72 58 f4 08 .z,..`Ay....rX..
1139 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00e0: db 4c 24 73 49 21 06 5f 6b 1d 16 d8 31 a2 fe ce .L$sI!._k...1...
1140 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 00f0: 26 12 6a 05 60 d2 3f d5 14 16 10 80 ce 65 e7 cd &.j.`.?......e..
1141 1936 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0100: dd 89 d1 c8 e9 26 6f 9a 6e d3 28 e5 d9 .....&o.n.(..
1142 1936 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
1143 1936 [iot_thread] mbedTLS: |2| 0x3ffe3424: message length: 269, out_left: 269
1144 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_send() returned 269 (-0xfffffef3)
1145 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
1146 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write record
1147 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write handshake message
1148 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= write certificate verify
1149 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 10
1150 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
1151 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
1152 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write change cipher spec
1153 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write handshake message
1154 1937 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write record
1155 1937 [iot_thread] mbedTLS: |3| 0x3ffe3424: output record: msgtype = 20, version = [3:3], msglen = 1
1156 1937 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'output record sent to network' (6 bytes)
1197 1938 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
1198 1941 [iot_thread] mbedTLS: |2| 0x3ffe3424: message length: 45, out_left: 45
1199 1942 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_send() returned 45 (-0xffffffd3)
1211 1970 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 0, nb_want: 5
1212 1970 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
1213 1970 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= fetch input
1214 1970 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'input record header' (5 bytes)
1215 1971 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 14 03 03 00 01 .....
1216 1971 [iot_thread] mbedTLS: |3| 0x3ffe3424: input record: msgtype = 20, version = [3:3], msglen = 1
1217 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: => fetch input
1218 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 5, nb_want: 6
1219 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 5, nb_want: 6
1220 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
1221 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= fetch input
1222 1971 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'input record from network' (6 bytes)
1223 1971 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 14 03 03 00 01 01 ......
1224 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= read record
1225 1971 [iot_thread] mbedTLS: |3| 0x3ffe3424: switching to new transform spec for inbound data
1226 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= parse change cipher spec
1227 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: client state: 13
1228 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: => flush output
1229 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= flush output
1230 1971 [iot_thread] mbedTLS: |2| 0x3ffe3424: => parse finished
1231 1973 [iot_thread] mbedTLS: |2| 0x3ffe3424: => calc finished tls sha256
1232 1973 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'finished sha2 state' (32 bytes)
1233 1973 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: d1 14 66 ca 38 8f a3 bd dd d2 40 f6 34 d6 f3 09 ..f.8.....@.4...
1234 1973 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0010: 6a 72 09 a1 c1 49 d3 99 00 25 5a 4c 8d 1d 00 20 jr...I...ZL...
1235 1973 [iot_thread] mbedTLS: |3| 0x3ffe3424: dumping 'calc finished result' (12 bytes)
1236 1973 [iot_thread] mbedTLS: |3| 0x3ffe3424: 0000: 9d 64 8e b2 6a f0 c9 87 ad 9f 8e a4 .d..j.......
1237 1973 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= calc finished
1238 1975 [iot_thread] mbedTLS: |2| 0x3ffe3424: => read record
1239 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: => fetch input
1240 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 0, nb_want: 5
1241 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 0, nb_want: 5
1242 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
1243 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= fetch input
1244 1976 [iot_thread] mbedTLS: |4| 0x3ffe3424: dumping 'input record header' (5 bytes)
1245 1976 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 16 03 03 00 28 ....(
1246 1976 [iot_thread] mbedTLS: |3| 0x3ffe3424: input record: msgtype = 22, version = [3:3], msglen = 40
1247 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: => fetch input
1248 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 5, nb_want: 45
1249 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: in_left: 5, nb_want: 45
1250 1976 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_recv(_timeout)() returned 40 (-0xffffffd8)
1278 1978 [iot_thread] mbedTLS: |3| 0x3ffe3424: <= handshake wrapup: final free
1279 1978 [iot_thread] mbedTLS: |3| 0x3ffe3424: <= handshake wrapup
1280 1978 [iot_thread] mbedTLS: |2| 0x3ffe3424: <= handshake
1284 1978 [iot_thread] mbedTLS: |2| 0x3ffe3424: => write
1302 1981 [iot_thread] mbedTLS: |4| 0x3ffe3424: 0000: 00 00 00 00 00 00 00 01 ........
1303 1981 [iot_thread] mbedTLS: |3| 0x3ffe3424: before encrypt: msglen = 144, including 0 bytes of padding
1322 1982 [iot_thread] mbedTLS: |2| 0x3ffe3424: ssl->f_send() returned 165 (-0xffffff5b)
1326 3978 [iot_thread] [INFO ][MQTT][39780] (MQTT connection 0x3ffe3bb0, CONNECT operation 0x3ffe39d4) Wait complete with result TIMEOUT.
1327 3978 [iot_thread] [ERROR][MQTT][39780] Failed to establish new MQTT connection, error TIMEOUT.
1328 3979 [iot_thread] [INFO ][MQTT][39790] Network connection closed on error.
`
After increasing stack size to 20KB
`7 822 [iot_thread] [INFO ][DEMO][8220] Successfully initialized the demo. Network type for the demo: 1
8 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => handshake
9 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 0
10 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
11 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
12 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 1
13 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
14 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
15 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write client hello
16 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, max version: [3:3]
17 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, current time: 9
18 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'client hello, random bytes' (32 bytes)
19 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0000: 00 00 00 09 d0 92 95 51 83 e5 29 89 64 f7 b3 47 .......Q..).d..G
20 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0010: b4 6c 08 91 30 7a 88 cc 1e 34 71 0e 4e 8f a6 de .l..0z...4q.N...
21 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, session id len.: 0
22 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'client hello, session id' (0 bytes)
23 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ad
24 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09f
25 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 006b
26 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c00a
27 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c014
28 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0039
29 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0af
30 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0a3
31 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02b
32 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02f
33 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 009e
34 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ac
35 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09e
36 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c023
37 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c027
38 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0067
39 902 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c009
57 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02d
58 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c025
59 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c004
60 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0a0
97 907 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 268 (-0xfffffef4)
98 907 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
99 907 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write record
109 1016 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 0, nb_want: 5
110 1016 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
111 1016 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
112 1017 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record header' (5 bytes)
113 1017 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 15 24 ....$
114 1017 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: input record: msgtype = 22, version = [3:3], msglen = 5412
115 1018 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => fetch input
116 1018 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 5417
117 1018 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 5417
118 1018 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1395 (-0xfffffa8d)
119 1036 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 1400, nb_want: 5417
120 1036 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
121 1056 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 2800, nb_want: 5417
122 1056 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
123 1076 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 4200, nb_want: 5417
124 1076 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1217 (-0xfffffb3f)
125 1076 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
126 1076 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record from network' (5417 bytes)
127 1076 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 15 24 02 00 00 51 03 03 71 1f 84 cf 1e ....$...Q..q....
128 1076 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: 6b 07 68 cb 8e 1c 4c d9 72 77 78 59 41 1f 31 e4 k.h...L.rwxYA.1.
129 1076 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 8c be 47 45 74 df 46 52 28 f5 84 20 af 92 8b 42 ..GEt.FR(.. ...B
130 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: fa ae 23 d3 53 5e 6a b1 ff b9 44 ae a5 3c b0 a7 ..#.S^j...D..<..
131 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: 0d 58 d5 8b 83 12 c5 32 e7 d1 d9 8c c0 2f 00 00 .X.....2...../..
132 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: 09 ff 01 00 01 00 00 17 00 00 0b 00 13 10 00 13 ................
133 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: 0d 00 05 a5 30 82 05 a1 30 82 04 89 a0 03 02 01 ....0...0.......
134 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: 02 02 10 0c 62 ff 6c 06 6e ad 10 24 28 8a 6c f1 ....b.l.n..$(.l.
135 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: 9d d4 dc 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b ...0...*.H......
136 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0090: 05 00 30 46 31 0b 30 09 06 03 55 04 06 13 02 55 ..0F1.0...U....U
137 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00a0: 53 31 0f 30 0d 06 03 55 04 0a 13 06 41 6d 61 7a S1.0...U....Amaz
138 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00b0: 6f 6e 31 15 30 13 06 03 55 04 0b 13 0c 53 65 72 on1.0...U....Ser
139 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00c0: 76 65 72 20 43 41 20 31 42 31 0f 30 0d 06 03 55 ver CA 1B1.0...U
140 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00d0: 04 03 13 06 41 6d 61 7a 6f 6e 30 1e 17 0d 31 39 ....Amazon0...19
141 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00e0: 30 37 30 32 30 30 30 30 30 30 5a 17 0d 32 30 30 0702000000Z..200
142 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00f0: 36 32 38 31 32 30 30 30 30 5a 30 28 31 26 30 24 628120000Z0(1&0$
143 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0100: 06 03 55 04 03 0c 1d 2a 2e 69 6f 74 2e 65 75 2d ..U....*.iot.eu-
144 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0110: 77 65 73 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 west-1.amazonaws
145 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0120: 2e 63 6f 6d 30 82 01 22 30 0d 06 09 2a 86 48 86 .com0.."0...*.H.
146 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0130: f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a ............0...
147 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0140: 02 82 01 01 00 b8 3a fe e9 67 b1 86 99 0c 62 a8 ......:..g....b.
148 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0150: 41 4d 48 4b 9c 21 da df d3 86 97 e0 68 a2 a4 30 AMHK.!......h..0
149 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0160: 6f bd 4b 10 6a 61 b6 1f 86 fe ee 90 e8 b4 2c f3 o.K.ja........,.
150 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0170: 19 78 ae 61 5d 62 db df 67 9e 90 8e 97 69 3f bb .x.a]b..g....i?.
151 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0180: b6 a7 14 c4 82 af 46 b2 25 02 c8 cf 4c 06 30 44 ......F.
152 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0190: da a4 7a bb 69 31 71 c2 9a 5c 1a a0 24 db c9 78 ..z.i1q..\..$..x
153 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01a0: fa 57 28 93 9c c4 05 bf 0e d8 13 98 20 e0 ba df .W(......... ...
154 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01b0: 3a 40 c0 0f 9a 30 e3 f3 75 bd d9 57 88 5d a0 86 :@...0..u..W.]..
155 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01c0: 44 87 f5 e6 9d f0 f4 7c df 73 ba 6c f0 3f 0b 6f D......|.s.l.?.o
156 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01d0: 07 85 b7 21 7d 22 cd 87 2e 87 a7 19 85 5b 80 ae ...!}".......[..
157 1078 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01e0: 2e 2f 12 42 39 91 1b d1 ed a4 dc 5b 14 05 87 2b ./.B9......[...+
177 1080 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0320: 2f 2f 63 72 6c 2e 73 63 61 31 62 2e 61 6d 61 7a //crl.sca1b.amaz
178 1080 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0330: 6f 6e 74 72 75 73 74 2e 63 6f 6d 2f 73 63 61 31 ontrust.com/sca1
185 1082 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 03a0: 73 74 2e 63 6f 6d 30 36 06 08 2b 06 01 05 05 07 st.com06..+.....
186 1082 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 03b0: 30 02 86 2a 68 74 74 70 3a 2f 2f 63 72 74 2e 73 0..*http://crt.s
232 1083 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0690: 39 30 30 30 30 30 30 5a 30 46 31 0b 30 09 06 03 9000000Z0F1.0...
233 1085 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 06a0: 55 04 06 13 02 55 53 31 0f 30 0d 06 03 55 04 0a U....US1.0...U..
280 1086 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0990: 83 9e b6 e6 45 e0 f2 43 f6 08 de 6d e8 6e db 31 ....E..C...m.n.1
281 1087 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 09a0: 07 13 f0 2f 31 0d 93 6d 61 37 7b 58 f0 fc 51 98 .../1..ma7{X..Q.
302 1088 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0af0: 03 55 04 03 13 32 53 74 61 72 66 69 65 6c 64 20 .U...2Starfield
350 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0df0: 01 00 62 37 42 5c bc 10 b5 3e 8b 2c e9 0c 9b 6c ..b7B\...>.,...l
351 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0e00: 45 e2 07 00 7a f9 c5 58 0b b9 08 8c 3e ed b3 25 E...z..X....>..
391 1093 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: server hello, session id len.: 32
396 1093 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: server hello, chosen ciphersuite: c02f
434 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0190: dc 5b 14 05 87 2b 94 cf c4 e3 b0 6d 46 bf 92 27 .[...+.....mF..'
435 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01a0: da 7a 98 91 16 45 41 3a 3e de 1c 76 dd 90 74 cf .z...EA:>..v..t.
438 1099 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01d0: 69 24 69 6a 26 a1 eb 55 0a da 7f 7f ec f7 e2 54 i$ij&..U.......T
439 1099 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01e0: 53 41 4a d8 18 1e 88 7a 93 43 9d 02 03 01 00 01 SAJ....z.C......
470 1100 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 03d0: 6b b3 d8 71 84 00 00 04 03 00 47 30 45 02 20 60 k..q......G0E. `
488 1103 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 04f0: 21 43 89 b1 38 49 2c 2a 9f 74 6f 58 f9 37 1a 56 !C..8I,*.toX.7.V
489 1103 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0500: d5 31 db 0a b2 3c 3d bc 30 50 18 de 33 12 93 a1 .1...<=.0P..3...
506 1104 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0610: 61 7a 6f 6e 20 52 6f 6f 74 20 43 41 20 31 30 1e azon Root CA 10.
507 1104 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0620: 17 0d 31 35 31 30 32 32 30 30 30 30 30 30 5a 17 ..151022000000Z.
529 1104 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0780: e5 32 3e 0e bd 11 b4 cf 3c 93 ef 17 50 10 9e 43 .2>.....<...P..C
532 1107 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 07b0: 30 82 01 37 30 12 06 03 55 1d 13 01 01 ff 04 08 0..70...U.......
535 1109 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 07e0: 16 04 14 59 a4 66 06 52 a0 7b 95 92 3c a3 94 07 ...Y.f.R.{..<...
583 1112 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0ae0: 0d 33 37 31 32 33 31 30 31 30 30 30 30 5a 30 39 .371231010000Z09
584 1112 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0af0: 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 0f 30 1.0...U....US1.0
585 1112 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0b00: 0d 06 03 55 04 0a 13 06 41 6d 61 7a 6f 6e 31 19 ...U....Amazon1.
630 1114 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0dd0: 7f 16 80 89 6c cf 28 03 18 83 47 79 a3 10 7e 30 ....l.(...Gy..~0
655 1117 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f60: 06 03 55 04 08 13 07 41 72 69 7a 6f 6e 61 31 13 ..U....Arizona1.
656 1117 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f70: 30 11 06 03 55 04 07 13 0a 53 63 6f 74 74 73 64 0...U....Scottsd
662 1119 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0fd0: 74 69 66 69 63 61 74 65 20 41 75 74 68 6f 72 69 tificate Authori
663 1119 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0fe0: 74 79 20 2d 20 47 32 30 82 01 22 30 0d 06 09 2a ty - G20.."0...*
680 1121 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'crt->rsa.N' (2048 bits) is:
681 1121 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: b8 3a fe e9 67 b1 86 99 0c 62 a8 41 4d 48 4b 9c
686 1123 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 31 71 c2 9a 5c 1a a0 24 db c9 78 fa 57 28 93 9c
687 1125 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: c4 05 bf 0e d8 13 98 20 e0 ba df 3a 40 c0 0f 9a
688 1125 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 30 e3 f3 75 bd d9 57 88 5d a0 86 44 87 f5 e6 9d
742 1127 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: d8 d7 88 76 f4 99 68 f7 58 21 60 f9 74 84 01 2f
743 1127 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: ac 02 2d 86 d3 a0 43 7a 4e b2 a4 d0 36 ba 01 be
772 1129 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: b1 1f 3f cb cf 9f 20 13 6d 29 3a c8 0f 7d 3c f7
789 1153 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Certificate verification flags clear
790 1153 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= parse certificate
791 1153 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 4
792 1153 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
793 1153 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
794 1153 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => parse server key exchange
795 1153 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => read record
796 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'remaining content in record' (443 bytes)
797 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 0c 00 01 8d 03 00 19 85 04 00 f7 9f 27 8c 83 00 ............'...
798 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: d8 a7 73 21 80 6d a4 e5 ff df 54 e5 38 36 4f 7b ..s!.m....T.86O{
799 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 13 b5 f2 40 a6 a5 a5 48 bc 45 b4 ca 12 99 b2 88 ...@...H.E......
800 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: 9a 19 3d 74 41 6f 33 4d da 26 43 db e2 13 9a 98 ..=tAo3M.&C.....
801 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: 7b e0 dd fe e4 8c 72 eb 0e d7 da 00 1f 11 36 4a {.....r.......6J
802 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: 91 eb 22 53 e8 d5 c4 a4 82 df c1 d3 59 a3 63 b9 .."S........Y.c.
803 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: 0a e5 3a 3f 0a 12 8d 65 59 36 f1 b1 cb 95 e7 ea ..:?...eY6......
804 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: 47 1e 23 ed 61 fd 53 89 67 43 7c 20 f2 a5 d8 2e G.#.a.S.gC| ....
805 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: 62 66 b3 ca 71 dd db cb 27 6c e3 27 b8 04 01 01 bf..q...'l.'....
806 1153 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0090: 00 48 cc ef 97 a2 07 72 55 e6 9a 9d 20 ad c8 8f .H.....rU... ...
820 1155 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0170: 74 e3 76 f6 64 d2 4b d1 7c 07 a2 3c 22 d3 73 81 t.v.d.K.|..<".s.
843 1155 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 00f0: 4b 77 ce 92 65 a9 b0 25 d8 c2 e2 3f be 0b 93 70 Kw..e..?...p
850 1156 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0160: 66 9e e4 1c ee d0 2b 00 8a 26 9d 8e 74 e3 76 f6 f.....+..&..t.v.
853 1158 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ECDH curve: secp521r1
858 1160 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 43 db e2 13 9a 98 7b e0 dd fe e4 8c 72 eb 0e d7
859 1160 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: da
888 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= parse server key exchange
889 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 5
890 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
891 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
892 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => parse certificate request
893 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => read record
894 1174 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'remaining content in record' (42 bytes)
895 1174 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 0d 00 00 22 03 01 02 40 00 1a 06 03 06 01 05 03 ..."...@........
896 1174 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: 05 01 04 03 04 01 04 02 03 03 03 01 03 02 02 03 ................
897 1174 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 02 01 02 02 00 00 0e 00 00 00 ..........
898 1174 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: handshake message: msglen = 42, type = 13, hslen = 38
899 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= read record
900 1174 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: got a certificate request
901 1174 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 6,3
902 1174 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 6,1
903 1174 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 5,3
904 1174 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 5,1
919 1174 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => read record
930 1178 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: cert. version : 3
931 1178 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: serial number : 98:8E:BC:9A:06:B3:9B:6C:8E:5D:6E:3F:1C:39:F8:F1:FE:66:E4:6F
935 1178 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: expires on : 2049-12-31 23:59:59
946 1181 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 98 82 1d 9f c0 c4 e3 39 eb c1 a8 f1 de 99 0a 23
947 1181 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 2d a8 76 fc 59 37 c6 a4 70 25 c1 fa 8d 17 fe 96
991 1184 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01c0: 71 27 4a 72 eb a6 94 25 19 42 b0 a1 99 ec 55 c0 q'Jr...B....U.
992 1184 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01d0: ac c2 4c 28 52 4d b4 98 4d b3 bd 27 e0 db 8b 74 ..L(RM..M..'...t
1020 1185 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 877 (-0xfffffc93)
1029 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'ECDH: Q(X)' (521 bits) is:
1030 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 01 b8 14 d2 16 af 2e 89 aa 5c 3c 94 b8 af 2d e2
1031 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 97 a4 be fd 77 06 b5 96 4a 49 c9 06 b0 71 89 eb
1032 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 67 74 36 f0 eb 7c 3f e5 28 62 3a 7b c2 8f b3 92
1033 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 72 c5 0c d7 b6 03 59 4c a0 c9 46 75 8d c2 55 27
1034 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 9e e9
1035 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'ECDH: Q(Y)' (520 bits) is:
1036 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: d5 45 5d 00 59 8d 57 69 da 4d f7 fd 54 c4 89 1e
1037 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 9b 86 20 b3 57 c3 c3 09 27 77 92 41 84 9b 52 b8
1038 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 09 08 54 83 ac d7 67 93 21 36 3e 67 e3 1f 61 c8
1039 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: fb 89 f1 bf 35 dc 7e 23 ec c7 c3 2f e8 95 a9 fc
1040 1393 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 31
1041 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'ECDH: z' (521 bits) is:
1042 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 01 56 59 f3 bc 47 1a 81 2b c2 00 f4 ac 8c 4c d0
1043 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 64 b4 19 33 20 d4 08 12 d9 97 94 82 1b 4f 24 8c
1044 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 3b c9 e2 da 51 b9 20 0d 14 e2 b0 2a 1c c6 32 f0
1045 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: c2 4d 9e 9c cc 69 50 4c 97 5a ee 96 20 99 85 d0
1046 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 31 e6
1047 1605 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write handshake message
1048 1605 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write record
1049 1605 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: output record: msgtype = 22, version = [3:3], msglen = 138
1050 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'output record sent to network' (143 bytes)
1051 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 00 8a 10 00 00 86 85 04 01 b8 14 d2 16 ................
1052 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: af 2e 89 aa 5c 3c 94 b8 af 2d e2 97 a4 be fd 77 ....\<...-.....w
1053 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 06 b5 96 4a 49 c9 06 b0 71 89 eb 67 74 36 f0 eb ...JI...q..gt6..
1054 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: 7c 3f e5 28 62 3a 7b c2 8f b3 92 72 c5 0c d7 b6 |?.(b:{....r....
1055 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: 03 59 4c a0 c9 46 75 8d c2 55 27 9e e9 00 d5 45 .YL..Fu..U'....E
1056 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: 5d 00 59 8d 57 69 da 4d f7 fd 54 c4 89 1e 9b 86 ].Y.Wi.M..T.....
1057 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: 20 b3 57 c3 c3 09 27 77 92 41 84 9b 52 b8 09 08 .W...'w.A..R...
1058 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: 54 83 ac d7 67 93 21 36 3e 67 e3 1f 61 c8 fb 89 T...g.!6>g..a...
1059 1605 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: f1 bf 35 dc 7e 23 ec c7 c3 2f e8 95 a9 fc 31 ..5.~#.../....1
1060 1605 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
1061 1605 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: message length: 143, out_left: 143
1062 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 143 (-0xffffff71)
1063 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
1064 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write record
1065 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write handshake message
1066 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write client key exchange
1067 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 9
1068 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
1069 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
1070 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write certificate verify
1071 1606 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => derive keys
1072 1606 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'premaster secret' (66 bytes)
1073 1606 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0000: 01 56 59 f3 bc 47 1a 81 2b c2 00 f4 ac 8c 4c d0 .VY..G..+.....L.
1074 1606 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0010: 64 b4 19 33 20 d4 08 12 d9 97 94 82 1b 4f 24 8c d..3 ........O$.
1078 1607 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: using extended master secret
1082 1608 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0010: 11 be 79 1f f4 e9 a1 57 10 37 8a 38 76 97 60 3a ..y....W.7.8v.`:
1083 1608 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= calc verify
1087 1612 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: ciphersuite = TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
1088 1612 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'master secret' (48 bytes)
1089 1612 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0000: a8 bb c2 93 53 f4 c8 1b 41 58 2c 75 06 bf e0 3c ....S...AX,u...<
1090 1612 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0010: 73 40 0d 29 d8 25 99 cd c4 67 7a 08 38 d7 80 9c s@.).6e-314z.8...
1091 1613 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0020: a8 bd 39 85 75 53 dc 0d 37 27 5b 70 f8 84 7b 0a ..9.uS..7'[p..{.
1092 1613 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'random bytes' (64 bytes)
1094 1614 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: 59 41 1f 31 e4 8c be 47 45 74 df 46 52 28 f5 84 YA.1...GEt.FR(..
1121 1985 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write handshake message
1122 1985 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write record
1123 1985 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: output record: msgtype = 22, version = [3:3], msglen = 264
1124 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'output record sent to network' (269 bytes)
1125 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 01 08 0f 00 01 04 04 01 01 00 59 fa 53 .............Y.S
1126 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: d6 d7 5e 3e 6a da 7b db dc 6a 62 0c a0 3e 22 45 ..^>j.{..jb..>"E
1127 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: ce d5 f4 b5 5e fd 62 1c 8e f6 c5 d8 f1 a0 6d 1a ....^.b.......m.
1128 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: fc a4 32 a4 f3 c2 ae 1e 54 86 fb 9a ac cd 57 e1 ..2.....T.....W.
1129 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: eb 60 1c f3 59 a1 dd ba ca e1 21 94 6d 5b 8f 61 .`..Y.....!.m[.a
1130 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: 8b df 7d cc 8d 38 8e 96 22 13 5c 33 14 25 fc 38 ..}..8..".\3.
1131 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: f5 26 0c 79 2b d0 c3 5f 90 e0 6f 6c 23 e8 da 2c .&.y+.._..ol#..,
1132 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: 12 c9 00 ee 74 cb 14 b2 0f 68 54 22 77 c3 67 e5 ....t....hT"w.g.
1133 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: b8 47 8f 00 85 eb 69 a0 90 a1 8e a2 4f cf f9 d6 .G....i.....O...
1134 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0090: 0c c6 db 0a 0c e1 ae 5a 87 b0 fc a7 0e 90 a8 f6 .......Z........
1135 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00a0: d6 39 01 e3 f6 79 1b 35 45 28 18 d2 f3 de 47 77 .9...y.5E(....Gw
1136 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00b0: 7c 8c c5 7c 9a 8c 71 e4 0d 58 55 97 7f f7 ae dc |..|..q..XU.....
1137 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00c0: c1 0b a9 7d f6 62 25 35 67 cb 69 10 9d bf ee 76 ...}.b4.45619e-313.i....v
1138 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00d0: d1 aa d4 1a 37 c0 71 ba 62 e3 3e cf 81 10 4e 6d ....7.q.b.>...Nm
1139 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00e0: 94 bc 19 c9 d1 9c 11 cd b3 15 81 3b 21 b8 1a 6c ...........;!..l
1140 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00f0: 16 14 c7 3d ff 3d 69 89 c4 5d ba 53 d2 fa d6 9b ...=.=i..].S....
1141 1985 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0100: ef b7 3d ab 75 25 6a 0f 85 55 17 13 95 ..=.u73014444032...
1142 1985 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
1143 1985 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: message length: 269, out_left: 269
1144 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 269 (-0xfffffef3)
1145 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
1146 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write record
1147 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write handshake message
1148 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write certificate verify
1149 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 10
1150 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
1151 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
1152 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write change cipher spec
1153 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write handshake message
1154 1986 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write record
1160 1987 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 6 (-0xfffffffa)
1185 1989 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: ee e9 07 2c 00 00 00 00 00 00 00 00 ...,........
1186 1989 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'IV used (transmitted)' (8 bytes)
1199 1990 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 45 (-0xffffffd3)
1211 2008 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 0, nb_want: 5
1212 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
1213 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
1214 2011 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record header' (5 bytes)
1215 2011 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 14 03 03 00 01 .....
1216 2011 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: input record: msgtype = 20, version = [3:3], msglen = 1
1217 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => fetch input
1218 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 6
1219 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 6
1220 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
1221 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
1222 2011 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record from network' (6 bytes)
1223 2011 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 14 03 03 00 01 01 ......
1224 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= read record
1225 2011 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: switching to new transform spec for inbound data
1226 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= parse change cipher spec
1227 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 13
1228 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
1229 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
1230 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => parse finished
1231 2011 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => calc finished tls sha256
1232 2011 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'finished sha2 state' (32 bytes)
1233 2011 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: fb 28 32 5d 10 e9 06 20 e4 fd 42 7f 03 21 1b e7 .(2]... ..B..!..
1258 2012 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 00 00 00 00 00 00 00 00 16 03 03 00 10 .............
1259 2012 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'IV used' (12 bytes)
1263 2013 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= decrypt buf
1266 2013 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: handshake message: msglen = 16, type = 20, hslen = 16
1285 2015 [iot_thread] [INFO ][MQTT][20150] Network connection closed on error.
1286 2015 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write close notify
1315 2016 [iot_thread] [INFO ][MQTT][20160] (MQTT connection 0x3ffe3e90) Network connection destroyed.
`
After increasing to 30KB
`7 820 [iot_thread] [INFO ][DEMO][8200] Successfully initialized the demo. Network type for the demo: 1
8 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => handshake
9 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 0
10 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
11 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
12 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 1
13 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
14 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
15 894 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write client hello
16 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, max version: [3:3]
17 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, current time: 8
18 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'client hello, random bytes' (32 bytes)
19 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0000: 00 00 00 08 a3 0c 1a 4a a7 36 29 4a 19 61 65 b6 .......J.6)J.ae.
20 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0010: dd 54 5e 2b 3c a0 39 b5 5b b4 f4 c5 67 d5 fc 97 .T^+<.9.[...g...
21 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, session id len.: 0
22 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'client hello, session id' (0 bytes)
23 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ad
24 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09f
25 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 006b
26 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c00a
27 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c014
28 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0039
29 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0af
30 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0a3
31 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02b
32 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02f
33 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 009e
34 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ac
35 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09e
36 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c023
37 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c027
38 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0067
39 894 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c009
40 896 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c013
41 897 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0033
42 897 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ae
43 898 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0a2
44 898 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09d
45 898 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 003d
96 901 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: message length: 268, out_left: 268
97 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 268 (-0xfffffef4)
98 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
99 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write record
100 902 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write handshake message
109 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 0, nb_want: 5
110 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
111 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
112 1019 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record header' (5 bytes)
113 1019 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 15 24 ....$
114 1019 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: input record: msgtype = 22, version = [3:3], msglen = 5412
115 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => fetch input
116 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 5417
117 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 5417
118 1019 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1395 (-0xfffffa8d)
119 1039 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 1400, nb_want: 5417
120 1039 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
121 1070 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 2800, nb_want: 5417
122 1070 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
123 1091 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 4200, nb_want: 5417
124 1091 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1217 (-0xfffffb3f)
125 1091 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
126 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record from network' (5417 bytes)
127 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 15 24 02 00 00 51 03 03 15 b8 a3 6d 02 ....$...Q.....m.
128 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: 1b 8f bf cc 08 46 29 47 5c a2 27 53 84 5f 96 e3 .....F)G\.'S._..
129 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: c0 95 a9 7f 32 56 07 de ac dc 9f 20 88 16 b7 99 ....2V..... ....
130 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: 26 20 23 84 7e 45 b8 91 8b 03 79 f2 8c a4 e6 a6 & #.~E....y.....
131 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: 41 29 38 60 ab 64 97 de 6c cd 89 27 c0 2f 00 00 A)8`.d..l..'./..
132 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: 09 ff 01 00 01 00 00 17 00 00 0b 00 13 10 00 13 ................
133 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: 0d 00 05 a5 30 82 05 a1 30 82 04 89 a0 03 02 01 ....0...0.......
134 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: 02 02 10 0c 62 ff 6c 06 6e ad 10 24 28 8a 6c f1 ....b.l.n..$(.l.
135 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: 9d d4 dc 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b ...0...*.H......
136 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0090: 05 00 30 46 31 0b 30 09 06 03 55 04 06 13 02 55 ..0F1.0...U....U
137 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00a0: 53 31 0f 30 0d 06 03 55 04 0a 13 06 41 6d 61 7a S1.0...U....Amaz
138 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00b0: 6f 6e 31 15 30 13 06 03 55 04 0b 13 0c 53 65 72 on1.0...U....Ser
139 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00c0: 76 65 72 20 43 41 20 31 42 31 0f 30 0d 06 03 55 ver CA 1B1.0...U
140 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00d0: 04 03 13 06 41 6d 61 7a 6f 6e 30 1e 17 0d 31 39 ....Amazon0...19
141 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00e0: 30 37 30 32 30 30 30 30 30 30 5a 17 0d 32 30 30 0702000000Z..200
142 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00f0: 36 32 38 31 32 30 30 30 30 5a 30 28 31 26 30 24 628120000Z0(1&0$
143 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0100: 06 03 55 04 03 0c 1d 2a 2e 69 6f 74 2e 65 75 2d ..U....*.iot.eu-
144 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0110: 77 65 73 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 west-1.amazonaws
145 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0120: 2e 63 6f 6d 30 82 01 22 30 0d 06 09 2a 86 48 86 .com0.."0...*.H.
146 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0130: f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a ............0...
147 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0140: 02 82 01 01 00 b8 3a fe e9 67 b1 86 99 0c 62 a8 ......:..g....b.
148 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0150: 41 4d 48 4b 9c 21 da df d3 86 97 e0 68 a2 a4 30 AMHK.!......h..0
149 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0160: 6f bd 4b 10 6a 61 b6 1f 86 fe ee 90 e8 b4 2c f3 o.K.ja........,.
150 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0170: 19 78 ae 61 5d 62 db df 67 9e 90 8e 97 69 3f bb .x.a]b..g....i?.
151 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0180: b6 a7 14 c4 82 af 46 b2 25 02 c8 cf 4c 06 30 44 ......F.
152 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0190: da a4 7a bb 69 31 71 c2 9a 5c 1a a0 24 db c9 78 ..z.i1q..\..$..x
153 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01a0: fa 57 28 93 9c c4 05 bf 0e d8 13 98 20 e0 ba df .W(......... ...
154 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01b0: 3a 40 c0 0f 9a 30 e3 f3 75 bd d9 57 88 5d a0 86 :@...0..u..W.]..
169 1091 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 02a0: 6f 74 2e 65 75 2d 77 65 73 74 2d 31 2e 61 6d 61 ot.eu-west-1.ama
170 1093 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 02b0: 7a 6f 6e 61 77 73 2e 63 6f 6d 82 1d 2a 2e 69 6f zonaws.com..*.io
171 1093 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 02c0: 74 2e 65 75 2d 77 65 73 74 2d 31 2e 61 6d 61 7a t.eu-west-1.amaz
172 1094 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 02d0: 6f 6e 61 77 73 2e 63 6f 6d 30 0e 06 03 55 1d 0f onaws.com0...U..
177 1097 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0320: 2f 2f 63 72 6c 2e 73 63 61 31 62 2e 61 6d 61 7a //crl.sca1b.amaz
178 1097 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0330: 6f 6e 74 72 75 73 74 2e 63 6f 6d 2f 73 63 61 31 ontrust.com/sca1
179 1097 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0340: 62 2e 63 72 6c 30 20 06 03 55 1d 20 04 19 30 17 b.crl0 ..U. ..0.
182 1099 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0370: 07 01 01 04 69 30 67 30 2d 06 08 2b 06 01 05 05 ....i0g0-..+....
215 1100 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0580: f0 7a bd 46 05 e1 55 ab ac 51 32 00 4a 9e 9f 1a .z.F..U..Q2.J...
216 1101 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0590: 85 fc 6b 3e fb 2d f3 56 ad e4 35 75 bd 70 37 c7 ..k>.-.V..5u.p7.
228 1102 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0650: 06 03 55 04 0a 13 06 41 6d 61 7a 6f 6e 31 19 30 ..U....Amazon1.0
275 1105 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0940: 81 0c 01 02 01 30 0d 06 09 2a 86 48 86 f7 0d 01 .....0...*.H....
276 1105 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0950: 01 0b 05 00 03 82 01 01 00 85 92 be 35 bb 79 cf ............5.y.
322 1107 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0c30: 6f 89 a3 51 c0 30 86 66 a1 45 66 ba 54 eb a3 c3 o..Q.0.f.Ef.T...
323 1107 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0c40: 91 f9 48 dc ff d1 e8 30 2d 7d 2d 74 70 35 d7 88 ..H....0-}-tp5..
333 1107 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0ce0: 85 34 ec bc 0c 94 94 2e 08 59 9c c7 b2 10 4e 0a .4.......Y....N.
336 1108 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0d10: 91 83 30 78 06 08 2b 06 01 05 05 07 01 01 04 6c ..0x..+........l
337 1110 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0d20: 30 6a 30 2e 06 08 2b 06 01 05 05 07 30 01 86 22 0j0...+.....0.."
377 1113 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0fa0: 37 33 39 31 36 5a 30 81 98 31 0b 30 09 06 03 55 73916Z0..1.0...U
378 1113 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0fb0: 04 06 13 02 55 53 31 10 30 0e 06 03 55 04 08 13 ....US1.0...U...
423 1114 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00e0: 0f 00 30 82 01 0a 02 82 01 01 00 b8 3a fe e9 67 ..0.........:..g
426 1115 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0110: ee 90 e8 b4 2c f3 19 78 ae 61 5d 62 db df 67 9e ....,..x.a]b..g.
429 1116 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0140: 1a a0 24 db c9 78 fa 57 28 93 9c c4 05 bf 0e d8 ..$..x.W(.......
449 1118 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0280: 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 05 a0 30 ...U...........0
496 1120 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0570: 9f 93 b4 dc e9 53 c5 ed 5c 87 3e 0f de 5c 3f 9d .....S..\.>..\?.
497 1120 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0580: d4 ce fc 31 86 21 01 71 f6 c6 88 b7 ce 93 b6 54 ...1.!.q.......T
523 1121 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0720: f5 5f 9e 99 4d e7 6b 37 ef a4 50 3e 44 ec fa 5a ._..M.k7..P>D..Z
533 1124 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 07c0: 30 06 01 01 ff 02 01 00 30 0e 06 03 55 1d 0f 01 0.......0...U...
534 1124 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 07d0: 01 ff 04 04 03 02 01 86 30 1d 06 03 55 1d 0e 04 ........0...U...
579 1124 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0aa0: 66 69 65 6c 64 20 53 65 72 76 69 63 65 73 20 52 field Services R
580 1126 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0ab0: 6f 6f 74 20 43 65 72 74 69 66 69 63 61 74 65 20 oot Certificate
588 1128 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0b30: 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f .*.H............
600 1128 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0bf0: 2d 74 70 35 d7 88 24 f7 9e c4 59 6e bb 73 87 17 -tp5..$...Yn.s..
657 1131 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f80: 61 6c 65 31 25 30 23 06 03 55 04 0a 13 1c 53 74 ale1....St
658 1131 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f90: 61 72 66 69 65 6c 64 20 54 65 63 68 6e 6f 6c 6f arfield Technolo
670 1134 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: issuer name : C=US, O=Amazon, OU=Server CA 1B, CN=Amazon
671 1134 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: subject name : CN=*.iot.eu-west-1.amazonaws.com
730 1136 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: cert. version : 3
731 1136 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: serial number : 06:7F:94:4A:2A:27:CD:F3:FA:C2:AE:2B:01:F9:08:EE:B9:C4:C6
740 1138 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'crt->rsa.N' (2048 bits) is:
741 1140 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: b2 78 80 71 ca 78 d5 e3 71 af 47 80 50 74 7d 6e
742 1140 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: d8 d7 88 76 f4 99 68 f7 58 21 60 f9 74 84 01 2f
789 1170 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Certificate verification flags clear
790 1170 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= parse certificate
791 1170 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 4
792 1170 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
793 1170 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
794 1170 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => parse server key exchange
795 1170 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => read record
796 1170 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'remaining content in record' (443 bytes)
797 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 0c 00 01 8d 03 00 19 85 04 01 85 4f d0 83 f6 86 ...........O....
798 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: d8 f0 2f 4c 4b a2 52 2a bd 18 bd 32 11 e5 73 0b ../LK.R*...2..s.
799 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 9d 65 e4 fa d3 72 10 75 59 5e 0c 26 79 f3 d2 f3 .e...r.uY^.&y...
800 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: 3e 76 58 4d 5f d3 70 51 34 9c 66 0a 69 fa d9 e9 >vXM_.pQ4.f.i...
801 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: 91 e0 ae 6a 54 a2 9c 43 d6 ce 6a 01 01 37 b9 0b ...jT..C..j..7..
802 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: a7 33 15 39 3a a2 df 55 bb 03 94 8b 9e a6 ca 34 .3.9:..U.......4
803 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: f1 d8 df 19 95 f8 5b 2e 39 25 50 bd 04 10 ad a9 ......[.9P.....
804 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: c5 fb 64 e8 8b c2 49 a7 2a 38 c4 df 9c 34 24 96 ..d...I.*8...4$.
805 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: 24 fb 12 92 7f 52 fb d6 88 b6 e0 d0 b9 04 01 01 $....R..........
806 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0090: 00 a5 c0 b1 89 d0 cf e9 a1 77 21 d1 8c b6 b0 7e .........w!....~
807 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00a0: 75 30 87 39 96 7b 81 cc 36 86 e9 9e 33 27 e7 9d u0.9.{..6...3'..
808 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00b0: 1a 80 69 b5 5d f5 0e 72 74 50 d9 66 4a 7b 49 34 ..i.]..rtP.fJ{I4
809 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00c0: 63 b8 0e 82 71 0c 67 18 b8 18 1a de 8e da 37 d5 c...q.g.......7.
810 1171 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00d0: 31 a8 dd 4f 73 94 82 3f 02 40 78 31 59 2a 05 d3 1..Os..?.@x1Y*..
811 1173 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00e0: c4 e4 14 7d 11 ed 67 91 30 13 0a a3 1f 71 70 12 ...}..g.0....qp.
812 1173 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00f0: 26 d0 6a da 6d e5 e8 35 9b 4c d6 9a 0d 72 9f 33 &.j.m..5.L...r.3
813 1173 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0100: df a3 e3 59 46 07 cd 5c df a0 94 e6 72 f2 91 89 ...YF..\....r...
814 1173 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0110: b4 0d e6 4b a0 31 27 61 0e 90 c9 98 b3 1b e9 8a ...K.1'a........
853 1176 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ECDH curve: secp521r1
854 1176 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'ECDH: Qp(X)' (521 bits) is:
855 1176 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 01 85 4f d0 83 f6 86 d8 f0 2f 4c 4b a2 52 2a bd
885 1177 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'parameters hash' (32 bytes)
886 1177 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0000: 7e 58 a2 cb 3e a7 51 e9 44 44 2c aa ab aa f7 cb ~X..>.Q.DD,.....
888 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= parse server key exchange
889 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 5
890 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
891 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
892 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => parse certificate request
893 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => read record
894 1193 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'remaining content in record' (42 bytes)
895 1193 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 0d 00 00 22 03 01 02 40 00 1a 06 03 06 01 05 03 ..."...@........
896 1193 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: 05 01 04 03 04 01 04 02 03 03 03 01 03 02 02 03 ................
897 1193 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 02 01 02 02 00 00 0e 00 00 00 ..........
898 1193 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: handshake message: msglen = 42, type = 13, hslen = 38
899 1193 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= read record
900 1193 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: got a certificate request
901 1193 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 6,3
902 1193 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 6,1
903 1193 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: Supported Signature Algorithm found: 5,3
949 1196 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: fd fe e0 b7 cf 65 08 39 41 cc 4b f9 dd 09 82 18
950 1196 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0b da ab 37 2b 9b 86 b7 8a d1 4f cd 2d 0a 2d ea
994 1197 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01f0: 5e b3 02 03 01 00 01 a3 60 30 5e 30 1f 06 03 55 ^.......`0^0...U
1001 1199 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0260: 86 f7 0d 01 01 0b 05 00 03 82 01 01 00 80 2b e7 ..............+.
1020 1199 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 877 (-0xfffffc93)
1021 1202 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
1022 1202 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write record
1029 1408 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'ECDH: Q(X)' (515 bits) is:
1030 1408 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 07 db c8 af d4 8e a9 b8 6d 3a 41 e5 00 3c 5b dd
1031 1408 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: b3 87 af 98 b6 35 88 84 80 43 c1 ba 94 28 ff b0
1032 1408 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 45 4b b2 84 9d 35 fd a0 51 f8 de 0e 02 a0 0c bb
1033 1409 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 63 29 15 3c 06 64 84 08 2e 19 df ea cd ef 75 f5
1034 1409 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 02
1035 1409 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: value of 'ECDH: Q(Y)' (521 bits) is:
1036 1409 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 01 37 1a 50 1d 33 fd 39 08 b9 82 c7 c4 78 bd 4b
1037 1410 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: c3 92 24 d4 cc 1d 76 71 9e 45 fe 63 c8 1b 0d 02
1038 1410 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: ce 3c 71 e1 95 bb 87 a9 11 91 45 3b 34 7d 67 35
1039 1410 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 4e e9 a6 83 fe 10 15 d0 ad 4e ea 74 c1 5e 06 dd
1040 1410 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 83 ef
1041 1533 [iot_thread] mbedTLS: |1| 0x3ffe1cb0: mbedtls_ecdh_calc_secret() returned -16 (-0x0010)
1042 1533 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= handshake
1043 1533 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write close notify
1044 1533 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= write close notify
1045 1533 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => free
1046 1533 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= free
1047 1533 [iot_thread] ERROR: Handshake failed with error code -16
1048 1533 [iot_thread] [ERROR][NET][15330] Failed to establish new connection.
1049 1535 [iot_thread] [ERROR][MQTT][15350] Failed to establish new MQTT connection, error NETWORK ERROR.
`
After increasing to 40KB
`7 820 [iot_thread] [INFO ][DEMO][8200] Successfully initialized the demo. Network type for the demo: 1
8 904 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => handshake
9 904 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 0
10 904 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
11 904 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
12 905 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: client state: 1
13 905 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
14 905 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
15 905 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write client hello
16 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, max version: [3:3]
17 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, current time: 9
18 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'client hello, random bytes' (32 bytes)
19 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0000: 00 00 00 09 00 32 02 46 bd 95 bc 2b f0 d9 a2 4f .....2.F...+...O
20 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: 0010: 87 3e 94 87 02 b3 03 2e a4 59 4d 7c 86 2a 82 c4 .>.......YM|.*..
21 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, session id len.: 0
22 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: dumping 'client hello, session id' (0 bytes)
23 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ad
24 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09f
25 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 006b
26 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c00a
27 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c014
28 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0039
29 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0af
30 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0a3
31 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02b
32 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c02f
33 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 009e
34 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ac
35 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c09e
36 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c023
37 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c027
38 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0067
39 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c009
40 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c013
41 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: 0033
42 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0ae
43 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, add ciphersuite: c0a2
66 905 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, adding signature_algorithms extension
67 906 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, adding supported_elliptic_curves extension
68 906 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: client hello, adding supported_point_formats extension
75 909 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => write record
76 909 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: output record: msgtype = 22, version = [3:1], msglen = 263
77 909 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'output record sent to network' (268 bytes)
97 910 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_send() returned 268 (-0xfffffef4)
98 911 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= flush output
109 1033 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 0, nb_want: 5
110 1033 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
111 1033 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
112 1033 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record header' (5 bytes)
113 1033 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 15 24 ....$
114 1033 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: input record: msgtype = 22, version = [3:3], msglen = 5412
115 1033 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => fetch input
116 1033 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 5417
117 1033 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 5, nb_want: 5417
118 1034 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1395 (-0xfffffa8d)
119 1054 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 1400, nb_want: 5417
120 1054 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
121 1074 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 2800, nb_want: 5417
122 1075 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1400 (-0xfffffa88)
123 1095 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: in_left: 4200, nb_want: 5417
124 1095 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: ssl->f_recv(_timeout)() returned 1217 (-0xfffffb3f)
125 1095 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: <= fetch input
126 1095 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: dumping 'input record from network' (5417 bytes)
127 1095 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0000: 16 03 03 15 24 02 00 00 51 03 03 cc fa ef 87 65 ....$...Q......e
128 1095 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0010: b9 30 a9 1a a2 cf 4a e0 46 bd 55 46 2a b8 69 74 .0....J.F.UF*.it
129 1095 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0020: 1a 6e 60 3a 25 4b 3e d2 ea 2f 5b 20 5f 19 49 db .n`:K>../[ _.I.
130 1095 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0030: 4e ee 15 09 1a 39 f9 58 75 f9 29 64 ce de 89 65 N....9.Xu.)d...e
131 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0040: a4 1a b2 c2 d9 48 15 47 3c 04 e9 e3 c0 2f 00 00 .....H.G<..../..
132 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0050: 09 ff 01 00 01 00 00 17 00 00 0b 00 13 10 00 13 ................
133 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0060: 0d 00 05 a5 30 82 05 a1 30 82 04 89 a0 03 02 01 ....0...0.......
134 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0070: 02 02 10 0c 62 ff 6c 06 6e ad 10 24 28 8a 6c f1 ....b.l.n..$(.l.
135 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0080: 9d d4 dc 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b ...0...*.H......
136 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0090: 05 00 30 46 31 0b 30 09 06 03 55 04 06 13 02 55 ..0F1.0...U....U
137 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00a0: 53 31 0f 30 0d 06 03 55 04 0a 13 06 41 6d 61 7a S1.0...U....Amaz
138 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00b0: 6f 6e 31 15 30 13 06 03 55 04 0b 13 0c 53 65 72 on1.0...U....Ser
139 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00c0: 76 65 72 20 43 41 20 31 42 31 0f 30 0d 06 03 55 ver CA 1B1.0...U
140 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00d0: 04 03 13 06 41 6d 61 7a 6f 6e 30 1e 17 0d 31 39 ....Amazon0...19
141 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00e0: 30 37 30 32 30 30 30 30 30 30 5a 17 0d 32 30 30 0702000000Z..200
142 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00f0: 36 32 38 31 32 30 30 30 30 5a 30 28 31 26 30 24 628120000Z0(1&0$
143 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0100: 06 03 55 04 03 0c 1d 2a 2e 69 6f 74 2e 65 75 2d ..U....*.iot.eu-
144 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0110: 77 65 73 74 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 west-1.amazonaws
145 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0120: 2e 63 6f 6d 30 82 01 22 30 0d 06 09 2a 86 48 86 .com0.."0...*.H.
146 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0130: f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a ............0...
147 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0140: 02 82 01 01 00 b8 3a fe e9 67 b1 86 99 0c 62 a8 ......:..g....b.
148 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0150: 41 4d 48 4b 9c 21 da df d3 86 97 e0 68 a2 a4 30 AMHK.!......h..0
149 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0160: 6f bd 4b 10 6a 61 b6 1f 86 fe ee 90 e8 b4 2c f3 o.K.ja........,.
150 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0170: 19 78 ae 61 5d 62 db df 67 9e 90 8e 97 69 3f bb .x.a]b..g....i?.
151 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0180: b6 a7 14 c4 82 af 46 b2 25 02 c8 cf 4c 06 30 44 ......F.
152 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0190: da a4 7a bb 69 31 71 c2 9a 5c 1a a0 24 db c9 78 ..z.i1q..\..$..x
153 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01a0: fa 57 28 93 9c c4 05 bf 0e d8 13 98 20 e0 ba df .W(......... ...
154 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01b0: 3a 40 c0 0f 9a 30 e3 f3 75 bd d9 57 88 5d a0 86 :@...0..u..W.]..
155 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01c0: 44 87 f5 e6 9d f0 f4 7c df 73 ba 6c f0 3f 0b 6f D......|.s.l.?.o
156 1096 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 01d0: 07 85 b7 21 7d 22 cd 87 2e 87 a7 19 85 5b 80 ae ...!}".......[..
179 1099 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0340: 62 2e 63 72 6c 30 20 06 03 55 1d 20 04 19 30 17 b.crl0 ..U. ..0.
180 1099 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0350: 30 0b 06 09 60 86 48 01 86 fd 6c 01 02 30 08 06 0...`.H...l..0..
181 1099 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0360: 06 67 81 0c 01 02 01 30 75 06 08 2b 06 01 05 05 .g.....0u..+....
196 1100 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0450: 93 6d fd 9b 50 4e ca 04 03 02 21 00 d5 ce e1 cc .m..PN....!.....
228 1101 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0650: 06 03 55 04 0a 13 06 41 6d 61 7a 6f 6e 31 19 30 ..U....Amazon1.0
229 1101 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0660: 17 06 03 55 04 03 13 10 41 6d 61 7a 6f 6e 20 52 ...U....Amazon R
251 1102 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 07c0: d1 17 73 f5 5f 9a d4 c5 72 1e 7e 01 f1 98 30 63 ..s._...r.~...0c
299 1105 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0ac0: 64 61 6c 65 31 25 30 23 06 03 55 04 0a 13 1c 53 dale1....S
311 1105 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0b80: 41 20 31 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 A 10.."0...*.H..
358 1109 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0e70: d5 0e 20 2e fe ff c2 6a 5d 2e a0 4a 6d 14 58 87 .. ....j]..Jm.X.
359 1109 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0e80: 94 e6 39 31 5f 7c 73 cb 90 88 6a 84 11 96 27 a6 ..91_|s...j...'.
383 1109 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: handshake message: msglen = 5412, type = 2, hslen = 85
401 1111 [iot_thread] mbedTLS: |3| 0x3ffe1cb0: found extended_master_secret extension
420 1114 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00b0: 6f 74 2e 65 75 2d 77 65 73 74 2d 31 2e 61 6d 61 ot.eu-west-1.ama
421 1114 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 00c0: 7a 6f 6e 61 77 73 2e 63 6f 6d 30 82 01 22 30 0d zonaws.com0.."0.
458 1116 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0310: 08 2b 06 01 05 05 07 01 01 04 69 30 67 30 2d 06 .+........i0g0-.
459 1117 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0320: 08 2b 06 01 05 05 07 30 01 86 21 68 74 74 70 3a .+.....0..!http:
464 1118 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0370: 6e 74 72 75 73 74 2e 63 6f 6d 2f 73 63 61 31 62 ntrust.com/sca1b
511 1120 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0660: 30 13 06 03 55 04 0b 13 0c 53 65 72 76 65 72 20 0...U....Server
512 1120 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0670: 43 41 20 31 42 31 0f 30 0d 06 03 55 04 03 13 06 CA 1B1.0...U....
519 1122 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 06e0: 94 2a 4e 13 d6 a7 bd 04 ec 0a 16 3c 0a eb 39 b1 .*N........<..9.
567 1123 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 09e0: 5e b4 0f a3 4c 60 ca e1 47 cb 78 2d 12 17 b1 52 ^...L`..G.x-...R
575 1123 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0a60: 53 63 6f 74 74 73 64 61 6c 65 31 25 30 23 06 03 Scottsdale1
576 1125 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0a70: 55 04 0a 13 1c 53 74 61 72 66 69 65 6c 64 20 54 U....Starfield T
602 1128 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0c10: 2d 4b f7 71 5c 5e 69 ff ea 95 02 cb 38 8a ae 50 -K.q\^i.....8..P
603 1128 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0c20: 38 6f db fb 2d 62 1b c5 c7 1e 54 e1 77 e0 67 c8 8o..-b....T.w.g.
649 1128 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f00: 0b 13 29 53 74 61 72 66 69 65 6c 64 20 43 6c 61 ..)Starfield Cla
650 1130 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f10: 73 73 20 32 20 43 65 72 74 69 66 69 63 61 74 69 ss 2 Certificati
651 1130 [iot_thread] mbedTLS: |4| 0x3ffe1cb0: 0f20: 6f 6e 20 41 75 74 68 6f 72 69 74 79 30 1e 17 0d on Authority0...
673 1135 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: => flush output
674 1135 [iot_thread] mbedTLS: |2| 0x3ffe1cb0: message length: 7, out_left: 7
687 1136 [iot_thread] [ERROR][MQTT][11360] Failed to establish new MQTT connection, error NETWORK ERROR.
`
The file you requested is attached below.
/*
*
* Automatically generated file; DO NOT EDIT.
* Espressif IoT Development Framework Configuration
*
*/
#define CONFIG_ESP32_PHY_MAX_TX_POWER 20
#define CONFIG_FREERTOS_LEGACY_TICK_HOOK 1
#define CONFIG_TRACEMEM_RESERVE_DRAM 0x0
#define CONFIG_FREERTOS_MAX_TASK_NAME_LEN 16
#define CONFIG_FATFS_LFN_NONE 1
#define CONFIG_FATFS_CODEPAGE_437 1
#define CONFIG_PARTITION_TABLE_OFFSET 0x8000
#define CONFIG_SW_COEXIST_ENABLE 1
#define CONFIG_SPIFFS_USE_MAGIC_LENGTH 1
#define CONFIG_ESPTOOLPY_FLASHSIZE_4MB 1
#define CONFIG_IPC_TASK_STACK_SIZE 1024
#define CONFIG_FATFS_PER_FILE_CACHE 1
#define CONFIG_ESPTOOLPY_FLASHFREQ "40m"
#define CONFIG_MBEDTLS_KEY_EXCHANGE_RSA 1
#define CONFIG_NIMBLE_PINNED_TO_CORE 0
#define CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE 0
#define CONFIG_MBEDTLS_AES_C 1
#define CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED 1
#define CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN 752
#define CONFIG_MBEDTLS_GCM_C 1
#define CONFIG_ESPTOOLPY_FLASHSIZE "4MB"
#define CONFIG_HEAP_POISONING_DISABLED 1
#define CONFIG_SPIFFS_CACHE_WR 1
#define CONFIG_BROWNOUT_DET_LVL_SEL_0 1
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER 1
#define CONFIG_NIMBLE_ROLE_CENTRAL 1
#define CONFIG_BTDM_CONTROLLER_MODEM_SLEEP 1
#define CONFIG_NIMBLE_L2CAP_COC_MAX_NUM 0
#define CONFIG_SPIFFS_CACHE 1
#define CONFIG_INT_WDT 1
#define CONFIG_MBEDTLS_SSL_PROTO_TLS1 1
#define CONFIG_FREERTOS_LEGACY_IDLE_HOOK 1
#define CONFIG_MBEDTLS_ECDSA_C 1
#define CONFIG_ESPTOOLPY_FLASHFREQ_40M 1
#define CONFIG_LOG_BOOTLOADER_LEVEL_INFO 1
#define CONFIG_BOOTLOADER_OTA_ROLLBACK 1
#define CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE 0
#define CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS 1
#define CONFIG_MBEDTLS_ECDH_C 1
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE 1
#define CONFIG_MBEDTLS_ECP_RESTARTABLE 1
#define CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM 16
#define CONFIG_MBEDTLS_SSL_ALPN 1
#define CONFIG_MBEDTLS_PEM_WRITE_C 1
#define CONFIG_BOOTLOADER_OTA_NO_FORCE_ROLLBACK 1
#define CONFIG_LOG_DEFAULT_LEVEL_INFO 1
#define CONFIG_BT_RESERVE_DRAM 0x10000
#define CONFIG_NIMBLE_MAX_CONNECTIONS 1
#define CONFIG_FATFS_FS_LOCK 0
#define CONFIG_SPIFFS_META_LENGTH 4
#define CONFIG_ESP32_PANIC_PRINT_REBOOT 1
#define CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED 1
#define CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED 1
#define CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL 5
#define CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION 1
#define CONFIG_CONSOLE_UART_BAUDRATE 115200
#define CONFIG_NIMBLE_SM_SC 1
#define CONFIG_FREERTOS_USE_TRACE_FACILITY 1
#define CONFIG_TIMER_TASK_STACK_DEPTH 3584
#define CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED 1
#define CONFIG_FATFS_CODEPAGE 437
#define CONFIG_NIMBLE_ROLE_BROADCASTER 1
#define CONFIG_ESP32_DEFAULT_CPU_FREQ_160 1
#define CONFIG_ULP_COPROC_RESERVE_MEM 0
#define CONFIG_ESPTOOLPY_BAUD 921600
#define CONFIG_ADC_CAL_LUT_ENABLE 1
#define CONFIG_FLASHMODE_DIO 1
#define CONFIG_NIMBLE_MAX_BONDS 3
#define CONFIG_ESPTOOLPY_AFTER_RESET 1
#define CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED 1
#define CONFIG_TOOLPREFIX "xtensa-esp32-elf-"
#define CONFIG_MBEDTLS_ECP_C 1
#define CONFIG_FREERTOS_IDLE_TASK_STACKSIZE 1024
#define CONFIG_MBEDTLS_RC4_DISABLED 1
#define CONFIG_CONSOLE_UART_NUM 0
#define CONFIG_ESP32_APPTRACE_LOCK_ENABLE 1
#define CONFIG_PTHREAD_STACK_MIN 768
#define CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC 1
#define CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS 1
#define CONFIG_CONSOLE_UART_DEFAULT 1
#define CONFIG_NIMBLE_HCI_EVT_LO_BUF_COUNT 8
#define CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 16384
#define CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS 4
#define CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK 1
#define CONFIG_NIMBLE_SVC_GAP_APPEARANCE 0x0
#define CONFIG_ESPTOOLPY_FLASHSIZE_DETECT 1
#define CONFIG_NIMBLE_MAX_CCCDS 10
#define CONFIG_PARTITION_TABLE_CUSTOM 1
#define CONFIG_TIMER_TASK_STACK_SIZE 3584
#define CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE 1
#define CONFIG_MBEDTLS_X509_CRL_PARSE_C 1
#define CONFIG_MBEDTLS_CMAC_C 1
#define CONFIG_SPIFFS_USE_MAGIC 1
#define CONFIG_NIMBLE_SM_LEGACY 1
#define CONFIG_TASK_WDT 1
#define CONFIG_MAIN_TASK_STACK_SIZE 3584
#define CONFIG_SPIFFS_PAGE_CHECK 1
#define CONFIG_TASK_WDT_TIMEOUT_S 10
#define CONFIG_INT_WDT_TIMEOUT_MS 10000
#define CONFIG_NIMBLE_ATT_PREFERRED_MTU 256
#define CONFIG_ESPTOOLPY_FLASHMODE "dio"
#define CONFIG_NIMBLE_SVC_GAP_DEVICE_NAME "nimble"
#define CONFIG_NEWLIB_STDIN_LINE_ENDING_CR 1
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA 1
#define CONFIG_NIMBLE_ROLE_OBSERVER 1
#define CONFIG_ESPTOOLPY_BEFORE "default_reset"
#define CONFIG_ADC2_DISABLE_DAC 1
#define CONFIG_LOG_DEFAULT_LEVEL 3
#define CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION 1
#define CONFIG_TIMER_QUEUE_LENGTH 10
#define CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT 1
#define CONFIG_MAKE_WARN_UNDEFINED_VARIABLES 1
#define CONFIG_FATFS_TIMEOUT_MS 10000
#define CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM 64
#define CONFIG_MBEDTLS_CCM_C 1
#define CONFIG_NIMBLE_HCI_EVT_BUF_SIZE 70
#define CONFIG_SPI_MASTER_ISR_IN_IRAM 1
#define CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER 20
#define CONFIG_ESP32_RTC_CLK_CAL_CYCLES 1024
#define CONFIG_ESP32_WIFI_TX_BA_WIN 6
#define CONFIG_ESP32_WIFI_NVS_ENABLED 1
#define CONFIG_IDF_TARGET_ESP32 1
#define CONFIG_BTDM_LPCLK_SEL_MAIN_XTAL 1
#define CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED 1
#define CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED 1
#define CONFIG_FREERTOS_LEGACY_HOOKS 1
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA 1
#define CONFIG_PYTHON "python"
#define CONFIG_MBEDTLS_ECP_NIST_OPTIM 1
#define CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1 1
#define CONFIG_ESPTOOLPY_COMPRESSED 1
#define CONFIG_PARTITION_TABLE_FILENAME "partition-table.csv"
#define CONFIG_MBEDTLS_SSL_PROTO_TLS1_1 1
#define CONFIG_ESP32_WIFI_MGMT_SBUF_NUM 32
#define CONFIG_ESP32_WIFI_RX_BA_WIN 6
#define CONFIG_MBEDTLS_X509_CSR_PARSE_C 1
#define CONFIG_SPIFFS_USE_MTIME 1
#define CONFIG_NIMBLE_HCI_EVT_HI_BUF_COUNT 30
#define CONFIG_SW_COEXIST_PREFERENCE_VALUE 2
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA 1
#define CONFIG_MBEDTLS_DEBUG 1
#define CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE 2048
#define CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V 1
#define CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY 2000
#define CONFIG_BROWNOUT_DET_LVL 0
#define CONFIG_BTDM_CONTROLLER_BR_EDR_SCO_DATA_PATH_PCM 1
#define CONFIG_MBEDTLS_PEM_PARSE_C 1
#define CONFIG_SPIFFS_GC_MAX_RUNS 10
#define CONFIG_ESP32_APPTRACE_DEST_NONE 1
#define CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC 1
#define CONFIG_MBEDTLS_SSL_PROTO_TLS1_2 1
#define CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA 1
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM 64
#define CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED 1
#define CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED 1
#define CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ 160
#define CONFIG_MBEDTLS_HARDWARE_AES 1
#define CONFIG_FREERTOS_HZ 100
#define CONFIG_LOG_COLORS 1
#define CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE 1
#define CONFIG_STACK_CHECK_NONE 1
#define CONFIG_ADC_CAL_EFUSE_TP_ENABLE 1
#define CONFIG_FREERTOS_ASSERT_FAIL_ABORT 1
#define CONFIG_BROWNOUT_DET 1
#define CONFIG_ESP32_XTAL_FREQ 40
#define CONFIG_MONITOR_BAUD_115200B 1
#define CONFIG_LOG_BOOTLOADER_LEVEL 3
#define CONFIG_MBEDTLS_TLS_ENABLED 1
#define CONFIG_NIMBLE_ROLE_PERIPHERAL 1
#define CONFIG_MBEDTLS_SSL_SESSION_TICKETS 1
#define CONFIG_SPIFFS_MAX_PARTITIONS 3
#define CONFIG_ESP_ERR_TO_NAME_LOOKUP 1
#define CONFIG_MBEDTLS_SSL_RENEGOTIATION 1
#define CONFIG_ESPTOOLPY_BEFORE_RESET 1
#define CONFIG_NIMBLE_ACL_BUF_COUNT 12
#define CONFIG_ESPTOOLPY_BAUD_OTHER_VAL 115200
#define CONFIG_WARN_WRITE_STRINGS 1
#define CONFIG_SPIFFS_OBJ_NAME_LEN 32
#define CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT 6
#define CONFIG_PARTITION_TABLE_MD5 1
#define CONFIG_ESPTOOLPY_AFTER "hard_reset"
#define CONFIG_ESP32_XTAL_FREQ_40 1
#define CONFIG_FREERTOS_INTERRUPT_BACKTRACE 1
#define CONFIG_WL_SECTOR_SIZE 4096
#define CONFIG_ESP32_DEBUG_OCDAWARE 1
#define CONFIG_TIMER_TASK_PRIORITY 5
#define CONFIG_MBEDTLS_TLS_CLIENT 1
#define CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI 1
#define CONFIG_NIMBLE_GAP_DEVICE_NAME_MAX_LEN 31
#define CONFIG_BTDM_CONTROLLER_BR_EDR_SCO_DATA_PATH_EFF 1
#define CONFIG_BT_ENABLED 1
#define CONFIG_SW_COEXIST_PREFERENCE_BALANCE 1
#define CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED 1
#define CONFIG_MONITOR_BAUD 115200
#define CONFIG_ESP32_DEBUG_STUBS_ENABLE 1
#define CONFIG_BOOTLOADER_WDT_TIME_MS 60000
#define CONFIG_FREERTOS_CORETIMER_0 1
#define CONFIG_PARTITION_TABLE_CUSTOM_FILENAME "partition-table.csv"
#define CONFIG_MBEDTLS_HAVE_TIME 1
#define CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY 1
#define CONFIG_ADC_CAL_EFUSE_VREF_ENABLE 1
#define CONFIG_MBEDTLS_TLS_SERVER 1
#define CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT 1
#define CONFIG_FREERTOS_ISR_STACKSIZE 1536
#define CONFIG_OPENSSL_ASSERT_DO_NOTHING 1
#define CONFIG_IDF_TARGET "esp32"
#define CONFIG_NIMBLE_ENABLED 1
#define CONFIG_WL_SECTOR_SIZE_4096 1
#define CONFIG_OPTIMIZATION_LEVEL_DEBUG 1
#define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 1
#define CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED 1
#define CONFIG_FREERTOS_UNICORE 1
#define CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED 1
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA 1
#define CONFIG_SYSTEM_EVENT_QUEUE_SIZE 32
#define CONFIG_NIMBLE_NVS_PERSIST 1
#define CONFIG_ESP32_WIFI_TX_BUFFER_TYPE 1
#define CONFIG_SUPPORT_STATIC_ALLOCATION 1
#define CONFIG_ESPTOOLPY_BAUD_921600B 1
#define CONFIG_BOOTLOADER_WDT_ENABLE 1
#define CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED 1
#define CONFIG_SPI_FLASH_ROM_DRIVER_PATCH 1
#define CONFIG_SPIFFS_PAGE_SIZE 256
#define CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED 1
#define CONFIG_NIMBLE_ACL_BUF_SIZE 255
#define CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT 3072
#define CONFIG_MONITOR_BAUD_OTHER_VAL 115200
#define CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF 1
#define CONFIG_ESPTOOLPY_PORT "COM3"
#define CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS 1
#define CONFIG_BTDM_MODEM_SLEEP_MODE_ORIG 1
#define CONFIG_ESP32_WIFI_IRAM_OPT 1
Hello Sumit,
I noticed you increased the TLS fragment length:
#define CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 16384
This is double the size that Amazon FreeRTOS tests with. Is there a business need for this update? If there is not, I would recommend using all of the default mbedtls settings by undoing your changes to sdkconfig.
Also my other question has not been answered. Did you reach the vApplicationStackOverflowHook() when you set a break point in there?
Unfortunately the mbedtls logs can lag behind the application. To get exact error information at which part in the handshake we will need to insert a loop before your application ends:
while(1)
{
vTaskDelay( 1000 );
}
And keep running until all of the mbedtls logs to to the handshake error have finished. There is no need to keep playing with the stack size.
Also on another note, some platforms can only support one MQTT connection active a time. Please make sure you only have ONE connection at a time in the system.
I got the issue.
If I connect MQTT using my own wifi handler MQTT agent is not connecting. The thread is connecting wifi on it's own. So there must be a conflict.
I have to look for different approach for connecting the wifi. Do you have suggestions on that? Should I start a new issue closing this current thread?
I didn't change
#define CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 16384
it was by default in the Kconfig in this directory "amazon-freertos\vendors\espressif\boards\esp32\aws_demos\application_code\espressif_code\mbedtls"
Please open a new issue and close this one.
Describe the bug MQTT agent was connecting with TLS certificates in MQTT v1. After porting the same application on MQTT v2 with same connect flags( mqttagentREQUIRE_TLS | mqttagentUSE_AWS_IOT_ALPN_443 ) and credentials MQTT_AGENT_CONNECT() fails to connect with AWS broker via wifi while MQTT Demo is working fine.
System information
democonfigMQTT_AGENT_CONNECT_FLAGS,
pdFALSE,
clientcredentialMQTT_BROKER_PORT,
( const uint8_t ) ( clientcredentialIOT_THING_NAME ), ( uint16_t ) strlen( ( const char ) clientcredentialIOT_THING_NAME ),
pdFALSE,
NULL,
MQTTAgentCallback,
NULL,
0
};
Expected behavior Should connect with AWS mqtt broker
Screenshots or console output 37 1270 [MqttTask] ERROR: Handshake failed with error code -9984 38 1270 [MqttTask] [ERROR][NET][12700] Failed to establish new connection. 39 1270 [MqttTask] [ERROR][MQTT][12700] Failed to establish new MQTT connection, error NETWORK ERROR.