Skip to main content
Solved

Connection to RabbitMQ failed


Forum|alt.badge.img

Hi,

I have this error after install the last version of Acumatica. 

Connection to RabbitMQ failed

The service RabbitMQ is running. 

Thanks,

EV

Best answer by dh69

edsonvelez64 wrote:
Naveen Boga wrote:

Hi @edsonvelez64  You might have missed this option while creating the instance.

To fix this, you can comment on the below code from the web.config file and verify.

 

 <add key="QueueType" value="RabbitMQ" />

 

 

Hi, Thank for your response. 

I did that, but, what if I want to use the RabbitMQ? 

 

Thanks,

Ev

you can check services of Rabbit MQ (RabbitMQ Windows - Start Server automatically - Stack Overflow

View original
Did this topic help you find an answer to your question?

Naveen Boga
Captain II
Forum|alt.badge.img+19

Hi @edsonvelez64  You might have missed this option while creating the instance.

To fix this, you can comment on the below code from the web.config file and verify.

 

 <add key="QueueType" value="RabbitMQ" />

 

 


Forum|alt.badge.img
Naveen Boga wrote:

Hi @edsonvelez64  You might have missed this option while creating the instance.

To fix this, you can comment on the below code from the web.config file and verify.

 

 <add key="QueueType" value="RabbitMQ" />

 

 

Hi, Thank for your response. 

I did that, but, what if I want to use the RabbitMQ? 

 

Thanks,

Ev


Forum|alt.badge.img

I’m having the same issue with the latest 2023r1 Beta.   I do not have a RabbitMQ line in my Web.config file.   The RabbitMQ service is running.

 

Anyone have any other thoughts to try?

Thanks,

Brett


Naveen Boga
Captain II
Forum|alt.badge.img+19

@Chris Hackett  Could you please forward this question to the Acumatica team internally and help us with the above question?


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • February 13, 2023

Hi @brettnothan9 - I checked internally and there wasn’t an obvious answer. It was suggested to create a case to investigate further. Thank you!


Forum|alt.badge.img+5
  • Semi-Pro III
  • February 13, 2023

Can you please post the exact version of 2023 R1 that you are running? (23.091.0146, 23.092.0102, 23.093.0227 are the 3 current options). I have installed the latest version on Windows 10 and on Win Server 2019 and I haven’t run into this issue.

 

Also please confirm that you have installed .NET Framework v4.8 and .NET Core 3.1 prior to installation.

 

Thanks,

 

Jonathan


  • Freshman II
  • March 18, 2023
edsonvelez64 wrote:
Naveen Boga wrote:

Hi @edsonvelez64  You might have missed this option while creating the instance.

To fix this, you can comment on the below code from the web.config file and verify.

 

 <add key="QueueType" value="RabbitMQ" />

 

 

Hi, Thank for your response. 

I did that, but, what if I want to use the RabbitMQ? 

 

Thanks,

Ev

you can check services of Rabbit MQ (RabbitMQ Windows - Start Server automatically - Stack Overflow


Forum|alt.badge.img

Do not know why… but restarting the computer solved the issue for me.


DavidEichner
Captain II
Forum|alt.badge.img+13

We just updated to the latest build of Acumatica 23R2 yesterday.  Everything was fine after the upgrade yesterday but today all of our sites are getting this message.  The RabbitMQ service will not start.  I wonder if Microsoft did an automatic update that broke RabbitMQ?

I am trying a restart of the web server to see if that resolves it.  Will keep you posted.


DavidEichner
Captain II
Forum|alt.badge.img+13

Restart of server didn’t work.  We also tried uninstalling RabbitMQ and then running the Acumatica Installer with Repair option. Service still not able to start.


DavidEichner
Captain II
Forum|alt.badge.img+13

Here’s the fix that worked for us.

  1. Uninstall RabbitMQ
  2. Install Erlang 25.3 after checking check box to replace windows dlls
  3. Install RabbitMQ
  4. Restart the RabbitMQ service

Here’s a good link that includes links to download the Erlang and RabbitMQ installers:  https://www.rabbitmq.com/install-windows.html#installer

Hope this helps anyone dealing with the same issue.  Apparently, Windows Updates are replacing a dll that Erlang & RabbitMQ are dependent on.  

If you dont want to disable RabbitMQ in Acumatica, you may need to turn off automatic windows updates and do them manually knowing you might have to do the uninstall/reinstall dance.

Best,

David Eichner, CPA


DavidEichner
Captain II
Forum|alt.badge.img+13

I spoke too quickly.  Although the service is now running, Acumatica still has the error.


DavidEichner
Captain II
Forum|alt.badge.img+13

At this point, I guess we have to comment out and disable the RabbitMQ functionality.  Can anyone tell me what functionality within Acumatica is lost when this is disabled?


AaronB
Varsity II
Forum|alt.badge.img+1
  • Varsity II
  • January 12, 2024

@DavidEichner I ran into the same issue a few days ago as well trying to install 24r092.
I tried to install 23r203 - a version that I have installed with no issue before - that produced the same RabbitMQ error.

Today I have the site working with RabbitMQ after doing the following steps:
1) Disabling the RabbitMQ in the web.config worked to get it online
2) I restarted my pc this morning - not sure if this was needed but it is a step I took.

