<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting error when trying to install DB Connect. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516272#M63166</link>
    <description>Local connections are much faster &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
    <pubDate>Wed, 26 Aug 2020 13:12:27 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2020-08-26T13:12:27Z</dc:date>
    <item>
      <title>Getting error when trying to install DB Connect.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516051#M63149</link>
      <description>&lt;P&gt;I tried looking for 8 hours and no result found.&lt;/P&gt;
&lt;P&gt;I have an SQL database that serves no purpose other than to add data into Splunk for testing (it has an online form to get the data in).&lt;/P&gt;
&lt;P&gt;When I try to install DB Connect, this gives an error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"There was an error processing your request. It has been logged (ID 7122576f9fb1563d)."&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;When I telnet from Splunk to the SQL server I get the event below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;splunk@Splunk:~$ telnet 10.0.4.4 3306
Trying 10.0.4.4...
Connected to 10.0.4.4.
Escape character is '^]'.
[
5.7.31-0ubuntu0.18.04.19&amp;gt;c^hD=-PGSj2;C@mysql_native_passwordxterm-256colorbob
!#08S01Got packets out of orderConnection closed by foreign host.
splunk@Splunk:~$&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So that seems to be working-ish.&lt;BR /&gt;When I search on the error ID I get the following (see below).&lt;/P&gt;
&lt;P&gt;I'd love a hint, if not a solution, of where to look for a solution. Feel free to ask more details if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2020-08-25 16:37:05.217 +0200  [dw-57 - POST /api/connections/status] ERROR io.dropwizard.jersey.errors.LoggingExceptionMapper - Error handling a request: 7122576f9fb1563d
java.lang.NullPointerException: null
	at com.splunk.dbx.connector.logger.AuditLogger.replace(AuditLogger.java:50)
	at com.splunk.dbx.connector.logger.AuditLogger.error(AuditLogger.java:44)
	at com.splunk.dbx.server.api.service.database.impl.DatabaseMetadataServiceImpl.getStatus(DatabaseMetadataServiceImpl.java:159)
	at com.splunk.dbx.server.api.service.database.impl.DatabaseMetadataServiceImpl.getConnectionStatus(DatabaseMetadataServiceImpl.java:116)
	at com.splunk.dbx.server.api.resource.ConnectionResource.getConnectionStatusOfEntity(ConnectionResource.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:392)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:365)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:318)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at com.splunk.dbx.server.api.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:30)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:52)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.lang.Thread.run(Thread.java:748)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516051#M63149</guid>
      <dc:creator>gwcon</dc:creator>
      <dc:date>2020-08-25T16:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to install DB Connect.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516125#M63152</link>
      <description>&lt;P&gt;Can you Provide splunk enterprise version and Splunk db connect version and java version and os and os version.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 18:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516125#M63152</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-25T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to install DB Connect.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516155#M63158</link>
      <description>Add also jdbc driver versions.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Tue, 25 Aug 2020 21:42:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516155#M63158</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-25T21:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to install DB Connect.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516210#M63164</link>
      <description>&lt;P class="lia-align-justify"&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407"&gt;@thambisetty&lt;/a&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;BR /&gt;Splunk&lt;/STRONG&gt;&lt;BR /&gt;Splunk DB Connect = 3.3.1&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="4"&gt;Splunk Enterprise Version:8.0.5/Build:a1a6394cc5ae&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Java&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="4"&gt;openjdk 11.0.8 2020-07-14&lt;/FONT&gt;&lt;FONT size="4"&gt;&lt;BR /&gt;OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="4"&gt;OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;&lt;BR /&gt;&lt;BR /&gt;Connector&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="4"&gt;mysql-connector-java-8.0.21.jar&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OS splunk&lt;BR /&gt;&lt;/STRONG&gt;Chassis: vm&lt;BR /&gt;Virtualization: kvm&lt;BR /&gt;Operating System: Ubuntu 18.04.5 LTS&lt;BR /&gt;Kernel: Linux 4.15.0-112-generic&lt;BR /&gt;Architecture: x86-64&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OS mySQL Server&lt;/STRONG&gt;&lt;BR /&gt;Chassis: vm&lt;BR /&gt;Machine ID: 47a1c47f985847b088714d5ac07c0c27&lt;BR /&gt;Boot ID: 11d6f478de9148f6970cf4d5cef927ae&lt;BR /&gt;Virtualization: kvm&lt;BR /&gt;Operating System: Ubuntu 18.04.4 LTS&lt;BR /&gt;Kernel: Linux 4.15.0-96-generic&lt;BR /&gt;Architecture: x86-64&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MySQL version&lt;BR /&gt;&lt;/STRONG&gt;mysql Ver 14.14 Distrib 5.7.31, for Linux (x86_64) using EditLine wrapper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 09:00:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516210#M63164</guid>
      <dc:creator>gwcon</dc:creator>
      <dc:date>2020-08-26T09:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to install DB Connect.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516271#M63165</link>
      <description>&lt;P&gt;Issue resolved.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[mysqld]&lt;BR /&gt;bind-address = 0.0.0.0&lt;BR /&gt;# skip-networking&lt;/P&gt;&lt;P&gt;in /etc/mysql/my.cnf resolved the issue&lt;BR /&gt;Also, give correct permissions to the SQL database user.&lt;/P&gt;&lt;P&gt;This page helped me.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.digitalocean.com/community/questions/error-2003-hy000-can-t-connect-to-mysql-server-on-xxx-xx-xx-xx-110" target="_blank" rel="noopener"&gt;https://www.digitalocean.com/community/questions/error-2003-hy000-can-t-connect-to-mysql-server-on-xxx-xx-xx-xx-110&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Mainly the comment from &lt;SPAN class="user"&gt;&lt;A href="https://www.digitalocean.com/community/users/stevehoober" target="_blank" rel="noopener"&gt;SteveHoober&lt;/A&gt;&lt;/SPAN&gt; on the bottom of the page.&lt;BR /&gt;&lt;BR /&gt;Take into account that you can just install a mysql client on your splunk instance that will spit out error codes and give A LOT more information. Good luck for who has this issue, it took me two days..&amp;nbsp; Be brave.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 13:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516271#M63165</guid>
      <dc:creator>gwcon</dc:creator>
      <dc:date>2020-08-26T13:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to install DB Connect.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516272#M63166</link>
      <description>Local connections are much faster &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Wed, 26 Aug 2020 13:12:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Getting-error-when-trying-to-install-DB-Connect/m-p/516272#M63166</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-26T13:12:27Z</dc:date>
    </item>
  </channel>
</rss>

