Azure-Samples / DoubleKeyEncryptionService

Download, install, and set up the Double Key Encryption service for Microsoft 365.
MIT License
12 stars 14 forks source link

Which Azure ressource to use? #38

Closed gammelgaard52 closed 1 year ago

gammelgaard52 commented 1 year ago

Hi,

I've tried to deploy the application to Azure Spring App running .Net Core 3.1, however it fails with this error:

2023-03-28 09:01:47,408 INFO supervisord started with pid 1 2023-03-28 09:01:48,410 INFO spawned: 'dotnet-app' with pid 9 2023-03-28 09:01:48,412 INFO spawned: 'event-gather' with pid 10 2023-03-28 09:01:48,414 INFO spawned: 'dotnet-app' with pid 11 READY 2023-03-28 09:01:48 [Warning] No managed processes are running. Wait for 30 seconds... 2023-03-28 09:01:49,656 INFO success: dotnet-app entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-28 09:01:49,656 INFO success: event-gather entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-28 09:01:49,656 INFO success: dotnet-app entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Unhandled exception. System.PlatformNotSupportedException: EventLog access is not supported on this platform. at Microsoft.AspNetCore.Hosting.WebHost.Dispose() at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at CustomerKeyStore.Program.Main(String[] args) in C:\Code\DoubleKeyEncryptionService\src\customer-key-store\Program.cs:line 12 2023-03-28 09:01:50,677 INFO exited: dotnet-app (terminated by SIGABRT (core dumped); not expected) Processing Event: ver:3.0 server:supervisor serial:0 pool:processes poolserial:0 eventname:PROCESS_STATE_EXITED len:80 2023-03-28 09:01:51,679 WARN received SIGQUIT indicating exit request 2023-03-28 09:01:51,679 INFO waiting for event-gather, dotnet-app to die 2023-03-28 09:01:52,683 INFO stopped: event-gather (exit status 143) 2023-03-28 09:01:52,684 INFO stopped: dotnet-app (terminated by SIGTERM)

I've also looked at Azure Web App, however there I am unable to select .Net Core 3.1.. The guide seems out of date? Any assistance would be helpful - thx

gammelgaard52 commented 1 year ago

Right after I posted this post, I tried another combination of Web App and it's platform, where this worked. image