Installation of NI Software Fails Due to Skyline RabbitMQ Dependency

Updated Apr 14, 2023

Reported In

Software

  • SystemLink Server
  • LabVIEW NXG Web Module
  • FlexLogger
  • LabVIEW NXG
  • LabVIEW Application Builder Module
  • Package Manager

Issue Details

  • When I try to install SystemLink™, FlexLogger, LabVIEW, LabVIEW NXG, or LabVIEW NXG Web Module, I get the following error about the NI Skyline RabbitMQ Support package. How can I resolve this and install the software?
There was a problem executing your request. 

An error occurred while installing a package: ni-skyline-rabbitmq-support (20.5.0.49152-0+f0)

Please check your internet connection and try again.
image002.png
  • When I try to install a LabVIEW application that uses the NI Web Server Development Support, I get the following error about the NI RabbitMQ Configuration for Skyline Products. How can I resolve this issue and install the application successfully?
The "NI RabbitMQ Configuration for Skyline Products" installation has failed.

Continue?
rtaImage_1.png
 
 

Solution

The issue associated with the NI Skyline RabbitMQ dependency can be caused by several underlying problems. Please try the following troubleshooting steps to solve the installation error:
  • The issue might be related to an OpenSSL Bug that is included in Erlang/OTP 22.0. The details about the issue and the workaround are documented in this external article: OpenSSL* SHA Crash Bug Update. The error can happen in some 10th and 11th Gen Intel CPU's and the workaround consists of setting an environment variable following these steps:
  1. Open File Explorer <Win+E>, right-click on This PC, and select Properties.
  2. Navigate to About and select Advanced System Settings.
  3. Select Environment Variables in the Advanced tab.
  4. Select New… under System variables.
  5. Input the text below and select OK:

    Variable name: OPENSSL_ia32cap
    Variable value: ~0x20000000
  • If possible, try deactivating the antivirus software or firewall that might be blocking the installation. In some cases, security software can incorrectly block the installation of NI Skyline RabbitMQ or other dependencies of the NI software being installed.
  • The issue can happen because the RabbitMQ and Erlang components are already installed in the system. Please follow the steps below to remove the components correctly and reinstall the NI software triggering the issue:
1. Go into NI Package Manager and make sure that the Show full version numbers and hidden packages option is checked from inside the menu accessed by selecting the cog in the upper right-hand corner of NI Package Manager. 
 
KCS 123.png
2. Go to the Installed tab and uncheck the box Products only. 
3. Enter "rabbit" into the search bar. Uninstall anything that shows up in that list. 
4. Enter "erlang" into the search bar. Uninstall anything that shows up in that list.
5. Go to the Windows Add or Remove Programs menu and search for the RabbitMQ server entry and OTP Erlang. Make sure to uninstall these as well if they are present. 
6. Delete the cache of the packages downloaded by deleting the contents of "C:\ProgramData\National Instruments\MDF\ProductCache" as well as "C:\ProgramData\National Instruments\NI Package Manager\packages".
7. Restart your computer and try reinstalling the software causing the issue.
8. In some cases, the uninstallation will not remove a registry key and this will cause the NI Package Manager to fail when installing the package. To try to solve this issue the registry keys can be removed.

WARNING: Inappropriate changes to the Windows Registry can disable your operating system. Only follow these instructions if you are comfortable making these changes, otherwise, enlist the help of your system administrator. Before attempting these steps, make a backup copy of your existing registry by launching the Registry Editorhighlighting the top-level Computer entry, and selecting File» Export. Save the copy in case you need to restore the registry. To remove registry keys follow the next steps:
  1. Open Regedit.exe
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ
  3. Remove that key.
  • If none of these troubleshooting steps fixed the installation issue, follow the instructions in Generating and Locating NI Package Manager Error Logs to turn on MSI logging on your system. The next time you try to install and it fails with this error, an error file will be generated at the directory indicated in that link. Contact NI Support and include the entire NIPM logs directory in your service request. Note that issues that are not resolved by the other steps in this document may require reimaging the affected computer to allow for a fresh installation of the affected software.
 

Additional Information

It is important to note that the installation of other software can enable the installation of RabbitMQ by default. It can be helpful to review the packages selected in the installation, including any optional or recommended packages, and uncheck any package not necessary for your use case. This will minimize the number of dependencies that are installed.

For example, the NI Web Server Development Support for LabVIEW xxxx xx-bit depends on RabbitMQ, and is a recommended package for LabVIEW that can be unchecked if it is not required for the application in order to prevent installation errors.
Screenshot_47.png