All Apps and Add-ons

Splunk DB Connect : intermittent Connection Refused messages

stanwin
Contributor

Hi

'Connection refused' pops up intermittently for dbxquery . Its gotten really bad with 50-50 chance of dbxquery running most times!

Tends to go aways after few retries. This is seen across several different databases so its not to do with connection limits on DB itself.

External search command 'dbxquery' returned error code 1. Script output = "RuntimeError: Failed to run query: "....query here....", params: "None", caused by: error(111, 'Connection refused'). "

Anyone experience this issues with DBX v2 ?

Splunk version 7.1.0
DBX 2.4.0

0 Karma
1 Solution

stanwin
Contributor

if you set bindIP = * this issue goes away.

./splunk_app_db_connect/local/inputs.conf
[rpcstart://default]
javahome = /opt/splunk/jre1.8.0_144
###javahome = /usr/lib64/jvm/jre
useSSL = 0
port = 9998
bindIP = *

see also : https://answers.splunk.com/answers/337368/splunk-db-connect-connection-refused.html

View solution in original post

0 Karma

stanwin
Contributor

if you set bindIP = * this issue goes away.

./splunk_app_db_connect/local/inputs.conf
[rpcstart://default]
javahome = /opt/splunk/jre1.8.0_144
###javahome = /usr/lib64/jvm/jre
useSSL = 0
port = 9998
bindIP = *

see also : https://answers.splunk.com/answers/337368/splunk-db-connect-connection-refused.html

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...