<?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: How can I get rid of &amp;quot;Connection refused&amp;quot; for Deep Learning Toolkit setup? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461402#M56759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;No, it didn't work:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;With Localhost:&lt;/P&gt;

&lt;P&gt;HTTPConnectionPool(host='localhost', port=2375): Max retries exceeded with url: /v1.35/_ping (Caused by : [Errno 111] Connection refused)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;With the name of the server:&lt;/P&gt;

&lt;P&gt;HTTPConnectionPool(host='myservername', port=2375): Max retries exceeded with url: /v1.35/_ping (Caused by &lt;CLASS&gt;: [Errno 111] Connection refused)&lt;/CLASS&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 31 Mar 2020 14:25:11 GMT</pubDate>
    <dc:creator>davietch</dc:creator>
    <dc:date>2020-03-31T14:25:11Z</dc:date>
    <item>
      <title>How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461398#M56755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am setting up the Deep Learning Toolkit (&lt;A href="https://splunkbase.splunk.com/app/4607/" target="_blank"&gt;https://splunkbase.splunk.com/app/4607/&lt;/A&gt;) but the connexion to the docker instance does not work.&lt;/P&gt;

&lt;P&gt;What I did:&lt;BR /&gt;
- Install docker and add the containers needed&lt;BR /&gt;
- Docker runs as root&lt;BR /&gt;
- Install Splunk + Machine Learning Toolkit (+ python maths librairies) + Deep Learning toolkit&lt;BR /&gt;
- The user running Splunk belongs to the docker group&lt;/P&gt;

&lt;P&gt;When I fill in the form in the set up page of the app with the information about docker (single-instance type), I get this error:&lt;BR /&gt;
UnixHTTPConnectionPool(host='localhost', port=None): Max retries exceeded with url: /v1.35/_ping (Caused by : [Errno 13] Permission denied)&lt;/P&gt;

&lt;P&gt;In the internal logs, I also see logs like this:&lt;/P&gt;

&lt;P&gt;ConnectionError: UnixHTTPConnectionPool(host='localhost', port=None): Max retries exceeded with url: /v1.35/containers/json?size=0&amp;amp;filters=%7B%22label%22%3A+%5B%22mltk_container%22%5D%7D&amp;amp;limit=-1&amp;amp;all=0&amp;amp;trunc_cmd=0 (Caused by : [Errno 13] Permission denied)&lt;/P&gt;

&lt;P&gt;Can you help me to make this work?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461398#M56755</guid>
      <dc:creator>davietch</dc:creator>
      <dc:date>2020-09-30T04:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461399#M56756</link>
      <description>&lt;P&gt;what is the host OS? CentOS/Ubuntu? Try to disable SELinux/Apparmor.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 15:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461399#M56756</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-03-30T15:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461400#M56757</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My OS is RedHat 7.7&lt;/P&gt;

&lt;P&gt;SELinux is already disabled:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[aaa@XXXX~]$ sestatus
SELinux status:                 disabled
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't see any Apparmor software installed.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461400#M56757</guid>
      <dc:creator>davietch</dc:creator>
      <dc:date>2020-03-31T07:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461401#M56758</link>
      <description>&lt;P&gt;Hi @davietch, can you please cross check this answer and see if connecting to tcp instead of the unix://var/run/docker.sock helps in your case, too: &lt;A href="https://answers.splunk.com/answers/811981/deep-learning-toolkit-setup.html"&gt;https://answers.splunk.com/answers/811981/deep-learning-toolkit-setup.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 13:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461401#M56758</guid>
      <dc:creator>pdrieger_splunk</dc:creator>
      <dc:date>2020-03-31T13:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461402#M56759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;No, it didn't work:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;With Localhost:&lt;/P&gt;

&lt;P&gt;HTTPConnectionPool(host='localhost', port=2375): Max retries exceeded with url: /v1.35/_ping (Caused by : [Errno 111] Connection refused)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;With the name of the server:&lt;/P&gt;

&lt;P&gt;HTTPConnectionPool(host='myservername', port=2375): Max retries exceeded with url: /v1.35/_ping (Caused by &lt;CLASS&gt;: [Errno 111] Connection refused)&lt;/CLASS&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461402#M56759</guid>
      <dc:creator>davietch</dc:creator>
      <dc:date>2020-03-31T14:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461403#M56760</link>
      <description>&lt;P&gt;Hi @davietch , to me it looks like your docker host can not be reached from the DLTK which tries to establish a connection but fails.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;for the last case: Can you cross check with this post here if you haven't: &lt;A href="https://github.com/docker/docker-py/issues/290"&gt;https://github.com/docker/docker-py/issues/290&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;for your initial connection, assuming your docker connection was defined this way:
Docker Host: unix://var/run/docker.sock
Endpoint URL: localhost
External URL: localhost
Can you double check that your docker deamon socket is enabled:
&lt;A href="https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option"&gt;https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Let us know if it can be resolved with that.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 15:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461403#M56760</guid>
      <dc:creator>pdrieger_splunk</dc:creator>
      <dc:date>2020-03-31T15:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461404#M56761</link>
      <description>&lt;P&gt;Could you please check this Docker docs page:&lt;BR /&gt;
&lt;A href="https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user"&gt;https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It may be because the user running Splunk is not allowed to talk to Docker.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 20:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461404#M56761</guid>
      <dc:creator>rfujara_splunk</dc:creator>
      <dc:date>2020-03-31T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461405#M56762</link>
      <description>&lt;P&gt;Turns out the permissions were OK but I needed a login/logout to apply the permissions.. Just that.&lt;/P&gt;

&lt;P&gt;Thanks all !&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 10:12:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/461405#M56762</guid>
      <dc:creator>davietch</dc:creator>
      <dc:date>2020-04-02T10:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get rid of "Connection refused" for Deep Learning Toolkit setup?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/564378#M74985</link>
      <description>&lt;P&gt;As usual always check SELinux and perms on `/var/run/docker.sock`.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 15:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-rid-of-quot-Connection-refused-quot-for-Deep/m-p/564378#M74985</guid>
      <dc:creator>ephemeric</dc:creator>
      <dc:date>2021-08-23T15:30:42Z</dc:date>
    </item>
  </channel>
</rss>

