<?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 Minemeld miners timing out, but curl works fine. in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/161961#M99043</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having problems running miners in my network. We use a proxy, so that might be an issue, but the HTTP_PROXY and HTTPS_PROXY values are set correctly, and curl/wget work fine. But I am unsure how to check what Minemeld is doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I find in the error log when trying to manually trigger "IPNode4" to retrieve its indicators:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2017-06-19T16:35:04 (26737)basepoller.hup INFO: IPNode4 - hup received, force polling&lt;BR /&gt;2017-06-19T16:35:04 (26737)basepoller._huppable_wait INFO: hup is clear: False&lt;BR /&gt;2017-06-19T16:35:04 (26737)basepoller._actor_loop INFO: IPNode4 - command: 1497882904343 poll&lt;BR /&gt;2017-06-19T16:35:04 (26737)basepoller._polling_loop INFO: Polling IPNode4&lt;BR /&gt;2017-06-19T16:35:04 (26737)connectionpool._new_conn INFO: Starting new HTTPS connection (1): lists.blocklist.de&lt;BR /&gt;2017-06-19T16:35:09 (26737)basepoller._poll ERROR: Exception in polling loop for IPNode4: __str__ returned non-string (type SysCallError)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 720, in _poll&lt;BR /&gt; performed = self._polling_loop()&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 570, in _polling_loop&lt;BR /&gt; iterator = self._build_iterator(now)&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/http.py", line 191, in _build_iterator&lt;BR /&gt; **rkwargs&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/api.py", line 69, in get&lt;BR /&gt; return request('get', url, params=params, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/api.py", line 50, in request&lt;BR /&gt; response = session.request(method=method, url=url, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/sessions.py", line 465, in request&lt;BR /&gt; resp = self.send(prep, **send_kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/sessions.py", line 573, in send&lt;BR /&gt; r = adapter.send(request, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/adapters.py", line 370, in send&lt;BR /&gt; timeout=timeout&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen&lt;BR /&gt; body=body, headers=headers)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 344, in _make_request&lt;BR /&gt; self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 314, in _raise_timeout&lt;BR /&gt; if 'timed out' in str(err) or 'did not complete (read)' in str(err): # Python 2.6&lt;BR /&gt;TypeError: __str__ returned non-string (type SysCallError)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when trying the url specified for "&lt;SPAN&gt;lists.blocklist.de" from the command line, everything works fine...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 14:53:27 GMT</pubDate>
    <dc:creator>ArildSaether</dc:creator>
    <dc:date>2017-06-19T14:53:27Z</dc:date>
    <item>
      <title>Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/161961#M99043</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having problems running miners in my network. We use a proxy, so that might be an issue, but the HTTP_PROXY and HTTPS_PROXY values are set correctly, and curl/wget work fine. But I am unsure how to check what Minemeld is doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I find in the error log when trying to manually trigger "IPNode4" to retrieve its indicators:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2017-06-19T16:35:04 (26737)basepoller.hup INFO: IPNode4 - hup received, force polling&lt;BR /&gt;2017-06-19T16:35:04 (26737)basepoller._huppable_wait INFO: hup is clear: False&lt;BR /&gt;2017-06-19T16:35:04 (26737)basepoller._actor_loop INFO: IPNode4 - command: 1497882904343 poll&lt;BR /&gt;2017-06-19T16:35:04 (26737)basepoller._polling_loop INFO: Polling IPNode4&lt;BR /&gt;2017-06-19T16:35:04 (26737)connectionpool._new_conn INFO: Starting new HTTPS connection (1): lists.blocklist.de&lt;BR /&gt;2017-06-19T16:35:09 (26737)basepoller._poll ERROR: Exception in polling loop for IPNode4: __str__ returned non-string (type SysCallError)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 720, in _poll&lt;BR /&gt; performed = self._polling_loop()&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 570, in _polling_loop&lt;BR /&gt; iterator = self._build_iterator(now)&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/http.py", line 191, in _build_iterator&lt;BR /&gt; **rkwargs&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/api.py", line 69, in get&lt;BR /&gt; return request('get', url, params=params, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/api.py", line 50, in request&lt;BR /&gt; response = session.request(method=method, url=url, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/sessions.py", line 465, in request&lt;BR /&gt; resp = self.send(prep, **send_kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/sessions.py", line 573, in send&lt;BR /&gt; r = adapter.send(request, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/adapters.py", line 370, in send&lt;BR /&gt; timeout=timeout&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen&lt;BR /&gt; body=body, headers=headers)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 344, in _make_request&lt;BR /&gt; self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 314, in _raise_timeout&lt;BR /&gt; if 'timed out' in str(err) or 'did not complete (read)' in str(err): # Python 2.6&lt;BR /&gt;TypeError: __str__ returned non-string (type SysCallError)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when trying the url specified for "&lt;SPAN&gt;lists.blocklist.de" from the command line, everything works fine...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 14:53:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/161961#M99043</guid>
      <dc:creator>ArildSaether</dc:creator>
      <dc:date>2017-06-19T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/161988#M99044</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/59227"&gt;@ArildSaether&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;is this the only Miner configured ? is this the only Miner with this issue ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;luigi&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 15:34:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/161988#M99044</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-06-19T15:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/162154#M99045</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not the only one. Some O365 ones work (I got that config as a hand-me-down, and they seem slightly different), but when adding a few IP-based ones, I get this error message for this miner, and for another one. And that one also works from curl.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the error message from the other miner:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2017-06-20T07:51:39 (26737)basepoller._polling_loop INFO: Polling AnotherIPsource&lt;BR /&gt;2017-06-20T07:51:39 (26737)connectionpool._new_conn INFO: Starting new HTTPS connection (1): feodotracker.abuse.ch&lt;BR /&gt;2017-06-20T07:51:39 (26737)basepoller._poll ERROR: Exception in polling loop for AnotherIPsource: __str__ returned non-string (type SysCallError)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 720, in _poll&lt;BR /&gt; performed = self._polling_loop()&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 570, in _polling_loop&lt;BR /&gt; iterator = self._build_iterator(now)&lt;BR /&gt; File "/opt/minemeld/engine/core/minemeld/ft/http.py", line 191, in _build_iterator&lt;BR /&gt; **rkwargs&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/api.py", line 69, in get&lt;BR /&gt; return request('get', url, params=params, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/api.py", line 50, in request&lt;BR /&gt; response = session.request(method=method, url=url, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/sessions.py", line 465, in request&lt;BR /&gt; resp = self.send(prep, **send_kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/sessions.py", line 573, in send&lt;BR /&gt; r = adapter.send(request, **kwargs)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/adapters.py", line 370, in send&lt;BR /&gt; timeout=timeout&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen&lt;BR /&gt; body=body, headers=headers)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 344, in _make_request&lt;BR /&gt; self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)&lt;BR /&gt; File "/opt/minemeld/engine/current/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 314, in _raise_timeout&lt;BR /&gt; if 'timed out' in str(err) or 'did not complete (read)' in str(err): # Python 2.6&lt;BR /&gt;TypeError: __str__ returned non-string (type SysCallError)&lt;BR /&gt;2017-06-20T07:51:41 (26737)basepoller._actor_loop INFO: AnotherIPsource - command: 1497937894247 sudden_death&lt;BR /&gt;2017-06-20T07:51:41 (26737)basepoller._actor_loop INFO: AnotherIPsource - command: 1497937894247 age_out&lt;BR /&gt;2017-06-20T07:51:41 (26737)table._query_by_index INFO: Deleted in scan of _age_out: 0&lt;BR /&gt;2017-06-20T07:51:41 (26737)basepoller._actor_loop INFO: AnotherIPsource - command: 1497937894247 gc&lt;BR /&gt;2017-06-20T07:51:41 (26737)table._query_by_index INFO: Deleted in scan of _withdrawn: 0&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 05:53:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/162154#M99045</guid>
      <dc:creator>ArildSaether</dc:creator>
      <dc:date>2017-06-20T05:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/162277#M99046</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/59227"&gt;@ArildSaether&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;are the Miners throwing the errors based on standard prototypes or custom prototypes ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;luigi&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:17:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/162277#M99046</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-06-20T13:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/162280#M99047</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Standard. I was just setting them up to make sure I understood things properly. Miner, aggregator and output nodes. Looks good in the graphical visualization, but this error message isn't exactly ideal.&lt;BR /&gt;&lt;BR /&gt;If it hadn't been for the fact that curl works, I would have suspected our proxies (struggled a bit with them when installing Minemeld).&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:41:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/162280#M99047</guid>
      <dc:creator>ArildSaether</dc:creator>
      <dc:date>2017-06-20T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163406#M99048</link>
      <description>&lt;P&gt;I now firmly believe this is related to the proxies. When monitoring traffic using tcpdump, we see that Minemeld never sends it to the system-wide proxies, it just tries to reach the Internet directly. Should it not use the environment settings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message seems to be related to the PA firewalls responding, not the expected web sites.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:11:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163406#M99048</guid>
      <dc:creator>ArildSaether</dc:creator>
      <dc:date>2017-06-27T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163464#M99049</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/59227"&gt;@ArildSaether&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;have you already defined the http proxy env variables in /etc/default/minemeld file ?&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;$ sudo su -
