All Apps and Add-ons

Splunk DB Connect: How to resolve "Unable to establish a secure connection to DBX Server" error after changing port 9998 to a different port?

sakeebhossain
Explorer

I am trying to setup Splunk on a Linux machine, along the Splunk DB Connect add-on. However, when I open the add-on, I receive the following error:

"Can not communicate with task server, please check your settings."

Checking my log files, it seems that the port 9998 (the one set by default) is already in use. I tried changing the port to something else, as suggested by some answers to similar problems but then I receive an additional error:

"Unable to establish a secure connection to DBX Server, please make sure it is started and listening on 9998 port or consult documentation for details"

How can I resolve this?

0 Karma
1 Solution

sakeebhossain
Explorer

So I've managed to resolve it! Turns out all I needed to do was to navigate to Configuration > Settings > General and ALSO change the task server port to the new one in the "JVM Options" and "Task Server Port" boxes.

View solution in original post

sakeebhossain
Explorer

So I've managed to resolve it! Turns out all I needed to do was to navigate to Configuration > Settings > General and ALSO change the task server port to the new one in the "JVM Options" and "Task Server Port" boxes.

mustapha_arakji
Splunk Employee
Splunk Employee

Possible solution would be a missing JRE installation.

https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Prerequisites#Java_Runtime_Environment_.2...

Validate JRE is installed:

java --version

If nothing is returned, then on Ubuntu:

sudo apt install default-jre

Restart Splunk.

0 Karma

chrisfrigo
Path Finder

changed to a different port other than port 9998, e.g. 9995 and works fine.

adonio
Ultra Champion
0 Karma

sakeebhossain
Explorer

Hi adonio, I already tried this solution, (changing port to 1025 in dbx_task_server.yml) but I still get the second error I mentioned: "Unable to establish a secure connection to DBX Server, please make sure it is started and listening on 9998 port or consult documentation for details"

0 Karma
Get Updates on the Splunk Community!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...

Enterprise Security Content Update (ESCU) | New Releases

In March, the Splunk Threat Research Team had 2 releases of security content via the Enterprise Security ...

Join the Splunk Developer Program Hackathon: Splunk Build-a-thon!

The Splunk Developer Program is launching in beta, and we’re celebrating with an exciting hackathon! This is ...