-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Running the latest version of the testing tool locally on a Windows machine.
Trying to subscribe to the resources, but the script throws an error:
[2025-04-13 19:54:11,378] ERROR in app: Exception on /x-nmos/query/v1.3/subscriptions [POST]
Traceback (most recent call last):
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\flask\app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\flask\app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\flask_cors\extension.py", line 176, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\flask\app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\flask\app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\nmostesting\mocks\Registry.py", line 673, in post_subscription
subscription, created = registry.subscribe_to_query_api(version, subscription_request, secure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\nmostesting\mocks\Registry.py", line 224, in subscribe_to_query_api
websocket_server = SubscriptionWebsocketWorker('0.0.0.0', websocket_port, resource_type, secure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\nmostesting\TestHelper.py", line 514, in __init__
self._ws_server = self._loop.run_until_complete(websockets.serve(self.handler, host, port, ssl=ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\websockets\asyncio\server.py", line 743, in __init__
self.server = Server(
^^^^^^^
File "D:\3rdparty\nmos\nmos-testing-master\.nmostest\Lib\site-packages\websockets\asyncio\server.py", line 284, in __init__
self.loop = asyncio.get_running_loop()
^^^^^^^^^^^^^^^^^^^^^^^^^^
Metadata
Metadata
Assignees
Labels
No labels