Thank you for your answer, But the error persists. Is there another way you can suggest?
I edited what you said as follows;
public interface IScreenRootManager
{
Task<ScreenDesignCreateResult> CreateAsync(IScreenDesignCreateCommand screenDesignDto);
}
public class ScreenRootManager : DomainService, ITransientDependency, IUnitOfWorkEnabled, IScreenRootManager
{
private readonly IScreenDesignRepository _screenDesignRepository;
private readonly IObjectMapper _mapper;
private readonly ILogger<ScreenRootManager> _logger;
public ScreenRootManager(IScreenDesignRepository screenDesignRepository, IObjectMapper mapper, IUnitOfWorkManager unitOfWorkManager, ILogger<ScreenRootManager> logger)
{
var screenDesignRepository1 = screenDesignRepository;
_screenDesignRepository = screenDesignRepository;
_mapper = mapper;
_logger = logger;
}
public async Task<ScreenDesignCreateResult> CreateAsync(
IScreenDesignCreateCommand screenDesignDto
)
{
var screenDesign = new ScreenDesign(
screenDesignDto.Type,
screenDesignDto.ProgramName,
Guid.NewGuid(),
screenDesignDto.FieldId,
screenDesignDto.FieldName,
screenDesignDto.FieldDescription,
screenDesignDto.GridJsonHeader,
screenDesignDto.TabJsonHeader,
screenDesignDto.PopupOrderAppearance,
screenDesignDto.TabSequence,
screenDesignDto.DontShow,
screenDesignDto.IsMandatoryField,
screenDesignDto.AllowMinusDataEntry,
screenDesignDto.DontRefreshDataAfterRegistration,
screenDesignDto.CanNotChangeFieldWithEdit,
screenDesignDto.AllowFiltering,
screenDesignDto.IsPrimary,
screenDesignDto.Alignment,
screenDesignDto.Format,
screenDesignDto.Width,
screenDesignDto.MessageKey,
screenDesignDto.LookupUrl,
screenDesignDto.IsGrid,
screenDesignDto.HeaderUrl,
screenDesignDto.DataSourceUrl,
screenDesignDto.TabTitle,
screenDesignDto.TemplateName,
screenDesignDto.PropertyDataType,
screenDesignDto.DisplayLocation,
screenDesignDto.SubTab,
screenDesignDto.SubTabSequence,
screenDesignDto.DataLength,
screenDesignDto.ColumnOrder,
screenDesignDto.DefaultOrder,
screenDesignDto.NotAllowChangesNotBlank,
screenDesignDto.MinimumCharLength,
screenDesignDto.MaximumCharLength,
screenDesignDto.IsTree,
screenDesignDto.RelationField,
screenDesignDto.CascadeFrom,
screenDesignDto.IsDMS,
screenDesignDto.IsDMSEnum
);
try
{
var data = await _screenDesignRepository.InsertAsync(screenDesign);
var returnDto = _mapper.Map<ScreenDesign, ScreenDesignCreateResult>(data);
return returnDto ;
}
catch (Exception ex)
{
_logger.LogError(ex, "error occured");
throw;
}
}
}
public class CreateScreenDesignConsumer : IConsumer<IScreenDesignCreateCommand>
{
private readonly ScreenRootManager _screenRootManager;
private readonly ILogger<CreateScreenDesignConsumer> _logger;
public CreateScreenDesignConsumer(ScreenRootManager screenRootManager, ILogger<CreateScreenDesignConsumer> logger)
{
_screenRootManager = screenRootManager;
_logger = logger;
}
//I changed to virtual here
public virtual async Task Consume(ConsumeContext<IScreenDesignCreateCommand> context)
{
try
{
var result = await _screenRootManager.CreateAsync(context.Message);
await context.RespondAsync(new Result<ScreenDesignCreateResult>(data: result));
}
catch (Exception ex)
{
await context.RespondAsync<Fault<Result>>
(new { Message = "ScreenDeisgn:CreateFail", FaultMessage = ex.Message, FaultStackTrace = ex.StackTrace });
}
}
}
Thank you for your answer, I added the codes you said as below but the same problem persists. Did you have a chance to review my project?
My scenario works like this: I want to capture the data with mass transit in the worker service and save it to the db, I created the worker service myself, the API where the data is created only sends the ScreenDesignCreateCommand(like dto) object.
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using ScreenDesign.Commands;
using ScreenDesign.Helper;
using ScreenDesign.Localization;
using ScreenDesign.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Services;
using Volo.Abp.ObjectMapping;
using Volo.Abp.Uow;
namespace ScreenDesign
{
public interface IScreenRootManager
{
Task<ScreenDesignCreateResult> CreateAsync(IScreenDesignCreateCommand screenDesignDto);
}
public class ScreenRootManager : DomainService, ITransientDependency, IUnitOfWorkEnabled , IScreenRootManager
{
private readonly IScreenDesignRepository _screenDesignRepository;
private readonly IObjectMapper _mapper;
private readonly ILogger<ScreenRootManager> _logger;
public ScreenRootManager(IScreenDesignRepository screenDesignRepository, IObjectMapper mapper, IUnitOfWorkManager unitOfWorkManager, ILogger<ScreenRootManager> logger)
{
var screenDesignRepository1 = screenDesignRepository;
_screenDesignRepository = screenDesignRepository;
_mapper = mapper;
_logger = logger;
}
public async Task<ScreenDesignCreateResult> CreateAsync(
IScreenDesignCreateCommand screenDesignDto
)
{
var screenDesign = new ScreenDesign(
screenDesignDto.Type,
screenDesignDto.ProgramName,
Guid.NewGuid(),
screenDesignDto.FieldId,
screenDesignDto.FieldName,
screenDesignDto.FieldDescription,
screenDesignDto.GridJsonHeader,
screenDesignDto.TabJsonHeader,
screenDesignDto.PopupOrderAppearance,
screenDesignDto.TabSequence,
screenDesignDto.DontShow,
screenDesignDto.IsMandatoryField,
screenDesignDto.AllowMinusDataEntry,
screenDesignDto.DontRefreshDataAfterRegistration,
screenDesignDto.CanNotChangeFieldWithEdit,
screenDesignDto.AllowFiltering,
screenDesignDto.IsPrimary,
screenDesignDto.Alignment,
screenDesignDto.Format,
screenDesignDto.Width,
screenDesignDto.MessageKey,
screenDesignDto.LookupUrl,
screenDesignDto.IsGrid,
screenDesignDto.HeaderUrl,
screenDesignDto.DataSourceUrl,
screenDesignDto.TabTitle,
screenDesignDto.TemplateName,
screenDesignDto.PropertyDataType,
screenDesignDto.DisplayLocation,
screenDesignDto.SubTab,
screenDesignDto.SubTabSequence,
screenDesignDto.DataLength,
screenDesignDto.ColumnOrder,
screenDesignDto.DefaultOrder,
screenDesignDto.NotAllowChangesNotBlank,
screenDesignDto.MinimumCharLength,
screenDesignDto.MaximumCharLength,
screenDesignDto.IsTree,
screenDesignDto.RelationField,
screenDesignDto.CascadeFrom,
screenDesignDto.IsDMS,
screenDesignDto.IsDMSEnum
);
try
{
var data = await _screenDesignRepository.InsertAsync(screenDesign);
var returnDto = _mapper.Map<ScreenDesign, ScreenDesignCreateResult>(data);
return returnDto ;
}
catch (Exception ex)
{
_logger.LogError(ex, "error occured");
throw;
}
}
}
}
You can download my project from this link: https://we.tl/t-EWOKy9gh2H
Thanks for your feedback,
Below are the code blocks, if you share your email address I can send you the project.
This class is I call insertasync();
public class ScreenRootManager : DomainService
{
private readonly IScreenDesignRepository _screenDesignRepository;
private readonly IObjectMapper _mapper;
private readonly ILogger<ScreenRootManager> _logger;
public ScreenRootManager(IScreenDesignRepository screenDesignRepository, IObjectMapper mapper, IUnitOfWorkManager unitOfWorkManager, ILogger<ScreenRootManager> logger)
{
var screenDesignRepository1 = screenDesignRepository;
_screenDesignRepository = screenDesignRepository;
_mapper = mapper;
_logger = logger;
}
public async Task<ScreenDesignCreateResult> CreateAsync(
IScreenDesignCreateCommand screenDesignDto
)
{
var screenDesign = new ScreenDesign(
screenDesignDto.Type,
screenDesignDto.ProgramName,
Guid.NewGuid(),
screenDesignDto.FieldId,
screenDesignDto.FieldName,
screenDesignDto.FieldDescription,
screenDesignDto.GridJsonHeader,
screenDesignDto.TabJsonHeader,
screenDesignDto.PopupOrderAppearance,
screenDesignDto.TabSequence,
screenDesignDto.DontShow,
screenDesignDto.IsMandatoryField,
screenDesignDto.AllowMinusDataEntry,
screenDesignDto.DontRefreshDataAfterRegistration,
screenDesignDto.CanNotChangeFieldWithEdit,
screenDesignDto.AllowFiltering,
screenDesignDto.IsPrimary,
screenDesignDto.Alignment,
screenDesignDto.Format,
screenDesignDto.Width,
screenDesignDto.MessageKey,
screenDesignDto.LookupUrl,
screenDesignDto.IsGrid,
screenDesignDto.HeaderUrl,
screenDesignDto.DataSourceUrl,
screenDesignDto.TabTitle,
screenDesignDto.TemplateName,
screenDesignDto.PropertyDataType,
screenDesignDto.DisplayLocation,
screenDesignDto.SubTab,
screenDesignDto.SubTabSequence,
screenDesignDto.DataLength,
screenDesignDto.ColumnOrder,
screenDesignDto.DefaultOrder,
screenDesignDto.NotAllowChangesNotBlank,
screenDesignDto.MinimumCharLength,
screenDesignDto.MaximumCharLength,
screenDesignDto.IsTree,
screenDesignDto.RelationField,
screenDesignDto.CascadeFrom,
screenDesignDto.IsDMS,
screenDesignDto.IsDMSEnum
);
try
{
var data = await _screenDesignRepository.InsertAsync(screenDesign);
var returnDto = _mapper.Map<ScreenDesign, ScreenDesignCreateResult>(data);
return returnDto ;
}
catch (Exception ex)
{
_logger.LogError(ex, "error occured");
throw;
}
}
}
I consume this class with AMQP and direct it to the manager, that is, to the upper class, I trigger the method with this class and use mass transit.
public class CreateScreenDesignConsumer : IConsumer<IScreenDesignCreateCommand>
{
private readonly ScreenRootManager _screenRootManager;
private readonly ILogger<CreateScreenDesignConsumer> _logger;
public CreateScreenDesignConsumer(ScreenRootManager screenRootManager, ILogger<CreateScreenDesignConsumer> logger)
{
_screenRootManager = screenRootManager;
_logger = logger;
}
public async Task Consume(ConsumeContext<IScreenDesignCreateCommand> context)
{
try
{
var result = await _screenRootManager.CreateAsync(context.Message);
await context.RespondAsync(new Result<ScreenDesignCreateResult>(data: result));
}
catch (Exception ex)
{
await context.RespondAsync<Fault<Result>>
(new { Message = "ScreenDeisgn:CreateFail", FaultMessage = ex.Message, FaultStackTrace = ex.StackTrace });
}
}
}
This class is where I implemented the efcore layer in the worker service;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureLogging(logging =>
{
logging.ClearProviders();
logging.AddConsole();
logging.AddDebug(); // Optional: Adds debug logging
})
.ConfigureServices(async (hostContext, services) =>
{
var configuration = hostContext.Configuration;
var builder = Host.CreateDefaultBuilder(args);
//I added the classes in quotes because generic methods were not shown.
"await services.AddApplicationAsync"AbpAutofacModule"();"
"await services.AddApplicationAsync"ScreenDesignEntityFrameworkCoreModule" ();"
services.AddMassTransit(x =>
{
x.AddConsumer<CreateScreenDesignConsumer>();
x.UsingRabbitMq((context, cfg) =>
{
cfg.Host("amqps://localhost/", h =>
{
h.Username("localhost");
h.Password("");
});
cfg.ConfigureEndpoints(context);
});
});
services.AddHostedService<Worker>();
})
.Build();
host.Run();
Error logs here;
info: ScreenDesign.Domain.Worker.Worker[0] Worker running at: 11/18/2024 09:08:18 +03:00 fail: ScreenDesign.ScreenRootManager[0] error occured Volo.Abp.AbpException: A DbContext can only be created inside a unit of work! at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1.GetDbContextAsync()
at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository2.InsertAsync(TEntity entity, Boolean autoSave, CancellationToken cancellationToken) at ScreenDesign.ScreenRootManager.CreateAsync(IScreenDesignCreateCommand screenDesignDto) in C:\Users\ali.ozen\Desktop\ddd\18.11-1\ScreenDesign\src\ScreenDesign.Domain\ScreenRootManager.cs:line 89 info: ScreenDesign.Domain.Worker.Worker[0] Worker running at: 11/18/2024 09:08:21 +03:00 fail: ScreenDesign.Domain.Worker.Consumers.CreateScreenDesignConsumer[0] error occured Volo.Abp.AbpException: A DbContext can only be created inside a unit of work! at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1.GetDbContextAsync()
at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository2.InsertAsync(TEntity entity, Boolean autoSave, CancellationToken cancellationToken) at ScreenDesign.ScreenRootManager.CreateAsync(IScreenDesignCreateCommand screenDesignDto) in C:\Users\ali.ozen\Desktop\ddd\18.11-1\ScreenDesign\src\ScreenDesign.Domain\ScreenRootManager.cs:line 89 at ScreenDesign.Domain.Worker.Consumers.CreateScreenDesignConsumer.Consume(ConsumeContext1 context) in C:\Users\ali.ozen\Desktop\ddd\18.11-1\ScreenDesign\ScreenDesign.Domain.Worker\Consumers\CreateScreenDesignConsumer.cs:line 31
fail: MassTransit.ReceiveTransport[0]
R-FAULT rabbitmqs://cow.rmq2.cloudamqp.com/gouvefqf/CreateScreenDesign a0570000-0faa-0009-898d-08dd07975edf ScreenDesign.Commands.IScreenDesignCreateCommand ScreenDesign.Domain.Worker.Consumers.CreateScreenDesignConsumer(00:00:14.3431337)
Volo.Abp.AbpException: A DbContext can only be created inside a unit of work!
at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1.GetDbContextAsync() at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository2.InsertAsync(TEntity entity, Boolean autoSave, CancellationToken cancellationToken)
at ScreenDesign.ScreenRootManager.CreateAsync(IScreenDesignCreateCommand screenDesignDto) in C:\Users\ali.ozen\Desktop\ddd\18.11-1\ScreenDesign\src\ScreenDesign.Domain\ScreenRootManager.cs:line 89
at ScreenDesign.Domain.Worker.Consumers.CreateScreenDesignConsumer.Consume(ConsumeContext1 context) in C:\Users\ali.ozen\Desktop\ddd\18.11-1\ScreenDesign\ScreenDesign.Domain.Worker\Consumers\CreateScreenDesignConsumer.cs:line 31 at MassTransit.DependencyInjection.ScopeConsumerFactory1.Send[TMessage](ConsumeContext1 context, IPipe1 next) in //src/MassTransit/DependencyInjection/DependencyInjection/ScopeConsumerFactory.cs:line 22
at MassTransit.DependencyInjection.ScopeConsumerFactory1.Send[TMessage](ConsumeContext1 context, IPipe1 next) in /_/src/MassTransit/DependencyInjection/DependencyInjection/ScopeConsumerFactory.cs:line 22 at MassTransit.Middleware.ConsumerMessageFilter2.MassTransit.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext1 context, IPipe1 next) in //src/MassTransit/Middleware/ConsumerMessageFilter.cs:line 48
info: ScreenDesign.Domain.Worker.Worker[0]
Worker running at: 11/18/2024 09:08:22 +03:00`
Error log Screenshot;
Hello, We are using identity management module in our project and we are having localization problem in the actions button on the roles screen.
As seen in the picture, "tr" equivalents come from abpui, but "en" values are written on the button.
I kindly ask for your support.
Hi again, We solved the problem, when we added the remote service url to the hosts file, the problem was solved, it was due to not being able to reach the url.
Hello, In our project, we make the gateway remote service using the "typeof(AbpAspNetCoreMvcClientModule)" module. The project runs smoothly in Windows DockerDesktop application, when we stand up docker containers with the same yml and same services in linux, we get the error "AbpRemoteCallException: An error occurred during the ABP remote HTTP request.".
Do you have any suggestion about this? When we got this error before, we were deleting and reinstalling redis continer, but this time it didn't fix it.
Application logs:
[10:59:41 INF] Request starting HTTP/2 GET https://api-------------:4319/favicon.ico - -
[10:59:41 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
[10:59:41 INF] Start processing HTTP request GET https://gateway------------:5501/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
[10:59:41 INF] Sending HTTP request GET https://gateway----------------r:5501/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
[10:59:41 ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (Connection refused (gateway----------------:5501)) See the inner exception for details.
---> System.Net.Http.HttpRequestException: Connection refused (gateway----------------:5501)
---> System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync(ClientProxyRequestContext requestContext) --- End of inner exception stack trace --- at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync(ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options)
at Definition.MyMvcCachedApplicationConfigurationClient.GetRemoteConfigurationAsync() in /src/host/Definition.HttpApi.Host/MyMvcCachedApplicationConfigurationClient.cs:line 69
at Definition.MyMvcCachedApplicationConfigurationClient.<GetAsync>b__16_0() in /src/host/Definition.HttpApi.Host/MyMvcCachedApplicationConfigurationClient.cs:line 52
at Volo.Abp.Caching.DistributedCache2.GetOrAddAsync(TCacheKey key, Func1 factory, Func1 optionsFactory, Nullable1 hideErrors, Boolean considerUow, CancellationToken token)
at Definition.MyMvcCachedApplicationConfigurationClient.GetAsync() in /src/host/Definition.HttpApi.Host/MyMvcCachedApplicationConfigurationClient.cs:line 50
at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Definition.DefinitionHttpApiHostModule.<>c.<<OnApplicationInitialization>b__1_0>d.MoveNext() in /src/host/Definition.HttpApi.Host/DefinitionHttpApiHostModule.cs:line 245
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
[10:59:41 INF] Request finished HTTP/2 GET https://api----------:4319/favicon.ico - - - 500 - text/plain;+charset=utf-8 39.7725ms