nrf5340 Enabling WiFi

This ticket is the continuation and related to the previous ticket on the matter:
https://devzone.nordicsemi.com/f/nordic-q-a/121669/enabling-the-tls-layer-to-get-a-https-connection-going

Here is the full project in this link:

files.ro/.../uheAZuqLyOqf61U7

(note: the link has a 24H expiry date)

The way I build and flash is:

- navigate in terminal to /Users/tudor/Documents/GitHub/micropython_nrf/ports/zephyr

- run this command once: west build -b nrf7002dk/nrf5340/cpuapp/ns --pristine 

- run this command 2-3 times to make the build succeed: west build -b nrf7002dk/nrf5340/cpuapp/ns

- then flash normally with: west flash

To run the connection: open the usb serial and this should bring the MicroPython REPL up. Example of normal startup:

[00:00:00.382,019] <inf> wifi_nrf: Configuring SLEEP CTRL GPIO control register

[00:00:00.518,493] <dbg> net_dns_resolve: dns_resolve_init_locked: (main): [0] 8.8.8.8
[00:00:00.526,977] <dbg> net_dns_resolve: dns_resolve_init_locked: (main): [1] 8.8.4.4
[00:00:00.535,736] <dbg> net_sock: zsock_socket_internal: (main): socket: ctx=0x2000a9a0, fd=3
[00:00:00.544,952] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Service WEST_TOPDIR/zephyr/subsys/net/lib/dhcpv4/dhcpv4_server.c:1535 has 1 pollable sockets
[00:00:00.561,187] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Service WEST_TOPDIR/zephyr/subsys/net/lib/dns/resolve.c:41 has 2 pollable sockets
[00:00:00.576,477] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Monitoring 3 socket entries
[00:00:00.587,493] <dbg> net_sock: zsock_socket_internal: (main): socket: ctx=0x2000aa50, fd=5
*** Booting nRF Connect SDK v3.0.0-3bfc46578e42 ***
*** Using Zephyr OS v4.0.99-a0e545cb437a ***
[00:00:00.606,323] <inf> net_config: Initializing network
[00:00:00.612,121] <inf> net_config: Waiting interface 1 (0x20008e00) to be up...
[00:00:00.621,063] <inf> wifi_supplicant: wpa_supplicant initialized
[00:00:00.628,326] <inf> net_config: IPv4 address: 192.168.1.1
[00:00:00.634,582] <inf> net_config: Running dhcpv4 client...
MicroPython v1.24.0-preview.469.g54a132e70.dirty on 2025-06-17; zephyr-nrf7002dk with nrf5340
Type "help()" for more information.
>>>

In REPL, run the commands:

import sock_test

sock_test.do_steps()

This executes the function inside the python file located at: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/modules/sock_test.py

That file is designed as a script that essentially emulates the behaviour of the of the https_sample since it connects to the WiFi, gets DNS address, brings up a socket and connects it to google.com and then tries the request from line 79:

httpreq = 'HEAD / HTTP/1.1 \r\nHost: '+ host +":"+ str(port) +'\r\nConnection: close\r\n\r\n'

Note:

Lines 27 and 29 are very important:

# wlan.scan()

wlan.connect("TP-Link_7474", "55920322", network.SECURITY_PSK, 4)

