This repository was archived by the owner on May 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
This repository was archived by the owner on May 5, 2025. It is now read-only.
OWTAPI error in livestreaming of cameras #831
Copy link
Copy link
Open
Description
Hi,
I am getting error in webrtc container when running live camera from UI
[E 221128 19:26:18 web:1669] Uncaught exception POST /api/sensors (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:2222', method='POST', uri='/api/sensors', version='HTTP/1.0', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tornado/web.py", line 1592, in _execute
result = yield result
File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1148, in run
value = future.result()
File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1156, in run
yielded = self.gen.throw(*exc_info)
File "/home/sensors.py", line 63, in post
r=yield self._create_room(sensor)
File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1148, in run
value = future.result()
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/sensors.py", line 51, in _create_room
room=self._owt.create_room(name=name, p_limit=streaming_limit)
File "/home/owtapi.py", line 49, in create_room
r=self._request(self._requests.post,uri,json=_options,headers=self._headers())
File "/home/owtapi.py", line 44, in _request
raise Exception("OWTAPI error")
Exception: OWTAPI error
[E 221128 19:26:18 web:2161] 500 POST /api/sensors (127.0.0.1) 868.76ms
I tried running both stadium scenario as well as traffic scenario but same error and UI saying "Recording Unavailable".
I am using Centos server for installing the application and running the UI from browser of same server using url "https://localhost".
Metadata
Metadata
Assignees
Labels
No labels