<?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 cannot upload with &amp;quot;proxy error&amp;quot; in Security</title>
    <link>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415252#M9892</link>
    <description>&lt;P&gt;I cannot upload log file from web-service.&lt;/P&gt;

&lt;P&gt;Splunk said "('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',)) ".&lt;/P&gt;

&lt;P&gt;How can I fix it ?&lt;/P&gt;

&lt;H2&gt;web_service.log&lt;/H2&gt;

&lt;P&gt;2018-11-30 11:23:33,822 ERROR   [5c009f25217f83e0333050] proxy:200 - ('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',))&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/proxy.py", line 163, in index return self.uploadFile(args, sessionKey, uri)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/proxy.py", line 267, in uploadFile verify=False #allow self signed certificates&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/api.py", line 88, in post return request('post', url, data=data, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/api.py", line 44, in request return session.request(method=method, url=url, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/sessions.py", line 456, in request resp = self.send(prep, **send_kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/sessions.py", line 559, in send r = adapter.send(request, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/adapters.py", line 378, in send raise ProxyError(e)&lt;BR /&gt;
ProxyError: ('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',))&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:13:27 GMT</pubDate>
    <dc:creator>w0000641</dc:creator>
    <dc:date>2020-09-29T22:13:27Z</dc:date>
    <item>
      <title>cannot upload with "proxy error"</title>
      <link>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415252#M9892</link>
      <description>&lt;P&gt;I cannot upload log file from web-service.&lt;/P&gt;

&lt;P&gt;Splunk said "('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',)) ".&lt;/P&gt;

&lt;P&gt;How can I fix it ?&lt;/P&gt;

&lt;H2&gt;web_service.log&lt;/H2&gt;

&lt;P&gt;2018-11-30 11:23:33,822 ERROR   [5c009f25217f83e0333050] proxy:200 - ('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',))&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/proxy.py", line 163, in index return self.uploadFile(args, sessionKey, uri)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/proxy.py", line 267, in uploadFile verify=False #allow self signed certificates&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/api.py", line 88, in post return request('post', url, data=data, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/api.py", line 44, in request return session.request(method=method, url=url, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/sessions.py", line 456, in request resp = self.send(prep, **send_kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/sessions.py", line 559, in send r = adapter.send(request, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/site-packages/requests/adapters.py", line 378, in send raise ProxyError(e)&lt;BR /&gt;
ProxyError: ('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',))&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415252#M9892</guid>
      <dc:creator>w0000641</dc:creator>
      <dc:date>2020-09-29T22:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: cannot upload with "proxy error"</title>
      <link>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415253#M9893</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;have a look at this answer &lt;A href="https://answers.splunk.com/answers/210955/data-uploader-why-am-i-receiving-a-cannot-connect.html#answer-329111+"&gt;https://answers.splunk.com/answers/210955/data-uploader-why-am-i-receiving-a-cannot-connect.html#answer-329111&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;&lt;EM&gt;"What happens if you try and set this in splunk-launch.conf&lt;BR /&gt;
no_proxy=127.0.0.1,localhost"&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Greetings,&lt;BR /&gt;
Jacob&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:23:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415253#M9893</guid>
      <dc:creator>hijacob</dc:creator>
      <dc:date>2018-12-06T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: cannot upload with "proxy error"</title>
      <link>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415254#M9894</link>
      <description>&lt;P&gt;Does it work now?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 09:46:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/cannot-upload-with-quot-proxy-error-quot/m-p/415254#M9894</guid>
      <dc:creator>hijacob</dc:creator>
      <dc:date>2018-12-11T09:46:37Z</dc:date>
    </item>
  </channel>
</rss>