# echo "export HTTP_PROXY=http://10.1.1.1:8080" &amp;gt;&amp;gt; /etc/default/minemeld
# echo "export HTTPS_PROXY=http://10.1.1.1:8080" &amp;gt;&amp;gt; /etc/default/minemeld
# service minemeld stop
 * Stopping: minemeld [ OK ]
# service minemeld start
 * Starting: minemeld [ OK ]
# exit&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Jun 2017 16:57:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163464#M99049</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-06-27T16:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163775#M99050</link>
      <description>&lt;P&gt;This works great with Ubuntu 14.04. Both when installing using the apt-packages or when using git/ansible. No problem at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there is no way I am able to make it work with CentOS 7 (ansible install). The proxy settings simply do not seem to get picked up.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 07:00:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163775#M99050</guid>
      <dc:creator>ArildSaether</dc:creator>
      <dc:date>2017-06-29T07:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld miners timing out, but curl works fine.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163795#M99051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/59227"&gt;@ArildSaether&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have added an answer in the other thread:&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/MineMeld-Discussions/Minemeld-behind-corporate-proxy/m-p/163217#M1203" target="_blank"&gt;https://live.paloaltonetworks.com/t5/MineMeld-Discussions/Minemeld-behind-corporate-proxy/m-p/163217#M1203&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can we close this and use only the other one ? Just to avoid confusion &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 08:35:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-miners-timing-out-but-curl-works-fine/m-p/163795#M99051</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-06-29T08:35:52Z</dc:date>
    </item>
  </channel>
</rss>

