tobiipro / g3pylib

A Python client library for Glasses3
Other
15 stars 7 forks source link

"Cannot connect to host" when opening a `aiohttp.ClientSession()` right after closing one #91

Open albertna opened 1 year ago

albertna commented 1 year ago

With how the unit tests are currently written, running tests like tests/api_components/test_recording.py::test_get_scenevideo_url: image

results in a failure: image

However, if I sleep between the two lines that both make calls to aiohttp.ClientSession(): image

The test would pass. Is this a hardware limitation where a g3 device is down for a short while after closing a HTTP client session?