GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

When creating a new microservice, there are error logs in the Guidance output logs #171

Open phoogers opened 1 year ago

phoogers commented 1 year ago

Describe the bug Some errors in the output of the Guidance when adding a microservice - in this case called "Core"

To Reproduce Steps to reproduce the behavior:

Expected behavior Guidance creates a Core microservice without errors

Full output of the action:

Low: Adding Micro-service.
Low: Create service Core.
Med: Folder Core is created to BE.
Med: Adding project: Infraref.Core.Host.
Med: Added Program.cs file to project Infraref.Core.Host.
Med: Adding Properties folder.
Med: Added Properties folder.
Med: Adding Configs folder.
Med: Added Configs folder.
Med: Added Properties\launchSettings.json file to project Infraref.Core.Host.
Med: Added HealthChecks\LogHealthCheck.cs file to project Infraref.Core.Host.
Med: Added Properties\AssemblyInfo.cs file to project Infraref.Core.Host.
Med: Adding an AzureDevOps BuildAndPublish.yml file.
Med: Added BuildAndPublish.yml file to folder Core.
Med: Adding Infrastructure folder.
Med: Added Infrastructure folder.
Med: Added OAuth2HttpHandler.cs file to folder Infrastructure.
Med: Added OAuth2GrpcInterceptor.cs file to folder Infrastructure.
Med: Added OAuth2TokenSettingsReader.cs file to folder Infrastructure.
Med: Added VolatileMemorySettingsReader.cs file to folder Infrastructure.
Med: Add Kestrel configuration.
Med: Adding Components folder.
Med: Added Components folder.
Med: Adding Dev folder to Components.
Med: Added Dev folder to Components.
Med: Adding Test folder to Components.
Med: Added Test folder to Components.
Med: Adding Acc folder to Components.
Med: Added Acc folder to Components.
Med: Adding Prod folder to Components.
Med: Added Prod folder to Components.
Med: Add SwaggerUi3Route("Core" to Yarp startup file.
Med: Added appsettings.json file to folder Configs.
Med: Adding section Memory.Settings to the appSettings file.
Med: Added appsettings.Development.json file to folder Configs.
Med: Adding section AppSettings to the appSettings file.
Error: Error when calling content service, wait 200 ms.
Error: Error when calling content service, wait 500 ms.
Error: Error when calling content service, wait 1000 ms.
Error: HTTP Response: 

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500
Response: 

   at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.<AssetV1_Async>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<<GetContentAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetContentAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetStringContentAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<GetConfigurationAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<ExecuteAsync>d__4.MoveNext()
Error: Adding the DaprSidekick to the appSettings file failed.
Med: No OpenTelemetry configuration found for environment .
Med: Adding section Memory.Settings to the appSettings file.
Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Development.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Development.json
Med: Added appsettings.Dev.json file to folder Configs.
Med: Adding section AppSettings to the appSettings file.
Error: Error when calling content service, wait 200 ms.
Error: Error when calling content service, wait 500 ms.
Error: Error when calling content service, wait 1000 ms.
Error: HTTP Response: 

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500
Response: 

   at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.<AssetV1_Async>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<<GetContentAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetContentAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetStringContentAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<GetConfigurationAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<ExecuteAsync>d__4.MoveNext()
Error: Adding the DaprSidekick to the appSettings file failed.
Med: No OpenTelemetry configuration found for environment .
Med: Adding section Memory.Settings to the appSettings file.
Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Dev.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Dev.json
Med: Added appsettings.Test.json file to folder Configs.
Med: Adding section AppSettings to the appSettings file.
Error: Error when calling content service, wait 200 ms.
Error: Error when calling content service, wait 500 ms.
Error: Error when calling content service, wait 1000 ms.
Error: HTTP Response: 

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500
Response: 

   at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.<AssetV1_Async>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<<GetContentAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetContentAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetStringContentAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<GetConfigurationAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<ExecuteAsync>d__4.MoveNext()
Error: Adding the DaprSidekick to the appSettings file failed.
Med: No OpenTelemetry configuration found for environment .
Med: Adding section Memory.Settings to the appSettings file.
Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Test.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Test.json
Med: Added appsettings.Acc.json file to folder Configs.
Med: Adding section AppSettings to the appSettings file.
Error: Error when calling content service, wait 200 ms.
Error: Error when calling content service, wait 500 ms.
Error: Error when calling content service, wait 1000 ms.
Error: HTTP Response: 

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500
Response: 

   at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.<AssetV1_Async>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<<GetContentAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetContentAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetStringContentAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<GetConfigurationAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<ExecuteAsync>d__4.MoveNext()
Error: Adding the DaprSidekick to the appSettings file failed.
Med: No OpenTelemetry configuration found for environment .
Med: Adding section Memory.Settings to the appSettings file.
Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Acc.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Acc.json
Med: Added appsettings.Prod.json file to folder Configs.
Med: Adding section AppSettings to the appSettings file.
Error: Error when calling content service, wait 200 ms.
Error: Error when calling content service, wait 500 ms.
Error: Error when calling content service, wait 1000 ms.
Error: HTTP Response: 

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500
Response: 

   at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.<AssetV1_Async>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<<GetContentAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetContentAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore2022_2.Services.ContentService.<GetStringContentAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<GetConfigurationAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GuidanceCore.Actions.AddDaprSidekickSettings.<ExecuteAsync>d__4.MoveNext()
Error: Adding the DaprSidekick to the appSettings file failed.
Med: No OpenTelemetry configuration found for environment .
Med: Adding section Memory.Settings to the appSettings file.
Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Prod.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Prod.json
Med: Adding project: Infraref.Core.Domain.
Med: Adding AssemblyInfo.cs.
Med: Adding EnvironmentInfo.cs.
Med: Adding project: Infraref.Core.IBusiness.
Med: Adding Properties folder.
Med: Added Properties folder.
Med: Adding Logic folder.
Med: Added Logic folder.
Med: Added AssemblyInfo.cs file to folder Properties.
Med: Added IEnvironmentInfoBL.cs file to folder Logic.
Med: Adding project: Infraref.Core.Business.
Med: Adding Properties folder.
Med: Added Properties folder.
Med: Added AssemblyInfo.cs file to folder Properties.
Med: Adding Common folder.
Med: Added Common folder.
Med: Adding Validators folder to Common.
Med: Added Validators folder to Common.
Med: Added IValidator.cs file to folder Validators.
Med: Added ValidatorBase.cs file to folder Validators.
Med: Adding Logic folder.
Med: Added Logic folder.
Med: Adding Validators folder to Logic.
Med: Added Validators folder to Logic.
Med: Adding Rules folder to Logic.
Med: Added Rules folder to Logic.
Med: Added EnvironmentInfoBL.cs file to folder Logic.
Med: Adding Resources folder.
Med: Added Resources folder.
Med: Added ErrorRes.resx file to folder Resources.
Med: Adding assembly reference Infraref.Core.Business to appSettings
Med: Adding project: Infraref.Core.Facade.
Med: Adding Properties folder.
Med: Added Properties folder.
Med: Adding Dto folder.
Med: Added Dto folder.
Med: Added AssemblyInfo.cs file to folder Properties.
Med: Added MappingProfile.cs file to project Infraref.Core.Facade.
Med: Added EnvironmentController.cs file to project Infraref.Core.Facade.
Med: Adding assembly reference Infraref.Core.Facade to appSettings
Med: Folder Sdks is created to Core.
Med: Adding project: Infraref.Core.Facade.Sdk.
Med: Adding Properties folder.
Med: Added Properties folder.
Med: Added AssemblyInfo.cs file to folder Properties.
Med: Adding Generator folder.
Med: Added Generator folder.
Med: Added facade.nswag file to folder Generator.
Med: Added InfrarefCoreEnvironmentClient.Extension.cs file to project Infraref.Core.Facade.Sdk.
Med: Folder Tests is created to Core.
Med: Adding project: Infraref.Core.UnitTest.
Med: Added EnvironmentBLTests.cs file to project Infraref.Core.UnitTest.
Low: Add Micro-service Core is done.
GFlisch commented 1 year ago

Hi Peter,

I think it was due to a transient issue with the online database containing the templates.

Can you tell me when you did this operation => So I can check the logs.

Gilles


From: phoogers @.> Sent: Friday, April 28, 2023 13:23 To: GFlisch/Arc4u.Guidance.Doc @.> Cc: Subscribed @.***> Subject: [GFlisch/Arc4u.Guidance.Doc] When creating a new microservice, there are error logs in the Guidance output logs (Issue #171)

Describe the bug Some errors in the output of the Guidance when adding a microservice - in this case called "Core"

To Reproduce Steps to reproduce the behavior:

Expected behavior Guidance creates a Core microservice without errors

Full output of the action:

Low: Adding Micro-service. Low: Create service Core. Med: Folder Core is created to BE. Med: Adding project: Infraref.Core.Host. Med: Added Program.cs file to project Infraref.Core.Host. Med: Adding Properties folder. Med: Added Properties folder. Med: Adding Configs folder. Med: Added Configs folder. Med: Added Properties\launchSettings.json file to project Infraref.Core.Host. Med: Added HealthChecks\LogHealthCheck.cs file to project Infraref.Core.Host. Med: Added Properties\AssemblyInfo.cs file to project Infraref.Core.Host. Med: Adding an AzureDevOps BuildAndPublish.yml file. Med: Added BuildAndPublish.yml file to folder Core. Med: Adding Infrastructure folder. Med: Added Infrastructure folder. Med: Added OAuth2HttpHandler.cs file to folder Infrastructure. Med: Added OAuth2GrpcInterceptor.cs file to folder Infrastructure. Med: Added OAuth2TokenSettingsReader.cs file to folder Infrastructure. Med: Added VolatileMemorySettingsReader.cs file to folder Infrastructure. Med: Add Kestrel configuration. Med: Adding Components folder. Med: Added Components folder. Med: Adding Dev folder to Components. Med: Added Dev folder to Components. Med: Adding Test folder to Components. Med: Added Test folder to Components. Med: Adding Acc folder to Components. Med: Added Acc folder to Components. Med: Adding Prod folder to Components. Med: Added Prod folder to Components. Med: Add SwaggerUi3Route("Core" to Yarp startup file. Med: Added appsettings.json file to folder Configs. Med: Adding section Memory.Settings to the appSettings file. Med: Added appsettings.Development.json file to folder Configs. Med: Adding section AppSettings to the appSettings file. Error: Error when calling content service, wait 200 ms. Error: Error when calling content service, wait 500 ms. Error: Error when calling content service, wait 1000 ms. Error: HTTP Response:

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500 Response:

at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Polly.Retry.AsyncRetryEngine.d0`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Polly.AsyncPolicy.d21`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d__4.MoveNext() Error: Adding the DaprSidekick to the appSettings file failed. Med: No OpenTelemetry configuration found for environment . Med: Adding section Memory.Settings to the appSettings file. Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Development.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Development.json Med: Added appsettings.Dev.json file to folder Configs. Med: Adding section AppSettings to the appSettings file. Error: Error when calling content service, wait 200 ms. Error: Error when calling content service, wait 500 ms. Error: Error when calling content service, wait 1000 ms. Error: HTTP Response:

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500 Response:

at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Polly.Retry.AsyncRetryEngine.d0`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Polly.AsyncPolicy.d21`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d__4.MoveNext() Error: Adding the DaprSidekick to the appSettings file failed. Med: No OpenTelemetry configuration found for environment . Med: Adding section Memory.Settings to the appSettings file. Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Dev.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Dev.json Med: Added appsettings.Test.json file to folder Configs. Med: Adding section AppSettings to the appSettings file. Error: Error when calling content service, wait 200 ms. Error: Error when calling content service, wait 500 ms. Error: Error when calling content service, wait 1000 ms. Error: HTTP Response:

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500 Response:

at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Polly.Retry.AsyncRetryEngine.d0`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Polly.AsyncPolicy.d21`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d__4.MoveNext() Error: Adding the DaprSidekick to the appSettings file failed. Med: No OpenTelemetry configuration found for environment . Med: Adding section Memory.Settings to the appSettings file. Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Test.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Test.json Med: Added appsettings.Acc.json file to folder Configs. Med: Adding section AppSettings to the appSettings file. Error: Error when calling content service, wait 200 ms. Error: Error when calling content service, wait 500 ms. Error: Error when calling content service, wait 1000 ms. Error: HTTP Response:

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500 Response:

at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Polly.Retry.AsyncRetryEngine.d0`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Polly.AsyncPolicy.d21`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d__4.MoveNext() Error: Adding the DaprSidekick to the appSettings file failed. Med: No OpenTelemetry configuration found for environment . Med: Adding section Memory.Settings to the appSettings file. Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Acc.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Acc.json Med: Added appsettings.Prod.json file to folder Configs. Med: Adding section AppSettings to the appSettings file. Error: Error when calling content service, wait 200 ms. Error: Error when calling content service, wait 500 ms. Error: Error when calling content service, wait 1000 ms. Error: HTTP Response:

Arc4u.LicManager.Core.Interface.Sdk.RestException: The HTTP status code of the response was not expected (500).

Status: 500 Response:

at Arc4u.LicManager.Core.Interface.Sdk.AssetV1Client.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.<>c__DisplayClass9_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Polly.Retry.AsyncRetryEngine.d0`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Polly.AsyncPolicy.d21`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore2022_2.Services.ContentService.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GuidanceCore.Actions.AddDaprSidekickSettings.d__4.MoveNext() Error: Adding the DaprSidekick to the appSettings file failed. Med: No OpenTelemetry configuration found for environment . Med: Adding section Memory.Settings to the appSettings file. Med: Copied settings OAuth2.Settings from C:\prj\git\Infraref\src\Infraref\BE\Yarp\Infraref.Yarp.Host\Configs\appsettings.Prod.json to C:\prj\git\Infraref\src\Infraref\BE\Core\Infraref.Core.Host\Configs\appsettings.Prod.json Med: Adding project: Infraref.Core.Domain. Med: Adding AssemblyInfo.cs. Med: Adding EnvironmentInfo.cs. Med: Adding project: Infraref.Core.IBusiness. Med: Adding Properties folder. Med: Added Properties folder. Med: Adding Logic folder. Med: Added Logic folder. Med: Added AssemblyInfo.cs file to folder Properties. Med: Added IEnvironmentInfoBL.cs file to folder Logic. Med: Adding project: Infraref.Core.Business. Med: Adding Properties folder. Med: Added Properties folder. Med: Added AssemblyInfo.cs file to folder Properties. Med: Adding Common folder. Med: Added Common folder. Med: Adding Validators folder to Common. Med: Added Validators folder to Common. Med: Added IValidator.cs file to folder Validators. Med: Added ValidatorBase.cs file to folder Validators. Med: Adding Logic folder. Med: Added Logic folder. Med: Adding Validators folder to Logic. Med: Added Validators folder to Logic. Med: Adding Rules folder to Logic. Med: Added Rules folder to Logic. Med: Added EnvironmentInfoBL.cs file to folder Logic. Med: Adding Resources folder. Med: Added Resources folder. Med: Added ErrorRes.resx file to folder Resources. Med: Adding assembly reference Infraref.Core.Business to appSettings Med: Adding project: Infraref.Core.Facade. Med: Adding Properties folder. Med: Added Properties folder. Med: Adding Dto folder. Med: Added Dto folder. Med: Added AssemblyInfo.cs file to folder Properties. Med: Added MappingProfile.cs file to project Infraref.Core.Facade. Med: Added EnvironmentController.cs file to project Infraref.Core.Facade. Med: Adding assembly reference Infraref.Core.Facade to appSettings Med: Folder Sdks is created to Core. Med: Adding project: Infraref.Core.Facade.Sdk. Med: Adding Properties folder. Med: Added Properties folder. Med: Added AssemblyInfo.cs file to folder Properties. Med: Adding Generator folder. Med: Added Generator folder. Med: Added facade.nswag file to folder Generator. Med: Added InfrarefCoreEnvironmentClient.Extension.cs file to project Infraref.Core.Facade.Sdk. Med: Folder Tests is created to Core. Med: Adding project: Infraref.Core.UnitTest. Med: Added EnvironmentBLTests.cs file to project Infraref.Core.UnitTest. Low: Add Micro-service Core is done.

— Reply to this email directly, view it on GitHubhttps://github.com/GFlisch/Arc4u.Guidance.Doc/issues/171, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNE2KOM2UWQKZ53Q7MBWGTXDOSE5ANCNFSM6AAAAAAXPDJSME. You are receiving this because you are subscribed to this thread.Message ID: @.***>

phoogers commented 1 year ago

Hi Gilles,

It must have been between these 2 commits, so Fri 28/4 between 13:20 and 13:24

image