Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO: 10.126.8.4:13697 - "GET /dns/zone/gs-labs.tv HTTP/1.1" 500 Internal Server Error
- ERROR: Exception in ASGI application
- Traceback (most recent call last):
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
- result = await app( # type: ignore[func-returns-value]
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
- return await self.app(scope, receive, send)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
- await super().__call__(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/applications.py", line 123, in __call__
- await self.middleware_stack(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__
- raise exc
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__
- await self.app(scope, receive, _send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
- await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
- raise exc
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
- await app(scope, receive, sender)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 758, in __call__
- await self.middleware_stack(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 778, in app
- await route.handle(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 299, in handle
- await self.app(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 79, in app
- await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
- raise exc
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
- await app(scope, receive, sender)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 74, in app
- response = await func(request)
- ^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 299, in app
- raise e
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 294, in app
- raw_response = await run_endpoint_function(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 193, in run_endpoint_function
- return await run_in_threadpool(dependant.call, **values)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool
- return await anyio.to_thread.run_sync(func, *args)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync
- return await get_async_backend().run_sync_in_worker_thread(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
- return await future
- ^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 851, in run
- result = context.run(func, *args)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/bind-rest-api/bindapi/__init__.py", line 139, in get_zone
- zone = dns.zone.from_xfr(dns.query.xfr(DNS_SERVER, zone_name, keyring=TSIG, keyalgorithm=TSIG_ALGO))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/dns/zone.py", line 1413, in from_xfr
- for r in xfr:
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/dns/query.py", line 1385, in xfr
- r = dns.message.from_wire(
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/dns/message.py", line 1367, in from_wire
- m = reader.read()
- ^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/dns/message.py", line 1264, in read
- self._get_section(MessageSection.ADDITIONAL, adcount)
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/dns/message.py", line 1208, in _get_section
- self.message.tsig_ctx = dns.tsig.validate(
- ^^^^^^^^^^^^^^^^^^
- File "/home/admins/.cache/pypoetry/virtualenvs/bindapi-Ip0tFxZ7-py3.11/lib/python3.11/site-packages/dns/tsig.py", line 296, in validate
- raise PeerBadKey
- dns.tsig.PeerBadKey: The peer didn't know the key we used
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement