Closed doggy8088 closed 6 months ago
Thank you for opening this issue, we will look into it.
Hi @doggy8088 Find similar issue https://github.com/Azure/azure-cli/issues/19743. | ||
---|---|---|
Issue title | az deployment randomly crashes with: ERROR: 'bytes' object has no attribute 'get' | |
Create time | 2021-09-30 | |
Comment number | 22 |
Possible solution: The error message "AttributeError: 'bytes' object has no attribute 'get'" is the same in both issues. The cause of the error in issue #19743 is due to a bug in the Azure CLI. The issue has been fixed in the latest version of the Azure CLI. Therefore, I suggest you update your Azure CLI to the latest version and try again. If the issue persists, you can refer to the solution provided in issue #19743.
Please confirm if this resolves your issue.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Hi @doggy8088 Find similar issue #19743.
Issue title az deployment randomly crashes with: ERROR: 'bytes' object has no attribute 'get' Create time 2021-09-30 Comment number 22 Possible solution: The error message "AttributeError: 'bytes' object has no attribute 'get'" is the same in both issues. The cause of the error in issue #19743 is due to a bug in the Azure CLI. The issue has been fixed in the latest version of the Azure CLI. Therefore, I suggest you update your Azure CLI to the latest version and try again. If the issue persists, you can refer to the solution provided in issue #19743.
Please confirm if this resolves your issue.
I confirmed those issues. Doesn't helps.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
@xfz11 please take a look
Fix in https://github.com/Azure/azure-cli/pull/28792. Please upgrade to the latest version and try again.
Describe the bug
I referenced this doc: https://learn.microsoft.com/en-us/azure/app-service/tutorial-connect-msi-azure-database
When I run the following command:
I always get the following error:
Related command
az webapp connection create sql
Errors
AttributeError: 'bytes' object has no attribute 'get'
Issue script & Debug output
Expected behavior
I expected to complete the following tasks just like docs said:
<server-name>
hosted by Azure App Service.<database-name>
to this user. The username can be found in the connection string in preceding command output.AZURE_MYSQL_CONNECTIONSTRING
,AZURE_POSTGRESQL_CONNECTIONSTRING
, orAZURE_SQL_CONNECTIONSTRING
to the Azure resource based on the database type.Environment Summary
Additional context
N/A