<?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: Minemeld behind corporate proxy in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144169#M98752</link>
    <description>&lt;P&gt;Could you double check the HTTP_PROXY and HTTPS_PROXY variables ? They should look like:&lt;/P&gt;
&lt;PRE&gt;export HTTP_PROXY="http://10.10.1.10:3128"
export HTTPS_PROXY="http://10.10.1.10:1080"&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 Feb 2017 20:28:10 GMT</pubDate>
    <dc:creator>lmori</dc:creator>
    <dc:date>2017-02-21T20:28:10Z</dc:date>
    <item>
      <title>Minemeld behind corporate proxy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/143770#M98749</link>
      <description>&lt;P&gt;Following all the requirements for proxy configuration - &lt;A href="https://live.paloaltonetworks.com/t5/MineMeld-Discussions/Minemeld-with-Proxy/m-p/77356/highlight/true#M85" target="_blank"&gt;https://live.paloaltonetworks.com/t5/MineMeld-Discussions/Minemeld-with-Proxy/m-p/77356/highlight/true#M85&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can perform a curl request, for example curl &lt;A href="https://www.spamhaus.org/drop/edrop.txt" target="_blank"&gt;https://www.spamhaus.org/drop/edrop.txt&lt;/A&gt; and get back a response.&lt;/P&gt;&lt;P&gt;/etc/default/minemeld is configured with the proxy settings as well as /etc/environment.&lt;/P&gt;&lt;P&gt;But still getting an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2017-02-20T00:04:30 (212)basepoller._poll ERROR: Exception in polling loop for spamhaus_DROP: HTTPSConnectionPool(host='&lt;A href="http://www.spamhaus.org" target="_blank"&gt;www.spamhaus.org&lt;/A&gt;', port=443): Max retries exceeded with url: /drop/drop.txt (Caused by ProxyError('Cannot connect to proxy.', gaierror(-5, 'No address associated with hostname')))&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/minemeld/engine/0.9.30/local/lib/python2.7/site-packages/minemeld/ft/basepoller.py", line 468, in _poll&lt;BR /&gt;performed = self._polling_loop()&lt;BR /&gt;File "/opt/minemeld/engine/0.9.30/local/lib/python2.7/site-packages/minemeld/ft/basepoller.py", line 352, in _polling_loop&lt;BR /&gt;iterator = self._build_iterator(now)&lt;BR /&gt;File "/opt/minemeld/engine/0.9.30/local/lib/python2.7/site-packages/minemeld/ft/http.py", line 191, in _build_iterator&lt;BR /&gt;**rkwargs&lt;BR /&gt;File "/opt/minemeld/engine/0.9.30/local/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/0.9.30/local/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/0.9.30/local/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/0.9.30/local/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/0.9.30/local/lib/python2.7/site-packages/requests/adapters.py", line 424, in send&lt;BR /&gt;raise ConnectionError(e, request=request)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other configuration required?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 00:35:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/143770#M98749</guid>
      <dc:creator>calamari</dc:creator>
      <dc:date>2017-02-20T00:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld behind corporate proxy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144141#M98750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/49288"&gt;@calamari&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;from the error (&lt;SPAN&gt;Cannot connect to proxy.', gaierror(-5, 'No address associated with hostname')))) it seems that the MineMeld instance cannot resolved the proxy DNS Name.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you issue the following command on the MM instance ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;$ dig &amp;lt;proxy hostname&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2017 18:18:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144141#M98750</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-02-21T18:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld behind corporate proxy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144165#M98751</link>
      <description>&lt;P&gt;Thanks, but the proxy is setup as an IP address rather than a hostname. Not sure why MM would be looking for a hostname. perhaps I could just define one in /etc/hosts.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 20:12:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144165#M98751</guid>
      <dc:creator>calamari</dc:creator>
      <dc:date>2017-02-21T20:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld behind corporate proxy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144169#M98752</link>
      <description>&lt;P&gt;Could you double check the HTTP_PROXY and HTTPS_PROXY variables ? They should look like:&lt;/P&gt;
&lt;PRE&gt;export HTTP_PROXY="http://10.10.1.10:3128"
export HTTPS_PROXY="http://10.10.1.10:1080"&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2017 20:28:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144169#M98752</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-02-21T20:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld behind corporate proxy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144192#M98753</link>
      <description>&lt;P&gt;Within /etc/default/minemeld I have the proxy settings set as you said. The only difference is that the proxy requires authentication, so I have the entries in the form:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;export HTTP_PROXY="http://domain%5Cusername:password@10.10.1.10:3128"
export HTTPS_PROXY="http://domain%5Cusername:password@10.10.1.10:1080"&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2017 21:12:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144192#M98753</guid>
      <dc:creator>calamari</dc:creator>
      <dc:date>2017-02-21T21:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Minemeld behind corporate proxy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144205#M98754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/49288"&gt;@calamari&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;please could you try removing the domain from the variables and see if the error in the log becomes&amp;nbsp;an authentication error ?&lt;/P&gt;
&lt;PRE&gt;export HTTP_PROXY="http://username:password@10.10.1.10:3128"
export HTTPS_PROXY="http://username:password@10.10.1.10:1080"&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2017 21:36:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/minemeld-behind-corporate-proxy/m-p/144205#M98754</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2017-02-21T21:36:35Z</dc:date>
    </item>
  </channel>
</rss>

