ABP Framework version: v8.1.1
UI Type:React
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): yes
Exception message and full stack trace:
Volo.Abp.AbpInitializationException: 'An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.BackgroundJobs.RabbitMQ.AbpBackgroundJobsRabbitMqModule, Volo.Abp.BackgroundJobs.RabbitMQ, Version=8.1.3.0, Culture=neutral, PublicKeyToken=null: None of the specified endpoints were reachable. See the inner exception for details.'
Inner Exception:
SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Steps to reproduce the issue: RabbitMQ Background Job implementation.
Hi,
I'm following https://abp.io/docs/latest/framework/infrastructure/background-jobs/rabbitmq to create RabbitMQ Background Job but while running the solution I'm getting below error
How to resolve this exception, is there any other detailed document is present to implement RabbitMQ Background Job? Also, do I need to install RabbitMQ in local to run it ?
Thanks,
Priyanka
1 Answer(s)
-
0
Hi there,
How to resolve this exception, is there any other detailed document is present to implement RabbitMQ Background Job? Also, do I need to install RabbitMQ in local to run it ?
Based on the error you're encountering, it looks like your application is trying to connect to a RabbitMQ server, but it can't establish a connection. This is expected if you haven't set up a RabbitMQ server yet.
Setup Steps
-
Install and start RabbitMQ on your local machine or a server, ensuring the service is running and accessible.
-
Then, verify your application's RabbitMQ connection string and firewall settings to allow communication.
-