Using aiocoap-client to connect with a libcoap server as described in the documentation (plus a small modification on how to run the libcoap server instructions #168), the client keeps on sending ClientHello, even though the server already responded with a HelloVerifyRequest.
Wireshark also shows that DTLS 1.0 is used instead of DTLS 1.2.

With --verbose flag I got this output on the client:
pi@coaptest:~/aiocoap $ ./aiocoap-client --verbose coaps://localhost --credentials testserver.json
INFO:coap:Retransmission, Message ID: 33070.
INFO:coap:Retransmission, Message ID: 33070.
INFO:coap:Retransmission, Message ID: 33070.
INFO:coap:Retransmission, Message ID: 33070.
INFO:coap:Exchange timed out
I'm using aiocoap-version: aiocoap-client 0.4a1.post0 and latest libcoap from develop branch built with --with-tinydtls flag set.
Using
aiocoap-clientto connect with a libcoap server as described in the documentation (plus a small modification on how to run the libcoap server instructions #168), the client keeps on sendingClientHello, even though the server already responded with aHelloVerifyRequest.Wireshark also shows that DTLS 1.0 is used instead of DTLS 1.2.
With
--verboseflag I got this output on the client:pi@coaptest:~/aiocoap $ ./aiocoap-client --verbose coaps://localhost --credentials testserver.json INFO:coap:Retransmission, Message ID: 33070. INFO:coap:Retransmission, Message ID: 33070. INFO:coap:Retransmission, Message ID: 33070. INFO:coap:Retransmission, Message ID: 33070. INFO:coap:Exchange timed outI'm using aiocoap-version:
aiocoap-client 0.4a1.post0and latest libcoap from develop branch built with--with-tinydtlsflag set.