Hi, We are developing few microservices using ABP framework which expose HTTP APIs. These microservices will run in container and will communicate with each other internally to exchange data. We want to implement Request/Reply messaging using RabbitMQ for inter microservices communication. As ABP provides integration with RabbitMQ, I can only see publish/subscribe example in the documentation.
Need to know -
Thanks, Repunjay
Hi,
Never mind. I was able to resolve it, actually below line was added to both module classes (MyProjectApplicationModule, MyProjectHttpApiHostModule) which was causing the issue -
Configure<AbpVirtualFileSystemOptions>(options => { options.FileSets.AddEmbedded<MyProjectApplicationModule>("MyProject"); });
Thanks for the prompt response and help.
Thanks, could you please let me know how do you want me connect with you? Are you available on teams or Google meet?
Thanks for the response. Is it possible for an online connect so that I can explain the issue from code?
Hi,
I'm trying to use ABP text templates in my code by referring the TextTemplateDemo sample solution. I have followed steps in documentation and sample code, but I get below error when try to render a template from my code solution -
Please suggest?
Note sure what is causing this issue.
2020-06-05 09:49:37.476 +05:30 [ERR] ---------- RemoteServiceErrorInfo ----------
2020-06-05 09:49:37.479 +05:30 [ERR] {
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"validationErrors": null
}
2020-06-05 09:49:37.480 +05:30 [ERR] The upgradeable lock is being released without being held.
System.Threading.SynchronizationLockException: The upgradeable lock is being released without being held.
at System.Threading.ReaderWriterLockSlim.ExitUpgradeableReadLock()
at Volo.Abp.TextTemplating.VirtualFiles.LocalizedTemplateContentReaderFactory.CreateAsync(TemplateDefinition templateDefinition)
at Volo.Abp.TextTemplating.VirtualFiles.VirtualFileTemplateContentContributor.GetOrNullAsync(TemplateContentContributorContext context)
at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(ITemplateContentContributor[] contributors, TemplateContentContributorContext context)
at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(TemplateDefinition templateDefinition, String cultureName, Boolean tryDefaults, Boolean useCurrentCultureIfCultureNameIsNull)
at Volo.Abp.TextTemplating.TemplateRenderer.RenderSingleTemplateAsync(TemplateDefinition templateDefinition, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.TemplateRenderer.RenderInternalAsync(String templateName, Dictionary
2 globalContext, Object model)
at Volo.Abp.TextTemplating.TemplateRenderer.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)
Hi,
We are trying to develop a microservices based application consisting of several microservices. For inter-microservices communication we plan to evaluate RabbitMQ or ActiveMQ distributed Event bus system. Do we have any integration in place to use RabbitMQ or ActiveMQ with ABP framework? What code changes needs to be done in order integrate, are there any guidelines/documentation available?
Thanks & regards, Repunjay
Hi,
We want to develop an application using ABP.IO commercial framework with backend database on AWS Aurora PostgreSQL. Need to know -
Please suggest and advise.
Thanks & regards, Repunjay
Hi,
I'm facing another issue when try to deploy and run aspnet-core project into Docker Container (Windows). The image is successfully created but the docker container doesnt run and exits. When I checked the logs, I found below issue - Could you please advise on resolution steps for this issue? Kindly note, that I have a commercial license code for abp.io and it works properly when I run code from local machine.
2020-04-28 00:00:03.669 +05:30 [ERR] ABP-LIC-0008 - License check failed for 'Volo.Abp.LanguageManagement.Domain.Shared-v2.4.0.0'.
You need to log in using the command abp login <username>
.
For more information, contact to license@abp.io.
2020-04-28 00:00:03.673 +05:30 [INF] Application is shutting down...
2020-04-28 00:00:03.673 +05:30 [FTL] An error occurred stopping the application
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Volo.Abp.Hangfire.AbpHangfireModule.OnApplicationShutdown(ApplicationShutdownContext context)
at Volo.Abp.Modularity.OnApplicationShutdownModuleLifecycleContributor.Shutdown(ApplicationShutdownContext context, IAbpModule module)
at Volo.Abp.Modularity.ModuleManager.ShutdownModules(ApplicationShutdownContext context)
at Volo.Abp.AbpApplicationBase.Shutdown()
at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.<>c__DisplayClass1_0.<InitializeApplication>b__0()
at System.Threading.CancellationToken.<>c.<.cctor>b__26_0(Object obj)
at System.Threading.CancellationTokenSource.CallbackNode.<>c.<ExecuteCallback>b__9_0(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.CancellationTokenSource.CallbackNode.ExecuteCallback()
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
--- End of inner exception stack trace ---
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.CancellationTokenSource.NotifyCancellation(Boolean throwOnFirstException)
at System.Threading.CancellationTokenSource.Cancel(Boolean throwOnFirstException)
at Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.StopApplication()
Regards, Repunjay
Hi,
I'm developing an application using abp.io with Angular front-end. I'm trying to deploy and run the api into Docker container. I used Visual studio Docker support which creates a Dockerfile under project *.HttpApi.Host. The Docker image is created and a container runs successfully. But when I try to access the api from Docker using http://localhost:<Docker port> from browser, it is not accessible. However, the api is accessible when it runs from local machine using Visual Studio like http://localhost:44306.
Question -
Let me know if you require additional information. Any help, suggestions would be welcome.
Thanks, Repunjay