2022-12-13 15
2521 2022-12-13T09
2521.345233+0000 | opal_client.data.fetcher |ERROR | Timeout while fetching url:
https://private-url/data.json
2022-12-13 15
2521 Traceback (most recent call last):
2022-12-13 15
2521
2022-12-13 15
2521 File "/usr/local/lib/python3.10/asyncio/locks.py", line 214, in wait
2022-12-13 15
2521 await fut
2022-12-13 15
2521 └ <Future cancelled>
2022-12-13 15
2521
2022-12-13 15
2521 asyncio.exceptions.CancelledError
2022-12-13 15
2521
2022-12-13 15
2521
2022-12-13 15
2521 During handling of the above exception, another exception occurred:
2022-12-13 15
2521
2022-12-13 15
2521
2022-12-13 15
2521 Traceback (most recent call last):
2022-12-13 15
2521
2022-12-13 15
2521 File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
2022-12-13 15
2521 return fut.result()
2022-12-13 15
2521 │ └ <method 'result' of '_asyncio.Task' objects>
2022-12-13 15
2521 └ <Task cancelled name='Task-198' coro=<Event.wait() done, defined at /usr/local/lib/python3.10/asyncio/locks.py:201>>
2022-12-13 15
2521
2022-12-13 15
2521 asyncio.exceptions.CancelledError
2022-12-13 15
2521
2022-12-13 15
2521
2022-12-13 15
2521 The above exception was the direct cause of the following exception:
2022-12-13 15
2521
2022-12-13 15
2521
2022-12-13 15
2521 Traceback (most recent call last):
2022-12-13 15
2521
2022-12-13 15
2521 File "/usr/local/bin/gunicorn", line 33, in <module>
2022-12-13 15
2521 sys.exit(load_entry_point('gunicorn==20.1.0', 'console_scripts', 'gunicorn')())
2022-12-13 15
2521 │ │ └ <function importlib_load_entry_point at 0x7f117fff6cb0>
2022-12-13 15
2521 │ └ <built-in function exit>
2022-12-13 15
2521 └ <module 'sys' (built-in)>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
2022-12-13 15
2521 WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
2022-12-13 15
2521 └ <class 'gunicorn.app.wsgiapp.WSGIApplication'>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 231, in run
2022-12-13 15
2521 super().run()
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 72, in run
2022-12-13 15
2521 Arbiter(self).run()
2022-12-13 15
2521 │ └ <gunicorn.app.wsgiapp.WSGIApplication object at 0x7f117ffd7ee0>
2022-12-13 15
2521 └ <class 'gunicorn.arbiter.Arbiter'>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 202, in run
2022-12-13 15
2521 self.manage_workers()
2022-12-13 15
2521 │ └ <function Arbiter.manage_workers at 0x7f117f48ed40>
2022-12-13 15
2521 └ <gunicorn.arbiter.Arbiter object at 0x7f117efc3580>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 551, in manage_workers
2022-12-13 15
2521 self.spawn_workers()
2022-12-13 15
2521 │ └ <function Arbiter.spawn_workers at 0x7f117f48ee60>
2022-12-13 15
2521 └ <gunicorn.arbiter.Arbiter object at 0x7f117efc3580>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 622, in spawn_workers
2022-12-13 15
2521 self.spawn_worker()
2022-12-13 15
2521 │ └ <function Arbiter.spawn_worker at 0x7f117f48edd0>
2022-12-13 15
2521 └ <gunicorn.arbiter.Arbiter object at 0x7f117efc3580>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
2022-12-13 15
2521 worker.init_process()
2022-12-13 15
2521 │ └ <function UvicornWorker.init_process at 0x7f117da980d0>
2022-12-13 15
2521 └ <uvicorn.workers.UvicornWorker object at 0x7f117de371f0>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/uvicorn/workers.py", line 66, in init_process
2022-12-13 15
2521 super(UvicornWorker, self).init_process()
2022-12-13 15
2521 │ └ <uvicorn.workers.UvicornWorker object at 0x7f117de371f0>
2022-12-13 15
2521 └ <class 'uvicorn.workers.UvicornWorker'>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 142, in init_process
2022-12-13 15
2521 self.run()
2022-12-13 15
2521 │ └ <function UvicornWorker.run at 0x7f117da98280>
2022-12-13 15
2521 └ <uvicorn.workers.UvicornWorker object at 0x7f117de371f0>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/uvicorn/workers.py", line 83, in run
2022-12-13 15
2521 return asyncio.run(self._serve())
2022-12-13 15
2521 │ │ │ └ <function UvicornWorker._serve at 0x7f117da981f0>
2022-12-13 15
2521 │ │ └ <uvicorn.workers.UvicornWorker object at 0x7f117de371f0>
2022-12-13 15
2521 │ └ <function run at 0x7f117f039870>
2022-12-13 15
2521 └ <module 'asyncio' from '/usr/local/lib/python3.10/asyncio/__init__.py'>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
2022-12-13 15
2521 return loop.run_until_complete(main)
2022-12-13 15
2521 │ │ └ <coroutine object UvicornWorker._serve at 0x7f117c9a87b0>
2022-12-13 15
2521 │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
2022-12-13 15
2521 └ <uvloop.Loop running=True closed=False debug=False>
2022-12-13 15
2521 > File "/usr/local/lib/python3.10/site-packages/opal_client-0.3.1-py3.10.egg/opal_client/data/fetcher.py", line 70, in handle_url
2022-12-13 15
2521 response = await self._engine.handle_url(url, config=config)
2022-12-13 15
2521 │ │ │ │ └ {'headers': {'secret-key': ''}}
2022-12-13 15
2521 │ │ │ └ '
https://private-url/data.json'
2022-12-13 15
2521 │ │ └ <function FetchingEngine.handle_url at 0x7f117cf3f6d0>
2022-12-13 15
2521 │ └ <opal_common.fetcher.engine.fetching_engine.FetchingEngine object at 0x7f117ccd44f0>
2022-12-13 15
2521 └ <opal_client.data.fetcher.DataFetcher object at 0x7f117ccd5a80>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/site-packages/opal_common-0.3.1-py3.10.egg/opal_common/fetcher/engine/fetching_engine.py", line 114, in handle_url
2022-12-13 15
2521 await asyncio.wait_for(wait_event.wait(), timeout)
2022-12-13 15
2521 │ │ │ │ └ 10
2022-12-13 15
2521 │ │ │ └ <function Event.wait at 0x7f117f097f40>
2022-12-13 15
2521 │ │ └ <asyncio.locks.Event object at 0x7f117ca5fb80 [unset]>
2022-12-13 15
2521 │ └ <function wait_for at 0x7f117f096dd0>
2022-12-13 15
2521 └ <module 'asyncio' from '/usr/local/lib/python3.10/asyncio/__init__.py'>
2022-12-13 15
2521 File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
2022-12-13 15
2521 raise exceptions.TimeoutError() from exc
2022-12-13 15
2521 │ └ <class 'asyncio.exceptions.TimeoutError'>
2022-12-13 15
2521 └ <module 'asyncio.exceptions' from '/usr/local/lib/python3.10/asyncio/exceptions.py'>
2022-12-13 15
2521
2022-12-13 15
2521 asyncio.exceptions.TimeoutError
2022-12-13 15
2521 2022-12-13T09
2521.349007+0000 | opal_client.data.updater |ERROR | Failed to fetch url
https://private-url/data.json, got exception:
2022-12-13 15
2521 2022-12-13T09
2521.349297+0000 | opal_client...base_policy_store_client |ERROR | OPA transaction failed, transaction id=a12026d39f6a4f17974f499111deb95f, actions=[], error=None