After Deploying Web App from AI Studio Chat Playground, getting error AsyncClient.__init__()
getting below error after deployment webapp from AzureAI studio chat playground AsyncClient.init() got an unexpected keyword argument 'proxies'
Azure OpenAI Service
Azure AI services
-
Rohit Acharya 25 Reputation points
2024-11-30T17:22:55.09+00:00 I have exactly the same problem from 2 days, played around with host of settings but this problem persists. need someone to raise support ticket with microsoft
-
Himanshu Vaish 0 Reputation points
2024-12-02T19:18:15.3266667+00:00 did it resolved ?
i have the same problem, pls share if you have any solution.
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T03:00:51.0466667+00:00 @Dharmendra Singh Welcome to Microsoft Q&A Forum, Thank you for posting your query here! .
- Could you please collect HAR trace and share it here .txt format ?
- Please share the Azure Open AI Resource URI in below format:
/subscriptions/XXXXXXXX/resourceGroups/XXXXXX/providers/Microsoft.CognitiveServices/accounts/XXXXXX
- Which region is the Azure OpenAI resource deployed to ?
You can share the above details over private message.
Awaiting your reply.
-
Himanshu Vaish 0 Reputation points
2024-12-03T06:39:44.82+00:00 I don't know how to send you message private. Could you help on this ? I have collected info to share with you
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T06:54:06.4533333+00:00 @Himanshu Vaish Unfortunately,
private message
can be sent only with the Original Poster(The one who created this thread). If there isn't anything sensitive, you can try adding it here.
-
Himanshu Vaish 0 Reputation points
2024-12-03T07:32:02.0233333+00:00 jsrinvoiceassistance.azurewebsites.net.txt
/subscriptions/783ff44b-10b1-4be3-a681-e126b9413509/resourceGroups/InvoicePOC/providers/Microsoft.CognitiveServices/accounts/JSROpenAI
my all resources are in the same region, East US.
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T08:10:32.65+00:00 @Himanshu Vaish Thanks for sharing the requested details. I will now look at the backend logs and get back to you once I have an update.
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T09:49:35.4666667+00:00 @Dharmendra Singh @Himanshu Vaish @Rohit Acharya Could you please try the below suggestion for now ?
- Open Azure Web App that is associated with this Azure OpenAi chatbot --> Navigate to the
Advanced tools
--> Click on Go
- Click on the Bash as shown below:
- Run the below command: curl_cmd.txt This file has the below command which you can copy and run it .
- Open the Configuration tab in Azure Web App and Update the
startup command
as shown below and click on Save:
pip install -r /home/site/wwwroot/requirements.txt && python3 -m gunicorn app:app
- Restart the webapp and then wait for sometime.
- Test the chat bot again.
Hope this helps.
- Open Azure Web App that is associated with this Azure OpenAi chatbot --> Navigate to the
-
Deleted
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
-
Himanshu Vaish 0 Reputation points
2024-12-03T11:01:19.4333333+00:00 thanks for getting back, I tried:
- Open Azure Web App that is associated with this Azure OpenAi chatbot --> Navigate to the
Advanced tools
--> Click on Go - Click on the Bash as shown below:
- Run the below command: Here which command is to be executed? "pip install -r /home/site/wwwroot/requirements.txt && python3 -m gunicorn app:app" this one or this should be added in the startup command ?????
- Open the Configuration tab in Azure Web App and Update the
startup command
as shown below and click on Save: I updated the startup command with this "pip install -r /home/site/wwwroot/requirements.txt && python3 -m gunicorn app:app" and restarted the app and waited for sometime but it has shown this error.
- Open Azure Web App that is associated with this Azure OpenAi chatbot --> Navigate to the
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T11:28:37.9966667+00:00 @Dharmendra Singh @Himanshu Vaish @Rohit Acharya
If you feel the above shared steps are complex to follow, You can try the plan suggested here.
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T12:21:31.35+00:00 @Himanshu Vaish Thanks for getting back. After you click on the Bash, you need to run the curl command. Copy the curl command from here: curl_cmd.txt
- Then open the Configuration tab in Azure Web App and Update the
startup command
as shown below and click on Save:
pip install -r /home/site/wwwroot/requirements.txt && python3 -m gunicorn app:app
- Restart the webapp and then wait for sometime and then test
- Then open the Configuration tab in Azure Web App and Update the
-
Himanshu Vaish 0 Reputation points
2024-12-03T12:37:51.9833333+00:00 I tried your approach but it is still "Application error".
-
navba-MSFT 26,125 Reputation points • Microsoft Employee
2024-12-03T12:40:23.6+00:00 @Himanshu Vaish As an alternative, you can try the plan suggested here.
Sign in to comment