Skip to content

aiocoap-client with DTLS is broken #167

Description

@pokgak

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.

aiocoap-dtls-log

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions