Generic IP Camera Component Broken after upgrade from 38.2 to 38.3

All of my generic IP cameras are broken after the latest update.

I tried downgrading to 38.2 and then to 38.0 but it did not work.
I tried clearing cache and browser history.
All if these components are in a camera.yaml file.
I am using an API password and ssl cert.
I have trusted networks defined.
no cors

System is Ubuntu server 16.X…(latest)

There is info from another thread about this issue.

Here is my error log…

Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 205, in async_update_ha_state
    yield from self.async_update()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/image_processing/__init__.py", line 128, in async_update
    self.hass, self.camera_entity, timeout=self.timeout)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 64, in async_get_image
    response = yield from websession.get(url)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: https://192.168.5.138:8123/api/camera_proxy/camera.mc_frontyard?token=0c4d73f1d3d3daaaaaaaaaaaa98e2d16baebaacc235abb6446554f0b8404b6ec
17-02-15 07:49:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 205, in async_update_ha_state
    yield from self.async_update()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/image_processing/__init__.py", line 128, in async_update
    self.hass, self.camera_entity, timeout=self.timeout)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 64, in async_get_image
    response = yield from websession.get(url)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: https://192.168.5.138:8123/api/camera_proxy/camera.frontyard?token=065670275bf7fcb22saaaaaaaaass353032966e7e47b7dfeeb5929bf9166656cc13d
17-02-15 07:49:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/derick/.homeassistant/deps/aiohttp/web_server.py", line 62, in handle_request
    resp = yield from self._handler(request)
  File "/home/derick/.homeassistant/deps/aiohttp/web.py", line 270, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = yield from result
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 253, in get
    response = yield from self.handle(request, camera)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 272, in handle
    image = yield from camera.async_camera_image()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/generic.py", line 115, in async_camera_image
    url, auth=self._auth)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: https://media.giphy.com/media/k4ta29T68xlfi/giphy.gif
17-02-15 07:49:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/derick/.homeassistant/deps/aiohttp/web_server.py", line 62, in handle_request
    resp = yield from self._handler(request)
  File "/home/derick/.homeassistant/deps/aiohttp/web.py", line 270, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = yield from result
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 253, in get
    response = yield from self.handle(request, camera)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 272, in handle
    image = yield from camera.async_camera_image()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/generic.py", line 115, in async_camera_image
    url, auth=self._auth)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: http://192.168.1.254/snap.jpeg
17-02-15 07:49:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/derick/.homeassistant/deps/aiohttp/web_server.py", line 62, in handle_request
    resp = yield from self._handler(request)
  File "/home/derick/.homeassistant/deps/aiohttp/web.py", line 270, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = yield from result
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 253, in get
    response = yield from self.handle(request, camera)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 272, in handle
    image = yield from camera.async_camera_image()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/generic.py", line 115, in async_camera_image
    url, auth=self._auth)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: http://192.168.5.245:7080/api/2.0/snapshot/camera/57aaaaaaaaaae8755d100f4?force=true&apiKey=GqsdfsdfsdfsdlX5
17-02-15 07:49:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/derick/.homeassistant/deps/aiohttp/web_server.py", line 62, in handle_request
    resp = yield from self._handler(request)
  File "/home/derick/.homeassistant/deps/aiohttp/web.py", line 270, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = yield from result
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 253, in get
    response = yield from self.handle(request, camera)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 272, in handle
    image = yield from camera.async_camera_image()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/generic.py", line 115, in async_camera_image
    url, auth=self._auth)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: http://192.168.0.102/snap.jpeg
17-02-15 07:49:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/derick/.homeassistant/deps/aiohttp/web_server.py", line 62, in handle_request
    resp = yield from self._handler(request)
  File "/home/derick/.homeassistant/deps/aiohttp/web.py", line 270, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = yield from result
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 253, in get
    response = yield from self.handle(request, camera)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 272, in handle
    image = yield from camera.async_camera_image()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/generic.py", line 115, in async_camera_image
    url, auth=self._auth)
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__
    resp = yield from self._coro
  File "/home/derick/.homeassistant/deps/aiohttp/client.py", line 213, in _request
    proxy=proxy, proxy_auth=proxy_auth, timer=timer)
  File "/home/derick/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__
    assert isinstance(url, URL), url
AssertionError: http://192.168.0.97/snap.jpeg
17-02-15 07:49:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/home/derick/.homeassistant/deps/aiohttp/web_server.py", line 62, in handle_request
    resp = yield from self._handler(request)
  File "/home/derick/.homeassistant/deps/aiohttp/web.py", line 270, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
    res = yield from res
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = yield from result
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 253, in get
    response = yield from self.handle(request, camera)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/__init__.py", line 272, in handle
    image = yield from camera.async_camera_image()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/camera/generic.py", line 115, in async_camera_image
1 Like

Thanks! @fabaff I was on my way to github…

It is fixed in the DEV version 0.39.0

I just re-ran the upgrade command for HA. It installed a new version of yarl and everything now works fine.

2 Likes

Can you let them know that over at the issue? It may help. Thanks!

1 Like

I downgraded from dev 0.39.0 to 0.38.3 and it is working.

1 Like