hi
First. Please test your app withour
virtual directory
.Then set log level to Debug and share your application logs.
Thanks.
public class Program { public async static Task<int> Main(string[] args) { Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning) .Enrich.FromLogContext() .WriteTo.Async(c => c.File("Logs/logs.txt")) .WriteTo.Async(c => c.Console()) .CreateLogger();
I sent you the api log and web log via wetransfer. Included #7669 in the info.
I should also note that if you create a fresh project and include the account source or the chat source using ABP studio version 0.7.5 you will also not be able to login with the account source module installed on a fresh application with no modifications.
hi
First. Please test your app withour
virtual directory
.Then set log level to Debug and share your application logs.
Thanks.
public class Program { public async static Task<int> Main(string[] args) { Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning) .Enrich.FromLogContext() .WriteTo.Async(c => c.File("Logs/logs.txt")) .WriteTo.Async(c => c.Console()) .CreateLogger();
I sent you the api log and web log via wetransfer. Included #7669 in the info.
hi
First. Please test your app withour
virtual directory
.Then set log level to Debug and share your application logs.
Thanks.
public class Program { public async static Task<int> Main(string[] args) { Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning) .Enrich.FromLogContext() .WriteTo.Async(c => c.File("Logs/logs.txt")) .WriteTo.Async(c => c.Console()) .CreateLogger();
In regards to this virtual directory issue where I cannot add roles or users, but I can login, can you investigate the project if I send it over?
Everything works except user management. Also, the RabbitMQ errors
Of note: I have a working version in 7.4.2 which I had to heavily modify. It works perfectly with CHAT and FileManagement sources installed.
I am trying to upgrade and the upgrade breaks everything.
Now, I am rebuilding from scratch in v.8.2.1 MVC/EF/SQLServer Tiered. My main issues seem to center around the application not working as soon as it's served from https://servername.org/myapp .
hi
You can use Gmail or onedrive or https://wetransfer.com/
I sent it via wetransfer to your email address as listed in this support chat. Says it's available for 3 days. Thanks. It si coming from my gmail account which is almost similar to my username here. - almost.
hi
Can you share a project that I can test?
liming.ma@volosoft.com
yes. Where should I upload it?
hi
[ERR] An unhandled exception has occurred while executing the request. Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi). See inner exception ---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type - Volo.Chat.Messages.SendMessageInput. See inner exception ---> System.NullReferenceException: Object reference not set to an instance of an object.
We will fix this in 8.2.2, sorry for that.
If you are using the source code of Chat. You can fix this by change
chat/src/Volo.Chat.Application.Contracts/Volo/Chat/Messages/SendMessageInput.cs
My code already has this exact line. In fact, I have all of this code in the SendMessageInput.cs file. Is there anything else I can try? I did clean all projects deleting the bin and obj folders. A rebuild did not solve the solution.
I added as much of the relevant host log as possible. This is where the exceptions happen after the CHAT packages are replaced with the source code in a brand new solution created with ABP Studio/ABP Suite on 8.2.1 I can login, administer the server openiddict, etc.I can't use CHAT at all after swapping to Source Code.
From ABP STUDIO exceptions for the HttpApi.Host I get.
Error : Failed to generate Operation for action - Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi). See inner exception
Exception Type: Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException
Souorce Swashbuckle.AspNetCore.SwaggerGetn.SwaggerGeneratorException.
Stack Trace:
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable1 apiDescriptions, SchemaRepository schemaRepository) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable
1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.Claims.AbpDynamicClaimsMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
hi
First. Please test your app withour
virtual directory
.Then set log level to Debug and share your application logs.
Thanks.
public class Program { public async static Task<int> Main(string[] args) { Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning) .Enrich.FromLogContext() .WriteTo.Async(c => c.File("Logs/logs.txt")) .WriteTo.Async(c => c.Console()) .CreateLogger();
I created a brand new project from scratch. I did not create any virtual directories. Create an tiered EF books app. build it and login to make sure it works. Add the code version of the CHAT module and try to send a CHAT after giving a user CHAT permissions. you will get an internal server error. Swagger will fail to load with: error 500 /swagger/v1/swagger.json if I navigate to swagger.json directly: An unhandled exception occurred while processing the request.Volo.Chat.Messages.SendMessageInput Inserting the MyWebApp.HttpApi.Host log.txt file
2024-08-07 21:18:04.889 -07:00 [DBG] Request matched endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2024-08-07 21:18:04.889 -07:00 [DBG] Request matched endpoint 'MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host)'
2024-08-07 21:18:05.017 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:05.017 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:05.091 -07:00 [DBG] Static files was skipped as the request already matched an endpoint.
2024-08-07 21:18:05.091 -07:00 [DBG] Static files was skipped as the request already matched an endpoint.
2024-08-07 21:18:05.141 -07:00 [INF] Executing endpoint 'MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host)'
2024-08-07 21:18:05.141 -07:00 [INF] Executing endpoint 'Health checks'
2024-08-07 21:18:05.146 -07:00 [DBG] Running health checks
2024-08-07 21:18:05.201 -07:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller MyWebAppt2v821.Controllers.HomeController (MyWebAppt2v821.HttpApi.Host).
2024-08-07 21:18:05.206 -07:00 [DBG] Execution plan of authorization filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter"]
2024-08-07 21:18:05.206 -07:00 [DBG] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
2024-08-07 21:18:05.210 -07:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter (Order: -2147483648)","Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Volo.Abp.AspNetCore.Mvc.GlobalFeatures.GlobalFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter","Volo.Abp.AspNetCore.Mvc.Response.AbpNoContentActionFilter","Volo.Abp.AspNetCore.Mvc.Features.AbpFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter","Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter"]
2024-08-07 21:18:05.212 -07:00 [DBG] Execution plan of exception filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter"]
2024-08-07 21:18:05.212 -07:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
2024-08-07 21:18:05.227 -07:00 [DBG] Executing controller factory for controller MyWebAppt2v821.Controllers.HomeController (MyWebAppt2v821.HttpApi.Host)
2024-08-07 21:18:05.285 -07:00 [DBG] Executed controller factory for controller MyWebAppt2v821.Controllers.HomeController (MyWebAppt2v821.HttpApi.Host)
2024-08-07 21:18:05.416 -07:00 [INF] Executing RedirectResult, redirecting to /swagger.
2024-08-07 21:18:05.432 -07:00 [INF] Executed action MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host) in 212.9086ms
2024-08-07 21:18:05.432 -07:00 [INF] Executed endpoint 'MyWebAppt2v821.Controllers.HomeController.Index (MyWebAppt2v821.HttpApi.Host)'
2024-08-07 21:18:05.497 -07:00 [DBG] Running health check MyWebAppt2v821 DbContext Check
2024-08-07 21:18:05.546 -07:00 [DBG] Connection ID "17509995412151337144" disconnecting.
2024-08-07 21:18:05.553 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/swagger/index.html - null null
2024-08-07 21:18:05.560 -07:00 [DBG] The request path /swagger/index.html does not match an existing file
2024-08-07 21:18:05.563 -07:00 [DBG] No candidates found for the request path '/swagger/index.html'
2024-08-07 21:18:05.564 -07:00 [DBG] Request did not match any endpoints
2024-08-07 21:18:05.564 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/ - 302 null null 1362.3689ms
2024-08-07 21:18:05.565 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:05.574 -07:00 [DBG] Successfully validated the token.
2024-08-07 21:18:05.583 -07:00 [DBG] AuthenticationScheme: Bearer was successfully authenticated.
2024-08-07 21:18:05.735 -07:00 [DBG] Response markup is scheduled to include Browser Link script injection.
2024-08-07 21:18:05.752 -07:00 [DBG] Response markup is scheduled to include browser refresh script injection.
2024-08-07 21:18:05.771 -07:00 [DBG] Response markup was updated to include Browser Link script injection.
2024-08-07 21:18:05.773 -07:00 [DBG] Response markup was updated to include browser refresh script injection.
2024-08-07 21:18:05.776 -07:00 [DBG] Connection ID "17509995412151337146" disconnecting.
2024-08-07 21:18:05.776 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/swagger/index.html - 200 null text/html;charset=utf-8 223.7829ms
2024-08-07 21:18:05.816 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/_framework/aspnetcore-browser-refresh.js - null null
2024-08-07 21:18:05.831 -07:00 [DBG] Connection ID "17870283339391303723" disconnecting.
2024-08-07 21:18:05.834 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/_framework/aspnetcore-browser-refresh.js - 200 13790 application/javascript; charset=utf-8 14.7634ms
2024-08-07 21:18:05.882 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/_vs/browserLink - null null
2024-08-07 21:18:06.095 -07:00 [DBG] Connection ID "18374686484771897496" disconnecting.
2024-08-07 21:18:06.109 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/_vs/browserLink - 200 null text/javascript; charset=UTF-8 226.3453ms
2024-08-07 21:18:06.182 -07:00 [INF] Request starting HTTP/2 GET https://localhost:44326/swagger/v1/swagger.json - null null
2024-08-07 21:18:06.183 -07:00 [DBG] The request path /swagger/v1/swagger.json does not match an existing file
2024-08-07 21:18:06.184 -07:00 [DBG] No candidates found for the request path '/swagger/v1/swagger.json'
2024-08-07 21:18:06.184 -07:00 [DBG] Request did not match any endpoints
2024-08-07 21:18:06.184 -07:00 [DBG] AuthenticationScheme: Bearer was not authenticated.
2024-08-07 21:18:06.916 -07:00 [DBG] Get dynamic claims cache for user: f013c66b-5934-3194-4231-3a1441a8b387
2024-08-07 21:18:07.282 -07:00 [ERR] An unhandled exception has occurred while executing the request.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi). See inner exception
---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type - Volo.Chat.Messages.SendMessageInput. See inner exception
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Volo.Abp.Validation.DynamicStringLengthAttribute..ctor(Type sourceType, String maximumLengthPropertyName, String minimumLengthPropertyName)
at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
at Swashbuckle.AspNetCore.SwaggerGen.MemberInfoExtensions.GetInlineAndMetadataAttributes(MemberInfo memberInfo)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.CreateObjectSchema(DataContract dataContract, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.<>c__DisplayClass10_0.<GenerateConcreteSchema>b__3()
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func`1 definitionFactory)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateConcreteSchema(DataContract dataContract, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchemaForParameter(Type modelType, SchemaRepository schemaRepository, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchema(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
--- End of inner exception stack trace ---
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateRequestBodyFromBodyParameter(ApiDescription apiDescription, SchemaRepository schemaRepository, ApiParameterDescription bodyParameter)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateRequestBody(ApiDescription apiDescription, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
--- End of inner exception stack trace ---
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.Claims.AbpDynamicClaimsMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
2024-08-07 21:18:07.336 -07:00 [INF] Request finished HTTP/2 GET https://localhost:44326/swagger/v1/swagger.json - 500 null text/plain; charset=utf-8 1154.9528ms
2024-08-07 21:18:07.345 -07:00 [DBG] Connection ID "18230571343940681939" disconnecting.
2024-08-07 21:18:07.427 -07:00 [DBG] Static files was skipped as the request already matched an endpoint.
2024-08-07 21:18:07.431 -07:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2024-08-07 21:18:07.496 -07:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationRequestOptions) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc).
2024-08-07 21:18:07.496 -07:00 [DBG] Execution plan of authorization filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter"]
2024-08-07 21:18:07.496 -07:00 [DBG] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
2024-08-07 21:18:07.496 -07:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Volo.Abp.AspNetCore.Mvc.GlobalFeatures.GlobalFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter","Volo.Abp.AspNetCore.Mvc.Response.AbpNoContentActionFilter","Volo.Abp.AspNetCore.Mvc.Features.AbpFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter","Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter"]
Create an ABP Application using either ABP Suite or ABP Studio.0.7.5. Specify Tiered, etc. Launch all required instances Host/Swagger, AuthServer and Web app. Using these settings, should run fine. Configure a virtual directory either in VS 2022 or in IIS and configure for debugging. Set your app-settings, etc to point to the /myapp virtual directory. I had to modify abp.js to add the /myapp/ as part of the appPath variable. After some trial and error, I was able to get everything, including swagger to load. I am able to login now. Console errors in the browser: 404 errors for bootstrap-dark.css -- Looking for it in https://Localhost:44352/Themes/LeptonX/Global/side-menu/css/bootstrap-dark.css---- shouldn't this be looking in the virtual directory location? something like https://Localhost:44352/myapp/Themes/LeptonX/Global/side-menu/css/bootstrap-dark.css Attaching an image of the way this folder structure looks in VS 2022. Additionally, , dark.css, logo-light.svg are not found. many errors pointing to layout-bundle.css
For the CHAT application installed via the ABP Studio (package only version) signal-r hubs is not found. It is looking in the root instead of the /myapp location. When I use the Settings feature to disable CHAT, the signalR Fetch errors disappear. Attempting to save settings after modifying my surname in profile results in a Sweet Alert popup "An Internal error occurred during your request."
LOGS show hundreds of RabbitMQ errors as well. RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. (Connection failed)
When I try to modify / add a new role Sweet Alert popup "An Internal error occurred during your request."
I am able to use the application CRUD pages generated via ABP suite for CRUD without problems.
So, I am partially there.
Now, can you get me the final goal of managing the application users and fixing the RabbitMQ errors?
Thanks in advance.
you can remove these files.
I had already done this step to get it working. However, I was concerned about side effects of removing the files. Thank you. That was my main concern.