Ikea tradfi issu after update

Hi!
After last update I had to configure IKEA Tradfri from the UI. But i can’t get it to work. I get this error in my log. Any idea?

Error executing service <ServiceCall configurator.configure: configure_id=1672451728-1, fields=security_code=D3mCmOJIvVelkkWq>
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/core.py", line 1006, in _event_to_service_call
    await service_handler.func(service_call)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/configurator.py", line 224, in async_handle_service_call
    call.data.get(ATTR_FIELDS, {}))
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/tradfri.py", line 56, in configuration_callback
    from pytradfri.api.aiocoap_api import APIFactory
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 6, in <module>
    from aiocoap import Message, Context
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/aiocoap/__init__.py", line 39, in <module>
    from .message import Message, NoResponse
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 779, in get_code
  File "<frozen importlib._bootstrap_external>", line 487, in _compile_bytecode
ValueError: bad marshal data (invalid reference)

I can’t integrate IKEA tradfri anymore. Some idea?

Error executing service <ServiceCall configurator.configure: configure_id=1671254352-1, fields=security_code=D3mCmOJIvVelkkWq>
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/core.py", line 1006, in _event_to_service_call
    await service_handler.func(service_call)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/configurator.py", line 224, in async_handle_service_call
    call.data.get(ATTR_FIELDS, {}))
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/tradfri.py", line 56, in configuration_callback
    from pytradfri.api.aiocoap_api import APIFactory
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 6, in <module>
    from aiocoap import Message, Context
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/aiocoap/__init__.py", line 39, in <module>
    from .message import Message, NoResponse
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 779, in get_code
  File "<frozen importlib._bootstrap_external>", line 487, in _compile_bytecode
ValueError: bad marshal data (invalid reference)

Ever solved this… noticed that my trådfri isn’t working anymore either… Removed the tradfri file and now when I try to add it again I just get the same errors as you

2018-05-04 17:06:47 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
2018-05-04 17:06:47 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall configurator.configure: fields=security_code=lMcrcn2BvmuN9Cfm, configure_id=1742220592-1>
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/core.py", line 1002, in _event_to_service_call
    await service_handler.func(service_call)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/components/configurator.py", line 224, in async_handle_service_call
    call.data.get(ATTR_FIELDS, {}))
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/components/tradfri.py", line 68, in configuration_callback
    key = await api_factory.generate_psk(security_code)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 196, in generate_psk
    self._psk = yield from self.request(command)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 152, in request
    result = yield from self._execute(api_commands)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 142, in _execute
    _, res = yield from self._get_response(msg)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 92, in _get_response
    r = yield from pr.response
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/aiocoap/protocol.py", line 816, in _run_outer
    yield from cls._run(app_request, response, weak_observation, protocol, log, exchange_monitor_factory)
  File "/srv/hass/hass_venv/lib/python3.5/site-packages/aiocoap/protocol.py", line 865, in _run
    blockresponse = yield from blockrequest.response
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
OSError: [Errno -1] Unknown error -1
2018-05-04 17:06:48 ERROR (MainThread) [coap] Fatal DTLS error: code 20
2018-05-04 17:06:48 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
2018-05-04 17:06:48 ERROR (MainThread) [coap] Fatal DTLS error: code 20
2018-05-04 17:06:48 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
2018-05-04 17:06:48 ERROR (MainThread) [coap] Fatal DTLS error: code 20
etc.