-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
This issue started after upgrading from changes of roughly the last 3 months
It was already running successfully on python 3.13.4 before
Not sure if its related to #2339
Running #2339 (comment) succeeds immediate
DEBUG:asyncio:Using selector: EpollSelector
- Serving Quart app 'app'
- Debug mode: False
- Please use an ASGI server (e.g. Hypercorn) directly in production
- Running on http://localhost:50505 (CTRL + C to quit)
INFO:app:Setting up Azure credential using AzureDeveloperCliCredential with tenant_id XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
INFO:app:AZURE_USE_AUTHENTICATION is true, setting up search index client
DEBUG:azure.identity.aio._credentials.azd_cli:Executing subprocess with the following arguments ['/home/linuxbrew/.linuxbrew/bin/azd', 'auth', 'token', '--output', 'json', '--scope', 'https://search.azure.com/.default', '--tenant-id', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX']
WARNING:azure.identity.aio._internal.decorators:AzureDeveloperCliCredential.get_token_info failed: Timed out waiting for Azure Developer CLI
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/subprocess.py", line 201, in communicate
stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/subprocess.py", line 181, in _read_stream
output = await stream.read()
^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 723, in read
block = await self.read(self._limit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 730, in read
await self._wait_for_data('read')
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 539, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 211, in _run_command
stdout_b, stderr_b = await asyncio.wait_for(proc.communicate(), timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/timeouts.py", line 116, in aexit
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_internal/decorators.py", line 22, in wrapper
token = await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 146, in get_token_info
return await self._get_token_base(*scopes, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 172, in _get_token_base
output = await _run_command(command_args, self._process_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 216, in _run_command
raise CredentialUnavailableError(message="Timed out waiting for Azure Developer CLI") from ex
azure.identity._exceptions.CredentialUnavailableError: Timed out waiting for Azure Developer CLI
ERROR:app:Exception
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/subprocess.py", line 201, in communicate
stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/subprocess.py", line 181, in _read_stream
output = await stream.read()
^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 723, in read
block = await self.read(self._limit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 730, in read
await self._wait_for_data('read')
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 539, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 211, in _run_command
stdout_b, stderr_b = await asyncio.wait_for(proc.communicate(), timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/timeouts.py", line 116, in aexit
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/app.py", line 1768, in startup
await self.ensure_async(func)()
File "/mnt/c/git/azure-search-demo/app/backend/app.py", line 560, in setup_clients
search_index = await search_index_client.get_index(AZURE_SEARCH_INDEX)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/tracing/decorator_async.py", line 119, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/search/documents/indexes/aio/_search_index_client.py", line 157, in get_index
result = await self._client.indexes.get(name, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/tracing/decorator_async.py", line 119, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/search/documents/indexes/_generated/aio/operations/_indexes_operations.py", line 624, in get
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_request, stream=_stream, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 229, in run
return await first_node.send(pipeline_request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 77, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 77, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 77, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 2 more times]
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_redirect_async.py", line 76, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_retry_async.py", line 178, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 101, in send
await await_result(self.on_request, request)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_tools_async.py", line 56, in await_result
return await result
^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 72, in on_request
await self._request_token(*self._scopes)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 218, in _request_token
self._token = await self._get_token(*scopes, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 200, in _get_token
return await await_result(
^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_tools_async.py", line 56, in await_result
return await result
^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_internal/decorators.py", line 22, in wrapper
token = await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 146, in get_token_info
return await self._get_token_base(*scopes, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 172, in _get_token_base
output = await _run_command(command_args, self._process_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 216, in _run_command
raise CredentialUnavailableError(message="Timed out waiting for Azure Developer CLI") from ex
azure.identity._exceptions.CredentialUnavailableError: Timed out waiting for Azure Developer CLI
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/locks.py", line 213, in wait
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/lifespan.py", line 94, in wait_for_startup
await asyncio.wait_for(self.startup.wait(), timeout=self.config.startup_timeout)
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/timeouts.py", line 116, in aexit
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/main.py", line 6, in
main()
~~~~^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/cli.py", line 776, in main
cli.main()
~~~~~~~~^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/cli.py", line 656, in run_command
app.run(
~~~~~~~^
debug=debug,
^^^^^^^^^^^^
...<4 lines>...
use_reloader=reload,
^^^^^^^^^^^^^^^^^^^^
)
^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/app.py", line 878, in run
loop.run_until_complete(asyncio.gather(*tasks))
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/init.py", line 44, in serve
await worker_serve(
wrap_app(app, config.wsgi_max_body_size, mode), config, shutdown_trigger=shutdown_trigger
)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/run.py", line 84, in worker_serve
await lifespan.wait_for_startup()
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/lifespan.py", line 96, in wait_for_startup
raise LifespanTimeoutError("startup") from error
hypercorn.utils.LifespanTimeoutError: Timeout whilst awaiting startup. Your application may not support the ASGI Lifespan protocol correctly, alternatively the startup_timeout configuration is incorrect.
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-3' coro=<Lifespan.handle_lifespan() done, defined at /mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/lifespan.py:42> exception=LifespanFailureError("Lifespan failure in startup. 'Timed out waiting for Azure Developer CLI'")>
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/subprocess.py", line 201, in communicate
stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/subprocess.py", line 181, in _read_stream
output = await stream.read()
^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 723, in read
block = await self.read(self._limit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 730, in read
await self._wait_for_data('read')
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/streams.py", line 539, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 211, in _run_command
stdout_b, stderr_b = await asyncio.wait_for(proc.communicate(), timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/asyncio/timeouts.py", line 116, in aexit
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/asgi.py", line 365, in call
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/app.py", line 1768, in startup
await self.ensure_async(func)()
File "/mnt/c/git/azure-search-demo/app/backend/app.py", line 560, in setup_clients
search_index = await search_index_client.get_index(AZURE_SEARCH_INDEX)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/tracing/decorator_async.py", line 119, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/search/documents/indexes/aio/_search_index_client.py", line 157, in get_index
result = await self._client.indexes.get(name, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/tracing/decorator_async.py", line 119, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/search/documents/indexes/_generated/aio/operations/_indexes_operations.py", line 624, in get
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_request, stream=_stream, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 229, in run
return await first_node.send(pipeline_request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 77, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 77, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_base_async.py", line 77, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 2 more times]
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_redirect_async.py", line 76, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_retry_async.py", line 178, in send
response = await self.next.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 101, in send
await await_result(self.on_request, request)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_tools_async.py", line 56, in await_result
return await result
^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 72, in on_request
await self._request_token(*self._scopes)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 218, in _request_token
self._token = await self._get_token(*scopes, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/policies/_authentication_async.py", line 200, in _get_token
return await await_result(
^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/core/pipeline/_tools_async.py", line 56, in await_result
return await result
^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_internal/decorators.py", line 22, in wrapper
token = await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 146, in get_token_info
return await self._get_token_base(*scopes, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 172, in _get_token_base
output = await _run_command(command_args, self._process_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/azure/identity/aio/_credentials/azd_cli.py", line 216, in _run_command
raise CredentialUnavailableError(message="Timed out waiting for Azure Developer CLI") from ex
azure.identity._exceptions.CredentialUnavailableError: Timed out waiting for Azure Developer CLI
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/lifespan.py", line 55, in handle_lifespan
await self.app(
...<5 lines>...
)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/app_wrappers.py", line 34, in call
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/app.py", line 1735, in call
await self.asgi_app(scope, receive, send)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/app.py", line 1761, in asgi_app
await asgi_handler(receive, send)
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/quart/asgi.py", line 367, in call
File "/mnt/c/git/azure-search-demo/.venv/lib/python3.13/site-packages/hypercorn/asyncio/lifespan.py", line 119, in asgi_send
raise LifespanFailureError("startup", message.get("message", ""))
hypercorn.utils.LifespanFailureError: Lifespan failure in startup. 'Timed out waiting for Azure Developer CLI'
Failed to start backend