AttributeError: 'NoneType' object has no attribute 'sendto' / AttributeError: 'NoneType' object has no attribute 'call_exception_handler'

I successfully deploy my app but when I start calibrating it an error occurs. My app is a sign language detection, specifically, it uses Webrtc function to access the camera and use it to detect sign gestures, but this error always happens, and I don’t know how to fix it. please help me.

THIS IS THE ERROR

Exception in callback Transaction.__retry()
handle: <TimerHandle when=5729.849758043 Transaction.__retry()>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: ‘NoneType’ object has no attribute ‘sendto’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.9/asyncio/events.py”, line 80, in _run
self._context.run(self._callback, *self._args)
File “/home/appuser/venv/lib/python3.9/site-packages/aioice/stun.py”, line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File “/home/appuser/venv/lib/python3.9/site-packages/aioice/ice.py”, line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 1064, in sendto
self._fatal_error(
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: ‘NoneType’ object has no attribute ‘call_exception_handler’


FOR REFERENCES AND MY CODE, THIS IS MY REPO!
https://github.com/FourthSyte/ASL-Detection.git

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.