3) I re-added the line  <add key="QueueType" value="RabbitMQ" /> into my web.config in the original spot and the site works after reloading the new config.

My only lead on why this error happened is possibly due to installing the Acumatica Portal, it was exactly when i first encountered the issue. - It would be interesting to know if you have that installed as well recently.
 

 


ngerst
Freshman II
Forum|alt.badge.img
  • Freshman II
  • February 19, 2024
DavidEichner wrote:

Here’s the fix that worked for us.

  1. Uninstall RabbitMQ
  2. Install Erlang 25.3 after checking check box to replace windows dlls
  3. Install RabbitMQ
  4. Restart the RabbitMQ service

Here’s a good link that includes links to download the Erlang and RabbitMQ installers:  https://www.rabbitmq.com/install-windows.html#installer

Hope this helps anyone dealing with the same issue.  Apparently, Windows Updates are replacing a dll that Erlang & RabbitMQ are dependent on.  

If you dont want to disable RabbitMQ in Acumatica, you may need to turn off automatic windows updates and do them manually knowing you might have to do the uninstall/reinstall dance.

Best,

David Eichner, CPA

I originally used this to fix the issue, but 2 weeks later I try to start Acumatica and I get the same error. Has anyone found a fix to this error that is permanent? Thankfully we are only seeing this in DEV on 2023R2, but the goal is to move this to PRD in the coming weeks. 


Forum|alt.badge.img+1
  • Semi-Pro III
  • June 26, 2024

Just a guess but things like this usually point to the port/socket that the service is listening on is being used by another application or is being blocked by a firewall. Sometimes this can just appear to be random and a reboot may fix it. I was not able to easily determine which port but you can run “netstat -a -b” and I think erl.exe are the ports that RabbitMQ may be listening on.


  • August 2, 2024

I had to login has a local user. Then ran the RabbitMQ installer it then installed without issues and I was able to access the site. I then rebooted and login in has a domain user everything seems to be good now. Hope this helps.


Encountered this again when installing 24R1 and 24R2. Re-installing the RabbitMQ Service fixed it. This is the option available in windows applications to reinstall the rabbitmq service and not to re-install the rabbitmq application itself.


stevec94
Freshman II
  • Freshman II
  • November 8, 2024

Self hosting here: Same problem, “Could not connect RabbitMQ”. Checking for the service shows that RabbitMQ is running, but the description is blank for some reason.

I administer the Acumatica server via RDP as it is a Hyper-V virtual machine. I found that the “HOMEDRIVE” environment variable was the issue. So, I created a local user “RabbitMQ”, signed in as that, and ran the “rabbitmq-service stop / remove / install / start” sequence from the RabbitMQ sbin directory, which completed without errors. Checking in services now shows it running, and the description is now populated.

Removing the comments around “<add key="QueueType" value="RabbitMQ" />” and then restarting the website has the issue resolved!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings