BouncyCastle deployment error: HTTP Error 500.30 - ASP.NET Core app failed to start

Viewed 147

I am using the below imports from BouncyCastle dependency in my .net core project

using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Modes;
using Org.BouncyCastle.Crypto.Paddings;
using Org.BouncyCastle.Crypto.Parameters;

When i try to run in my local PC it is working fine however once i deploy it is showing

HTTP Error 500.30 - ASP.NET Core app failed to start

If i remove the dependancies it is working fine

Thanks for any helps

1 Answers

As per my understanding, it appears as if you still do not know the cause of the error. To checkout the error follow the following steps:

Step 1:

Navigate to the kudu debug console https://youappname.scm.azurewebsites.net/DebugConsole

Step 2

In the console go to wwwroot

Enter this in the terminal:

cd site/wwwroot

Step 3

Then in the terminal type:

dotnet yourappname.dll

Step 4

Now navigate back by clicking the three dots ... to /

enter image description here

Step 5:

Through the GUI provided. Click LogFilesenter image description here

Step 6:

Now click on eventlog.xml and scroll down to the bottom of the file. There the last event log will be the latest log. You will find the error there.

This is not the answer to your question. But I believe it will be helpful for you to finally solve the error!

Related