Scan is there and commented since for wlan.connect() you need to provide the channel number as the final parameter.

  • Extra info.

    Since the last posting in the previous ticket, I noticed that by lowering the WiFi heap to 40Kb via:

    CONFIG_NRF_WIFI_DATA_HEAP_SIZE=40000

    the TLS handshake seemingly succeeds, but there's no reply coming from the host. Latest logs:

    [00:00:00.501,556] <inf> wifi_nrf: Configuring SLEEP CTRL GPIO control register
    
    [00:00:00.638,031] <dbg> net_dns_resolve: dns_resolve_init_locked: (main): [0] 8.8.8.8
    [00:00:00.646,514] <dbg> net_dns_resolve: dns_resolve_init_locked: (main): [1] 8.8.4.4
    [00:00:00.655,303] <dbg> net_sock: zsock_socket_internal: (main): socket: ctx=0x2000a9a0, fd=3
    [00:00:00.664,489] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Service WEST_TOPDIR/zephyr/subsys/net/lib/dhcpv4/dhcpv4_server.c:1535 has 1 pollable sockets
    [00:00:00.680,725] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Service WEST_TOPDIR/zephyr/subsys/net/lib/dns/resolve.c:41 has 2 pollable sockets
    [00:00:00.696,014] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Monitoring 3 socket entries
    [00:00:00.707,061] <dbg> net_sock: zsock_socket_internal: (main): socket: ctx=0x2000aa50, fd=5
    *** Booting nRF Connect SDK v3.0.0-3bfc46578e42 ***
    *** Using Zephyr OS v4.0.99-a0e545cb437a ***
    [00:00:00.725,860] <inf> net_config: Initializing network
    [00:00:00.731,658] <inf> net_config: Waiting interface 1 (0x20008e00) to be up...
    [00:00:00.740,600] <inf> wifi_supplicant: wpa_supplicant initialized
    [00:00:00.747,863] <inf> net_config: IPv4 address: 192.168.1.1
    [00:00:00.754,150] <inf> net_config: Running dhcpv4 client...
    MicroPython v1.24.0-preview.469.g54a132e70.dirty on 2025-06-18; zephyr-nrf7002dk with nrf5340
    Type "help()" for more information.
    >>>
    >>>
    >>>
    >>>
    >>> import sock_test
    >>>
    >>> sock_test.do_steps()
    Starting nrf7002dk with CPU frequency: 64 MHz
    Bringing interface up!
    [00:01:54.404,022] <inf> wifimod: Connection requested
    [00:01:54.409,606] <inf> wifimod: ==================
    [00:01:54.415,557] <inf> wifimod: State: SCANNING
    [00:01:54.420,776] <inf> wifimod: Net If state: 5
    Dead here...INTERESTING!!!
    [00:01:54.726,104] <inf> wifimod: ==================
    [00:01:54.731,475] <inf> wifimod: State: AUTHENTICATING
    [00:01:54.737,213] <inf> wifimod: Net If state: 5
    [00:01:54.863,677] <dbg> net_sock_packet: zpacket_received_cb: (rx_q[0]): ctx=0x2000ab00, pkt=0x20048c00, st=0, user_data=(nil)
    [00:01:54.886,474] <dbg> net_sock_packet: zpacket_received_cb: (rx_q[0]): ctx=0x2000ab00, pkt=0x20048bc0, st=0, user_data=(nil)
    [00:01:54.912,048] <inf> wifimod: Wi-Fi connect result: status...
    [00:01:54.918,548] <inf> wifimod: Connected
    Waiting for IP address...
    Waiting for IP address...
    Waiting for IP address...
    Waiting for IP address...
    [00:01:58.142,517] <dbg> net_sock: zsock_close_ctx: (rx_q[0]): close: ctx=0x2000a9a0, fd=3
    [00:01:58.151,336] <dbg> net_sock: zsock_close_ctx: (rx_q[0]): close: ctx=0x2000aa50, fd=5
    [00:01:58.160,491] <dbg> net_sock: zsock_socket_internal: (rx_q[0]): socket: ctx=0x2000a9a0, fd=3
    [00:01:58.170,349] <dbg> net_sock: zsock_socket_internal: (rx_q[0]): socket: ctx=0x2000aa50, fd=5
    [00:01:58.181,213] <dbg> net_sock_svc: socket_service_thread: (net_socket_service): Received restart event.
    [00:01:58.248,901] <inf> net_dhcpv4: Received: 192.168.0.250
    [00:01:58.255,126] <inf> net_config: IPv4 address: 192.168.0.250
    [00:01:58.261,535] <inf> net_config: Lease time: 7200 seconds
    [00:01:58.267,761] <inf> net_config: Subnet: 255.255.255.0
    [00:01:58.273,712] <inf> net_config: Router: 192.168.0.1
    [00:01:58.279,541] <inf> wifimod: Net MGMT: Got IP via DHCP
    DHCP IP address: 192.168.0.250
    Waiting for IP address...
    Resolving google.com...
    Using system DNS resolver...
    Querying DNS for google.com (type 1)...
    [00:02:00.068,756] <dbg> net_dns_resolve: dns_write: (mp_main): [0] submitting work to server idx 0 for id 49073 hash 59079
    semaphore wait...1
    [00:02:00.112,182] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000a9a0, pkt=0x20048bc0, st=0, user_data=(nil)
    DNS CALLBACK: status=-100
    DNS CALLBACK: status=-103
    Giving semaphore on info == NULL
    something...1
    Resolved: [(1, 1, 6, '', ('142.250.180.238', 443))]
    Success!
    Trying to initialize socket...
    Family: 1, socktype: 1, proto: 259
    Dead here...68
    [00:02:00.146,423] <dbg> net_sock_tls: tls_alloc: (mp_main): Allocated TLS context, 0x20009c38
    [00:02:00.156,158] <dbg> net_sock: zsock_socket_internal: (mp_main): socket: ctx=0x2000abb0, fd=16
    Dead here...69
    Returned value: 15
    Done initializing socket!
    Performing TLS setup...
    Trying 1...42
    1 is done
    2 is done
    3 is done
    TLS setup complete.
    Connecting to: ('142.250.180.238', 443)
    [00:02:02.252,899] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:02.263,214] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:02.273,803] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:02.284,393] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_HELLO_REQUEST
    [00:02:02.297,058] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:02.307,647] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:02.318,237] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CLIENT_HELLO
    [00:02:02.330,810] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0921: => write client hello
    [00:02:02.342,620] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: dumping 'client hello, random bytes' (32 bytes)
    [00:02:02.356,231] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0000:  f2 10 c1 89 06 01 da 86 d4 28 36 13 8a 1c e9 f6  .........(6.....
    [00:02:02.372,039] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0010:  3c b8 4a 42 e8 86 71 67 bc 1a 5a 9e 57 7a f8 c8  <.JB..qg..Z.Wz..
    [00:02:02.387,573] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0512: dumping 'session id' (0 bytes)
    [00:02:02.399,505] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c024, TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384
    [00:02:02.415,466] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c028, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384
    [00:02:02.431,213] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 006b, TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
    [00:02:02.446,807] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00a, TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA
    [00:02:02.462,493] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c014, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA
    [00:02:02.477,996] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0039, TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    [00:02:02.493,316] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c023, TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256
    [00:02:02.509,277] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c027, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256
    [00:02:02.525,054] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0067, TLS-DHE-RSA-WITH-AES-128-CBC-SHA256
    [00:02:02.540,649] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c009, TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA
    [00:02:02.556,335] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c013, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA
    [00:02:02.571,838] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0033, TLS-DHE-RSA-WITH-AES-128-CBC-SHA
    [00:02:02.587,219] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003d, TLS-RSA-WITH-AES-256-CBC-SHA256
    [00:02:02.602,447] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0035, TLS-RSA-WITH-AES-256-CBC-SHA
    [00:02:02.617,431] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02a, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA384
    [00:02:02.633,117] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00f, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
    [00:02:02.648,559] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c026, TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA384
    [00:02:02.664,428] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c005, TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA
    [00:02:02.680,023] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003c, TLS-RSA-WITH-AES-128-CBC-SHA256
    [00:02:02.695,281] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 002f, TLS-RSA-WITH-AES-128-CBC-SHA
    [00:02:02.710,235] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c029, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA256
    [00:02:02.725,921] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00e, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA
    [00:02:02.741,363] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c025, TLS-ECDH-ECDSA-WITH-AES-128-CBC-SHA256
    [00:02:02.757,232] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c004, TLS-ECDH-ECDSA-WITH-AES-128-CBC-SHA
    [00:02:02.772,796] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0388: adding EMPTY_RENEGOTIATION_INFO_SCSV
    [00:02:02.785,217] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0397: client hello, got 25 cipher suites
    [00:02:02.797,485] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0041: client hello, adding server name extension: google.com
    [00:02:02.811,462] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0231: client hello, adding supported_groups extension
    [00:02:02.824,859] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0250: got supported group(001d)
    [00:02:02.836,303] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0282: NamedGroup: x25519 ( 1d )
    [00:02:02.847,778] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0250: got supported group(0017)
    [00:02:02.859,222] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0282: NamedGroup: secp256r1 ( 17 )
    [00:02:02.870,971] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: dumping 'Supported groups extension' (6 bytes)
    [00:02:02.884,399] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: 0000:  00 04 00 1d 00 17                                ......
    [00:02:02.899,047] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9503: adding signature_algorithms extension
    [00:02:02.911,346] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9523: got signature scheme [603] ecdsa_secp521r1_sha512
    [00:02:02.924,621] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9532: sent signature scheme [603] ecdsa_secp521r1_sha512
    [00:02:02.938,018] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9523: got signature scheme [601] rsa_pkcs1_sha512
    [00:02:02.950,775] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9532: sent signature scheme [601] rsa_pkcs1_sha512
    [00:02:02.963,653] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9523: got signature scheme [503] ecdsa_secp384r1_sha384
    [00:02:02.976,959] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9532: sent signature scheme [503] ecdsa_secp384r1_sha384
    [00:02:02.990,325] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9523: got signature scheme [501] rsa_pkcs1_sha384
    [00:02:03.003,112] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9532: sent signature scheme [501] rsa_pkcs1_sha384
    [00:02:03.015,960] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9523: got signature scheme [403] ecdsa_secp256r1_sha256
    [00:02:03.029,266] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9532: sent signature scheme [403] ecdsa_secp256r1_sha256
    [00:02:03.042,633] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9523: got signature scheme [401] rsa_pkcs1_sha256
    [00:02:03.055,419] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9532: sent signature scheme [401] rsa_pkcs1_sha256
    [00:02:03.068,267] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0105: client hello, adding supported_point_formats extension
    [00:02:03.082,763] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0150: client hello, adding ecjpake_kkpp extension
    [00:02:03.096,313] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0165: generating new ecjpake parameters
    [00:02:03.209,777] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0338: client hello, adding extended_master_secret extension
    [00:02:03.224,182] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0372: client hello, adding session ticket extension
    [00:02:03.237,945] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0689: client hello, total extension length: 395
    [00:02:03.250,793] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: dumping 'client hello extensions' (395 bytes)
    [00:02:03.264,251] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0000:  01 8b 00 00 00 0f 00 0d 00 00 0a 67 6f 6f 67 6c  ...........googl
    [00:02:03.280,059] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0010:  65 2e 63 6f 6d 00 0a 00 06 00 04 00 1d 00 17 00  e.com...........
    [00:02:03.295,898] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0020:  0d 00 0e 00 0c 06 03 06 01 05 03 05 01 04 03 04  ................
    [00:02:03.311,706] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0030:  01 00 0b 00 02 01 00 01 00 01 4a 41 04 b4 3d 3f  ..........JA..=?
    [00:02:03.327,514] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0040:  49 08 5b 59 ff 70 5d 53 b7 54 d5 9f 44 c0 5a 5c  I.[Y.p]S.T..D.Z\
    [00:02:03.343,322] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0050:  56 d9 0e f6 90 d7 d8 62 02 ab e7 ea 59 f6 21 c3  V......b....Y.!.
    [00:02:03.359,130] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0060:  ee 78 0a 3a 88 3b 49 51 b4 f6 37 71 f3 24 25 5a  .x.:.;IQ..7q.$%Z
    [00:02:03.374,938] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0070:  56 df 0b ec 5c f9 6a 05 2d 29 45 a3 a3 41 04 d5  V...\.j.-)E..A..
    [00:02:03.390,747] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0080:  bf 0d 1b 18 5e 5f e1 f9 bd dd cf 5b b1 02 fe 91  ....^_.....[....
    [00:02:03.406,555] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0090:  74 6d 6b 2e f2 6a 03 78 81 0c 32 bc b4 e9 70 8f  tmk..j.x..2...p.
    [00:02:03.422,332] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 00a0:  a2 e4 b4 bb 7d 89 e7 ea 9d da 97 3a b4 2a ee dd  ....}......:.*..
    [00:02:03.438,140] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 00b0:  b1 5a ae 34 4a b3 68 d6 f0 56 25 36 96 94 b8 20  .Z.4J.h..V%6...
    [00:02:03.453,948] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 00c0:  3c 88 e4 42 85 53 52 15 93 ea 9c d2 5e 18 f5 e5  <..B.SR.....^...
    [00:02:03.469,757] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 00d0:  db 2a 53 ca 61 ac ea 68 e7 e9 0d 00 9e 7d 6a 1e  .*S.a..h.....}j.
    [00:02:03.485,565] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 00e0:  41 04 84 6c 69 21 fe 85 2e b5 57 3a b4 e4 12 a5  A..li!....W:....
    [00:02:03.501,373] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 00f0:  54 cb 67 a2 0d 0c 20 45 49 d1 52 cc 12 e8 5f ef  T.g... EI.R..._.
    [00:02:03.517,181] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0100:  ee f1 99 85 5b 8d 64 42 4b f0 2e 67 5c e6 39 1e  ....[.dBK..g\.9.
    [00:02:03.532,958] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0110:  3e 2b a9 2e e2 17 9d 03 b4 36 db f1 f3 eb c7 d5  >+.......6......
    [00:02:03.548,767] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0120:  37 45 41 04 11 36 8a 52 45 6d 84 6f 75 76 67 58  7EA..6.REm.ouvgX
    [00:02:03.564,575] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0130:  16 aa c1 4f 61 72 d4 c9 ad 2f 36 51 f2 05 23 c8  ...Oar.../6Q..#.
    [00:02:03.580,383] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0140:  23 f5 99 ee 00 e1 3e 35 da a3 2c c6 be 99 f1 ef  #.....>5..,.....
    [00:02:03.596,191] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0150:  c3 35 f8 84 cf 6e 29 5d 90 19 bf 18 29 0d 24 49  .5...n)]....).$I
    [00:02:03.611,999] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0160:  fc ac b3 bd 20 d8 2e de bd 4d 97 b2 2f 89 77 96  .... ....M../.w.
    [00:02:03.627,807] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0170:  09 ef 4b 5a e4 6d ea 61 31 50 2c e3 be 45 46 25  ..KZ.m.a1P,..EF%
    [00:02:03.643,554] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0180:  d3 e9 ce 36 a9 00 17 00 00 00 23                 ...6......#
    [00:02:03.659,881] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2791: => write handshake message
    [00:02:03.671,386] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2951: => write record
    [00:02:03.682,037] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3035: output record: msgtype = 22, version = [3:3], msglen = 490
    [00:02:03.696,075] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3088: <= write record
    [00:02:03.706,665] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2912: <= write handshake message
    [00:02:03.718,200] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:1014: <= write client hello
    [00:02:03.729,553] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:03.740,173] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2375: message length: 495, out_left: 495
    [00:02:03.753,112] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2382: ssl->f_send() returned 495 (-0xfffffe11)
    [00:02:03.765,838] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2409: <= flush output
    [00:02:03.776,458] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:02:03.789,001] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:02:03.800,903] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:03.811,401] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:03.821,929] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:03.833,129] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:03.844,299] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    [00:02:03.900,360] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c00, st=0, user_data=(nil)
    [00:02:03.911,926] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:03.922,241] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:03.932,800] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:03.943,420] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:02:03.955,993] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:02:03.967,864] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:03.978,363] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:03.988,891] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:04.000,122] 00:02:04.003,845] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    1;33m<wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:04.024,749] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:04.038,177] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:04.048,736] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 63
    [00:02:04.062,774] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:04.073,303] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 68
    [00:02:04.084,625] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 68
    [00:02:04.095,916] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 63 (-0xffffffc1)
    [00:02:04.109,771] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:04.120,330] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3246: handshake message: msglen = 63, type = 2, hslen = 63
    [00:02:04.133,911] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3335: sole handshake fragment: 63, 0..63 of 63
    [00:02:04.146,728] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:04.157,226] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: dumping 'server hello, version' (2 bytes)
    [00:02:04.170,715] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: 0000:  03 03                                            ..
    [00:02:04.185,546] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1291: server hello, current time: 1750234688
    [00:02:04.198,699] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: dumping 'server hello, random bytes' (32 bytes)
    [00:02:04.212,829] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0000:  68 52 76 40 ec b9 3c 88 cc 4a c8 13 a5 fa 4d db  hRv@..<..J....M.
    [00:02:04.229,156] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0010:  ef e2 71 ce 84 68 11 00 44 4f 57 4e 47 52 44 01  ..q..h..DOWNGRD.
    [00:02:04.245,239] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1363: server hello, session id len.: 0
    [00:02:04.257,843] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: dumping 'server hello, session id' (0 bytes)
    [00:02:04.271,484] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1388: no session has been resumed
    [00:02:04.283,660] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1391: server hello, chosen ciphersuite: c009
    [00:02:04.296,752] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1392: server hello, compress alg.: 0
    [00:02:04.309,204] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1427: server hello, chosen ciphersuite: TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA
    [00:02:04.325,134] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1448: server hello, total extension length: 19
    [00:02:04.338,684] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1518: found extended_master_secret extension
    [00:02:04.351,776] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1466: found renegotiation extension
    [00:02:04.364,135] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1545: found supported_point_formats extension
    [00:02:04.377,319] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1531: found session_ticket extension
    [00:02:04.390,380] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1662: <= parse server hello
    [00:02:04.402,374] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:04.412,963] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:04.423,583] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:02:04.436,676] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8093: => parse certificate
    [00:02:04.447,662] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:04.458,160] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:04.468,688] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:04.479,949] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:04.491,149] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:04.504,577] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:04.515,136] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 6328
    [00:02:04.529,357] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:04.539,886] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 6333
    [00:02:04.551,910] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 6333
    [00:02:04.563,385] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 1291 (-0xfffffaf5)
    [00:02:04.577,148] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 1296, nb_want: 6333
    [00:02:04.588,836] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    [00:02:04.632,904] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    [00:02:04.644,470] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:04.654,785] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:04.665,344] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:04.675,964] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:02:04.689,056] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8093: => parse certificate
    [00:02:04.700,073] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:04.710,571] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:04.721,069] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 1296, nb_want: 5
    [00:02:04.732,513] 00:02:04.736,389] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c00, st=0, user_data=(nil)
    ;33m<wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:04.756,530] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 6328
    [00:02:04.770,721] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:04.781,250] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 1296, nb_want: 6333
    [00:02:04.793,579] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 1296, nb_want: 6333
    [00:02:04.805,297] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 1364 (-0xfffffaac)
    [00:02:04.819,030] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 2660, nb_want: 6333
    [00:02:04.830,718] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    [00:02:04.883,361] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c00, st=0, user_data=(nil)
    [00:02:04.894,927] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:04.905,242] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:04.915,832] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:04.926,452] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:02:04.939,544] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8093: => parse certificate
    [00:02:04.950,561] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:04.961,059] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:04.971,588] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 2660, nb_want: 5
    [00:02:04.983,001] 00:02:04.986,907] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    ;33m<wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:05.007,080] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 6328
    [00:02:05.021,270] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:05.031,799] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 2660, nb_want: 6333
    [00:02:05.044,097] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 2660, nb_want: 6333
    [00:02:05.055,847] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 1364 (-0xfffffaac)
    [00:02:05.069,580] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 4024, nb_want: 6333
    [00:02:05.081,298] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    [00:02:05.120,605] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    [00:02:05.133,087] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c00, st=0, user_data=(nil)
    [00:02:05.144,592] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:05.154,998] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:05.165,557] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:05.176,177] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:02:05.189,270] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8093: => parse certificate
    [00:02:05.200,286] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:05.210,784] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:05.221,649] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 4024, nb_want: 5
    [00:02:05.233,062] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:05.243,652] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 6328
    [00:02:05.257,843] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:05.268,371] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 4024, nb_want: 6333
    [00:02:05.280,670] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 4024, nb_want: 6333
    [00:02:05.292,419] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 1364 (-0xfffffaac)
    [00:02:05.306,152] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5388, nb_want: 6333
    [00:02:05.317,840] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    [00:02:05.361,328] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c00, st=0, user_data=(nil)
    [00:02:05.372,894] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:05.383,209] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:05.393,768] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:05.404,388] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:02:05.417,480] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8093: => parse certificate
    [00:02:05.428,497] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:05.438,995] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:05.449,523] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5388, nb_want: 5
    [00:02:05.460,968] 00:02:05.464,782] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    ;33m<wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:05.484,954] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 6328
    [00:02:05.499,176] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:05.509,704] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5388, nb_want: 6333
    [00:02:05.521,942] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5388, nb_want: 6333
    [00:02:05.533,660] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 945 (-0xfffffc4f)
    [00:02:05.547,271] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:05.557,830] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3246: handshake message: msglen = 6328, type = 11, hslen = 6328
    [00:02:05.571,838] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3335: sole handshake fragment: 6328, 0..6328 of 6328
    [00:02:05.590,972] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:05.608,886] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9961: Use configuration-specific verification callback
    Dead here...56. ret value = 0
    [00:02:06.090,270] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10133: Certificate verification flags clear
    [00:02:06.102,478] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8207: <= parse certificate
    [00:02:06.113,494] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:06.124,053] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:06.134,674] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_KEY_EXCHANGE
    [00:02:06.147,857] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2090: => parse server key exchange
    [00:02:06.160,369] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:06.170,867] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:06.181,365] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:06.192,626] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:06.203,826] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:06.217,254] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:06.227,813] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 114
    [00:02:06.241,943] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:06.252,471] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 119
    [00:02:06.263,885] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 119
    [00:02:06.275,268] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 114 (-0xffffff8e)
    [00:02:06.288,879] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:06.299,438] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3246: handshake message: msglen = 114, type = 12, hslen = 114
    [00:02:06.313,262] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3335: sole handshake fragment: 114, 0..114 of 114
    [00:02:06.326,141] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:06.336,639] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: dumping 'server key exchange' (110 bytes)
    [00:02:06.350,250] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0000:  03 00 1d 20 4a 8d 66 dc 74 4e e0 2b e5 d0 9f a4  ... J.f.tN.+....
    [00:02:06.366,577] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0010:  c8 be e4 4d 2f c6 89 ef 38 df 64 c5 38 e6 af db  ...M/...8.d.8...
    [00:02:06.382,934] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0020:  af e1 56 0a 04 03 00 46 30 44 02 20 13 83 2d 64  ..V....F0D. ..-d
    [00:02:06.399,261] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0030:  29 95 8b e3 1f 59 d0 62 ce ee 01 1d 91 3a 51 3b  )....Y.b.....:Q;
    [00:02:06.415,588] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0040:  93 83 62 0a 02 35 e0 eb 0c 33 21 ce 02 20 6e 4a  ..b..5...3!.. nJ
    [00:02:06.431,915] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0050:  40 68 79 0c f2 5f d3 7d 44 41 47 a1 c5 67 d2 a4  @hy.._.}DAG..g..
    [00:02:06.448,211] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2177: 0060:  12 ab 55 9d b4 c5 0b 7b 9e b2 a1 26 37 4a        ..U....{...&7J
    [00:02:06.464,385] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1806: ECDH curve: x25519
    [00:02:06.476,043] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1813: value of 'ECDH: Qp(X)' (252 bits) is:
    [00:02:06.489,257] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1813:  0a 56 e1 af db af e6 38 c5 64 df 38 ef 89 c6 2f
    [00:02:06.503,448] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1813:  4d e4 be c8 a4 9f d0 e5 2b e0 4e 74 dc 66 8d 4a
    [00:02:06.517,456] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1813: value of 'ECDH: Qp(Y)' (0 bits) is:
    [00:02:06.530,242] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1813:  00
    [00:02:06.540,374] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2372: dumping 'signature' (70 bytes)
    [00:02:06.553,009] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2372: 0000:  30 44 02 20 13 83 2d 64 29 95 8b e3 1f 59 d0 62  0D. ..-d)....Y.b
    [00:02:06.569,335] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2372: 0010:  ce ee 01 1d 91 3a 51 3b 93 83 62 0a 02 35 e0 eb  .....:Q;..b..5..
    [00:02:06.585,693] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2372: 0020:  0c 33 21 ce 02 20 6e 4a 40 68 79 0c f2 5f d3 7d  .3!.. nJ@hy.._.}
    [00:02:06.602,020] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2372: 0030:  44 41 47 a1 c5 67 d2 a4 12 ab 55 9d b4 c5 0b 7b  DAG..g....U....{
    [00:02:06.618,225] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2372: 0040:  9e b2 a1 26 37 4a                                ...&7J
    [00:02:06.633,453] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9303: Perform mbedtls-based computation of digest of ServerKeyExchange
    [00:02:06.648,254] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2389: dumping 'parameters hash' (32 bytes)
    [00:02:06.661,437] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2389: 0000:  73 69 9e 0c a3 a1 ae bd 92 20 97 93 d1 f7 9c 3e  si....... .....>
    [00:02:06.677,764] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2389: 0010:  c8 f2 69 da a2 54 c2 d1 8a 92 41 2a b2 99 2f b7  ..i..T....A*../.
    [00:02:06.748,809] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2460: <= parse server key exchange
    [00:02:06.761,291] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:06.771,881] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:06.782,470] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CERTIFICATE_REQUEST
    [00:02:06.795,684] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2499: => parse certificate request
    [00:02:06.808,166] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:06.818,664] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:06.829,193] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:06.840,423] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:06.851,623] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:06.865,081] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:06.875,610] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 4
    [00:02:06.889,556] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:06.900,085] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 9
    [00:02:06.911,682] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 9
    [00:02:06.922,912] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 4 (-0xfffffffc)
    [00:02:06.936,340] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:06.946,868] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3246: handshake message: msglen = 4, type = 14, hslen = 4
    [00:02:06.960,388] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3335: sole handshake fragment: 4, 0..4 of 4
    [00:02:06.972,595] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:06.983,093] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2525: got no certificate request
    [00:02:06.995,147] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2661: <= parse certificate request
    [00:02:07.007,629] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.018,218] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:07.028,839] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_HELLO_DONE
    [00:02:07.041,839] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2672: => parse server hello done
    [00:02:07.054,168] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:07.065,307] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4378: reuse previously read message
    [00:02:07.077,178] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:07.087,677] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2700: <= parse server hello done
    [00:02:07.100,006] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.110,595] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:07.121,185] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CLIENT_CERTIFICATE
    [00:02:07.134,277] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7688: => write certificate
    [00:02:07.145,324] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7699: <= skip write certificate
    [00:02:07.156,768] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.167,327] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:07.177,947] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CLIENT_KEY_EXCHANGE
    [00:02:07.191,131] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2715: => write client key exchange
    [00:02:07.214,355] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2861: value of 'ECDH: Q(X)' (255 bits) is:
    [00:02:07.227,508] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2861:  6a 1c f0 03 8d a4 43 21 33 af 42 69 3f 2d df da
    [00:02:07.241,699] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2861:  06 d3 ab ef c6 02 2f a1 63 8c e1 8f 99 3d 17 14
    [00:02:07.255,706] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2861: value of 'ECDH: Q(Y)' (0 bits) is:
    [00:02:07.268,402] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2861:  00
    [00:02:07.288,757] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2889: value of 'ECDH: z' (253 bits) is:
    [00:02:07.301,635] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2889:  1a 77 9e 6c 59 cc d2 03 1e 05 d5 9e 3e be 91 63
    [00:02:07.315,826] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2889:  34 f8 d8 22 5e 69 81 c2 61 d0 3e 31 bf b8 4d 86
    [00:02:07.329,772] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2791: => write handshake message
    [00:02:07.341,339] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2951: => write record
    [00:02:07.351,959] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3035: output record: msgtype = 22, version = [3:3], msglen = 37
    [00:02:07.365,936] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.376,525] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2375: message length: 42, out_left: 42
    [00:02:07.389,709] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2382: ssl->f_send() returned 42 (-0xffffffd6)
    [00:02:07.402,404] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2409: <= flush output
    [00:02:07.412,994] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3088: <= write record
    [00:02:07.423,583] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2912: <= write handshake message
    [00:02:07.435,119] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3210: <= write client key exchange
    [00:02:07.447,631] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.458,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:07.468,811] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CERTIFICATE_VERIFY
    [00:02:07.481,903] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3258: => write certificate verify
    [00:02:07.494,323] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7302: => derive keys
    [00:02:07.504,821] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7426: => calc verify
    [00:02:07.515,563] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7444: dumping 'calculated verify result' (32 bytes)
    [00:02:07.528,747] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7444: 0000:  a9 27 53 29 78 0e 18 85 84 e5 76 4b ed ff 3c 5b  .'S)x.....vK..<[
    [00:02:07.544,281] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7444: 0010:  0d 4e 50 39 8c c6 f4 c5 aa d8 aa 19 ee d0 82 a6  .NP9............
    [00:02:07.559,539] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7445: <= calc verify
    [00:02:07.570,098] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7145: dumping 'session hash for extended master secret' (32 bytes)
    [00:02:07.584,594] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7145: 0000:  a9 27 53 29 78 0e 18 85 84 e5 76 4b ed ff 3c 5b  .'S)x.....vK..<[
    [00:02:07.600,128] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7145: 0010:  0d 4e 50 39 8c c6 f4 c5 aa d8 aa 19 ee d0 82 a6  .NP9............
    [00:02:07.616,943] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7285: dumping 'premaster secret' (32 bytes)
    [00:02:07.629,425] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7285: 0000:  86 4d b8 bf 31 3e d0 61 c2 81 69 5e 22 d8 f8 34  .M..1>.a..i^"..4
    [00:02:07.644,958] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7285: 0010:  63 91 be 3e 9e d5 05 1e 03 d2 cc 59 6c 9e 77 1a  c..>.......Yl.w.
    [00:02:07.665,008] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8840: ciphersuite = TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA
    [00:02:07.678,894] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8842: dumping 'master secret' (48 bytes)
    [00:02:07.691,101] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8842: 0000:  a2 bc b7 81 5b 02 7a 8c 8e c1 cb 01 10 9f 0e 57  ....[.z........W
    [00:02:07.706,665] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8842: 0010:  c2 2e c2 bd ff 04 ca 1e 00 ef 3c 07 92 d9 67 29  ..........<...g)
    [00:02:07.722,198] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8842: 0020:  90 97 11 39 bd 25 d9 b7 74 2a b8 c7 c4 a2 2d 73  ...9.%..t*....-s
    [00:02:07.737,731] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8962: keylen: 16, minlen: 48, ivlen: 16, maclen: 20
    [00:02:07.751,129] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:7353: <= derive keys
    [00:02:07.761,596] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3280: <= skip write certificate verify
    [00:02:07.775,115] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.785,705] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:07.796,325] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CLIENT_CHANGE_CIPHER_SPEC
    [00:02:07.810,028] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5336: => write change cipher spec
    [00:02:07.821,655] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2791: => write handshake message
    [00:02:07.833,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2951: => write record
    [00:02:07.843,841] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3035: output record: msgtype = 20, version = [3:3], msglen = 1
    [00:02:07.857,696] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.868,316] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2375: message length: 6, out_left: 6
    [00:02:07.880,279] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2382: ssl->f_send() returned 6 (-0xfffffffa)
    [00:02:07.892,822] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2409: <= flush output
    [00:02:07.903,411] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3088: <= write record
    [00:02:07.914,001] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2912: <= write handshake message
    [00:02:07.925,537] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5349: <= write change cipher spec
    [00:02:07.937,164] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:07.947,753] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:07.958,374] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_CLIENT_FINISHED
    [00:02:07.971,191] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8438: => write finished
    [00:02:07.982,666] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8272: => calc finished tls
    [00:02:07.994,873] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8299: dumping 'calc finished result' (12 bytes)
    [00:02:08.007,659] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8299: 0000:  9e e0 27 6c 6a df 61 d6 af 88 53 6e              ..'lj.a...Sn
    [00:02:08.022,583] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8303: <= calc finished
    [00:02:08.033,294] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8488: switching to new transform spec for outbound data
    [00:02:08.046,569] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2791: => write handshake message
    [00:02:08.058,166] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2951: => write record
    [00:02:08.068,725] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:0936: => encrypt buf
    [00:02:08.079,925] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1305: before encrypt: msglen = 48, including 16 bytes of IV and 12 bytes of padding
    [00:02:08.096,252] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1475: <= encrypt buf
    [00:02:08.106,781] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3035: output record: msgtype = 22, version = [3:3], msglen = 64
    [00:02:08.120,727] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:08.131,347] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2375: message length: 69, out_left: 69
    [00:02:08.143,493] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2382: ssl->f_send() returned 69 (-0xffffffbb)
    [00:02:08.156,158] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2409: <= flush output
    [00:02:08.166,748] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3088: <= write record
    [00:02:08.177,337] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2912: <= write handshake message
    [00:02:08.188,873] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8541: <= write finished
    [00:02:08.199,615] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:08.210,205] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:08.220,825] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC
    [00:02:08.234,527] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3386: => parse new session ticket
    [00:02:08.246,948] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:08.257,446] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:08.267,944] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:08.279,174] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:08.290,313] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    [00:02:08.356,964] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    [00:02:08.368,865] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4661: => handshake
    [00:02:08.380,096] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:08.390,655] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:08.401,275] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_NEW_SESSION_TICKET
    [00:02:08.414,367] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3386: => parse new session ticket
    [00:02:08.426,788] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:08.437,286] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:08.447,814] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:08.459,045] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:08.470,245] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:08.483,673] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:08.494,262] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 239
    [00:02:08.508,361] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:08.518,890] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 244
    [00:02:08.530,334] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 244
    [00:02:08.541,748] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 239 (-0xffffff11)
    [00:02:08.555,358] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:08.565,887] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3246: handshake message: msglen = 239, type = 4, hslen = 239
    [00:02:08.579,650] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3335: sole handshake fragment: 239, 0..239 of 239
    [00:02:08.592,620] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:08.603,088] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3433: ticket length: 229
    [00:02:08.614,532] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3477: ticket in use, discarding session id
    [00:02:08.627,441] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3480: <= parse new session ticket
    [00:02:08.639,862] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:08.650,421] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:08.661,041] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC
    [00:02:08.674,743] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5358: => parse change cipher spec
    [00:02:08.686,370] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:08.696,868] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:08.707,397] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:08.718,627] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:08.729,827] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:08.743,255] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:08.753,814] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 20, version = [0x303], msglen = 1
    [00:02:08.767,761] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:08.778,289] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 6
    [00:02:08.789,520] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 6
    [00:02:08.800,720] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
    [00:02:08.814,147] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:08.824,645] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:08.835,144] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5379: switching to new transform spec for inbound data
    [00:02:08.848,358] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5406: <= parse change cipher spec
    [00:02:08.859,985] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:08.870,544] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:08.881,164] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_SERVER_FINISHED
    [00:02:08.894,012] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8554: => parse finished
    [00:02:08.904,754] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8272: => calc finished tls
    [00:02:08.916,992] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8299: dumping 'calc finished result' (12 bytes)
    [00:02:08.929,779] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8299: 0000:  e7 23 2e bd b1 38 ad 87 7e 9c a9 a6              .#...8..~...
    [00:02:08.944,702] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8303: <= calc finished
    [00:02:08.955,383] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:08.965,850] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:08.976,379] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    [00:02:08.987,609] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:08.998,840] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:02:09.012,268] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:09.022,827] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3973: input record: msgtype = 22, version = [0x303], msglen = 64
    [00:02:09.036,865] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:09.047,393] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 5, nb_want: 69
    [00:02:09.059,082] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 5, nb_want: 69
    [00:02:09.070,404] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned 64 (-0xffffffc0)
    [00:02:09.083,923] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2348: <= fetch input
    [00:02:09.094,421] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1511: => decrypt buf
    [00:02:09.108,978] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2122: <= decrypt buf
    [00:02:09.119,476] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3246: handshake message: msglen = 16, type = 20, hslen = 16
    [00:02:09.133,148] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3335: sole handshake fragment: 16, 0..16 of 16
    [00:02:09.145,690] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4382: <= read record
    [00:02:09.156,127] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8625: <= parse finished
    [00:02:09.166,900] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:09.177,490] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:09.188,079] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_FLUSH_BUFFERS
    [00:02:09.200,744] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:3588: handshake: done
    [00:02:09.212,127] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:09.222,717] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: <= flush output
    [00:02:09.233,306] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4580: client state: MBEDTLS_SSL_HANDSHAKE_WRAPUP
    [00:02:09.246,246] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8376: => handshake wrapup
    [00:02:09.256,896] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8350: => handshake wrapup: final free
    [00:02:09.269,104] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8369: <= handshake wrapup: final free
    [00:02:09.280,792] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8430: <= handshake wrapup
    [00:02:09.291,442] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: <= handshake
    TCP Connected.
    1...
    [00:02:09.302,581] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6220: => write
    [00:02:09.313,842] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2951: => write record
    [00:02:09.324,432] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:0936: => encrypt buf
    [00:02:09.335,693] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1305: before encrypt: msglen = 96, including 16 bytes of IV and 15 bytes of padding
    [00:02:09.351,623] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1475: <= encrypt buf
    [00:02:09.362,152] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3035: output record: msgtype = 23, version = [3:3], msglen = 112
    [00:02:09.376,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:09.386,810] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2375: message length: 117, out_left: 117
    [00:02:09.399,566] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2382: ssl->f_send() returned 117 (-0xffffff8b)
    [00:02:09.412,506] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2409: <= flush output
    [00:02:09.423,065] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3088: <= write record
    [00:02:09.433,654] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6242: <= write
    http request:
     HEAD / HTTP/1.1
    Host: google.com:443
    Connection: close
    
    
    [00:02:09.444,122] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6220: => write
    [00:02:09.462,371] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2951: => write record
    [00:02:09.472,930] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:0936: => encrypt buf
    [00:02:09.484,985] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1305: before encrypt: msglen = 96, including 16 bytes of IV and 15 bytes of padding
    [00:02:09.500,915] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:1475: <= encrypt buf
    [00:02:09.511,444] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3035: output record: msgtype = 23, version = [3:3], msglen = 112
    [00:02:09.525,482] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2361: => flush output
    [00:02:09.536,102] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2375: message length: 117, out_left: 117
    [00:02:09.548,431] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2382: ssl->f_send() returned 117 (-0xffffff8b)
    [00:02:09.561,157] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2409: <= flush output
    [00:02:09.571,746] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3088: <= write record
    [00:02:09.582,305] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6242: <= write
    [00:02:09.617,492] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=0x20048c40, st=0, user_data=(nil)
    [00:02:09.657,806] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2000abb0, pkt=(nil), st=-104, user_data=(nil)
    [00:02:09.668,762] <dbg> net_sock: zsock_received_cb: (rx_q[0]): Set EOF flag on pkt 0x20048c40
    [00:02:10.593,750] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5949: => read
    [00:02:10.603,607] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4305: => read record
    [00:02:10.614,105] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2156: => fetch input
    [00:02:10.624,633] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2300: in_left: 0, nb_want: 5
    Dead here...101.5.2.2.5.2.1 -1
    [00:02:10.638,610] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2322: in_left: 0, nb_want: 5
    [00:02:10.652,801] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2325: ssl->f_recv(_timeout)() returned -76 (-0x004c)
    [00:02:10.666,534] <err> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4992: mbedtls_ssl_fetch_input() returned -76 (-0x004c)
    [00:02:10.680,023] <err> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4337: ssl_get_next_record() returned -76 (-0x004c)
    [00:02:10.693,176] <err> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6013: mbedtls_ssl_read_record() returned -76 (-0x004c)
    [00:02:10.706,787] <err> net_sock_tls: TLS recv error: -4c
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "sock_test.py", line 117, in do_steps
      File "sock_test.py", line 88, in step_2
    OSError: [Errno 5] EIO
    >>> [00:02:10.801,116] <wrn> net_tcp: net_pkt alloc failure
    [00:02:11.676,269] <err> net_tcp: TCP failed to allocate buffer in retransmission
    [00:02:11.947,845] <dbg> net_sock: zsock_received_cb: (tcp_work): ctx=0x2000abb0, pkt=(nil), st=-116, user_data=(nil)
    [00:02:11.958,923] <dbg> net_sock: zsock_received_cb: (tcp_work): Set EOF flag on pkt 0x20048c40

Related