question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ikea Tradfri: Received Type.ACK from <aiocoap.transports.tinydtls.DTLSClientConnection

See original GitHub issue

The problem

this warning in the logs appear multiple times during startup.

What version of Home Assistant Core has the issue?

2022.1.0.dev20211215

What was the last working version of Home Assistant Core?

not sure

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Ikea Tradfri

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tradfri/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-12-15 09:10:48 WARNING (MainThread) [coap] Received Type.ACK from <aiocoap.transports.tinydtls.DTLSClientConnection object at 0x7f7c1c34f0>, but could not match it to a running exchange.
2021-12-15 09:10:48 WARNING (MainThread) [coap] Received Type.ACK from <aiocoap.transports.tinydtls.DTLSClientConnection object at 0x7f7c1c34f0>, but could not match it to a running exchange.

Additional information

seems the latest Tradfri update of dec 13th made the Tradfri integration respond/behave better than before. This warning is still quite obnoxious though. Not sure if it does any harm or not.

Not finding a match doesn’t sound good …

Ive mentioned this warning in other issues swell, but it might get buried, so a dedicated issue for the warning is justified.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Mariusthvdbcommented, Jan 27, 2022

and still happening in beta 2022.2.0b0, and dev dev20220127

shouldn’t this have been mitigated by the new implementation of the https://github.com/home-assistant/core/pull/64166 ?

0reactions
ddmmczcommented, Sep 19, 2022

same issue. always a temporary solution until the next Supervisor update. I add to variables in docker: AIOCOAP_CLIENT_TRANSPORT tinydtls AIOCOAP_SERVER_TRANSPORT tinydtls

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tradfri. Aiocoap. What is this error about tinydtls.py?
9/site-packages/aiocoap/transports/tinydtls.py:162: UserWarning: DTLS module did not shut down the DTLSSocket perfectly; it still tried to call ...
Read more >
Unable to integrate ikea gateway to rpi3 docker image, "unknown ...
Message at 0x6a2e5370: Type.ACK 2.01 Created (ID 33010, token b'\x00\x00|\x89') remote <aiocoap.transports.tinydtls.DTLSClientConnection object at ...
Read more >
aiocoap.transports.tinydtls module
This module implements a MessageInterface that handles coaps:// using a wrapped tinydtls library. This currently only implements the client side. To have a...
Read more >
Tradfri is Broken, and getting worse - Giters
ACK from <aiocoap.transports.tinydtls.DTLSClientConnection object at 0x7f8026e760>, but could not match it to a running exchange. Received Type.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found