Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in Deploy Azure Infrastructure #1221

Open
shashankms9 opened this issue Nov 22, 2024 · 3 comments
Open

Issue in Deploy Azure Infrastructure #1221

shashankms9 opened this issue Nov 22, 2024 · 3 comments

Comments

@shashankms9
Copy link

shashankms9 commented Nov 22, 2024

When we try to deploy the webapi Application it throws an error HTTP Error 500.30 - ASP.NET Core app failed to start
https://github.com/microsoft/chat-copilot/blob/main/scripts/deploy/README.md#powershell-1

Image

in the deployment terminal, I was able to see the fallowing error : UserWarning: You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using 64-bit Python.

Image

please help in resolving this issue

@aaronba
Copy link

aaronba commented Nov 23, 2024

Hello @shashankms9 , check to see if the App Service is set to 64-bit.
The .NET Core app is most likely built as 64-bit and needs to be in an App Service that is configured with 64-bit.

You can also run the EXE manually using the KUDU console and see any startup exception.

@shashankms9
Copy link
Author

shashankms9 commented Nov 25, 2024

Hi @aaronba, In the deployment log it showing as below
Image

EXE manually using the KUDU console it is throwing some error
Image

in the Configuration stack has not been Configured with .net, i have tried after Configuring it to .net 8 still same issue
Image

@aaronba-va
Copy link

Thanks for running the command line test. It shows us the error.

The error is then in your appsettings.json or App Settings Environment Variables.

"AzureQueue" has been deprecated.

It is now "AzureQueues"

Change this link in the main.bicep

{
name: 'KernelMemory:DataIngestion:DistributedOrchestration:QueueType'
value: 'AzureQueue'
}

to

{
name: 'KernelMemory:DataIngestion:DistributedOrchestration:QueueType'
value: 'AzureQueues'
}

And redeploy.

And we should fix this in the repo as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants