Closed jwnicholas99 closed 2 years ago
Hello, I see it is closed but with any response, I have the same issue.
Facing the same issue. Someone please help resolve it ? is it because of version ?
Faber | 2024-08-20 06:08:12,393 aries_cloudagent.admin.server ERROR Handler error with exception: Method Not Allowed
Faber |
Faber | =================
Faber | Traceback (most recent call last):
Faber | File "/home/aries/aries_cloudagent/admin/server.py", line 141, in ready_middleware
Faber | return await handler(request)
Faber | ^^^^^^^^^^^^^^^^^^^^^^
Faber | File "/home/aries/aries_cloudagent/admin/server.py", line 212, in debug_middleware
Faber | return await handler(request)
Faber | ^^^^^^^^^^^^^^^^^^^^^^
Faber | File "/home/aries/aries_cloudagent/admin/server.py", line 357, in setup_context
Faber | return await task
Faber | ^^^^^^^^^^
Faber | File "/usr/local/lib/python3.12/asyncio/futures.py", line 287, in __await__
Faber | yield self # This tells Task to wait for completion.
Faber | ^^^^^^^^^^
Faber | File "/usr/local/lib/python3.12/asyncio/tasks.py", line 385, in __wakeup
Faber | future.result()
Faber | File "/usr/local/lib/python3.12/asyncio/futures.py", line 203, in result
Faber | raise self._exception.with_traceback(self._exception_tb)
Faber | File "/usr/local/lib/python3.12/asyncio/tasks.py", line 314, in __step_run_and_handle_result
Faber | result = coro.send(None)
Faber | ^^^^^^^^^^^^^^^
Faber | File "/home/aries/aries_cloudagent/admin/server.py", line 199, in upgrade_middleware
Faber | return await handler(request)
Faber | ^^^^^^^^^^^^^^^^^^^^^^
Faber | File "/home/aries/.local/lib/python3.12/site-packages/aiohttp_apispec/middlewares.py", line 22, in validation_middleware
Faber | return await handler(request)
Faber | ^^^^^^^^^^^^^^^^^^^^^^
Faber | File "/home/aries/.local/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py", line 956, in _handle
Faber | raise self._http_exception
Faber | aiohttp.web_exceptions.HTTPMethodNotAllowed: Method Not Allowed
Where in the process does it happen. I was able to start alice fine using the command above.
While following the steps in the Aries OpenAPI Demo, I get the following error at the "Tell Alice's Agent to Accept the Invitation" step when running the demo in Docker:
I do not get this error when running in a browser. What results in this error?
Reproduction Steps:
``