Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OWTAPI error in livestreaming of cameras #831

Open
tarun28jain opened this issue Nov 28, 2022 · 0 comments
Open

OWTAPI error in livestreaming of cameras #831

tarun28jain opened this issue Nov 28, 2022 · 0 comments

Comments

@tarun28jain
Copy link

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant