-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
ERROR: error executing step command 'deploy --all': failed deploying service 'backend': validating target resource: resource 'app-backend-sfj6hglufl7ms' with type 'Microsoft.Web/sites' does not match expected resource type 'Microsoft.App/containerApps'
While setting the target deployment as "AppService" I am receiving this error to deploy the backend with the ./app/start.ps1 command.
I want to use Content Understanding and AI Vision and it works better with AppService from what I have inferred.
Also, I cannot with the connect Content Understanding Resource while being in the Intranet.
File "C:\Users\User1\Desktop\DigiLib.venv\Lib\site-packages\aiohttp\connector.py", line 1050, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\WKK9OUQ\Desktop\DigiLib.venv\Lib\site-packages\aiohttp\connector.py", line 1341, in _create_direct_connection
raise ClientConnectorDNSError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host cu-sfj6hglufl7ms.cognitiveservices.azure.com:443 ssl:default [getaddrinfo failed]
Please help me out with this.