<?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: Extensions 1.0 - Building plugin behind a firewall in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/207578#M2900</link>
    <description>&lt;P&gt;That part of the plugin SDK is in python, so you could change it to use local modules if available.&lt;/P&gt;
&lt;P&gt;If all you need is requests you can skip that though seeing as the plugin agent comes with requests and it is on the sys.path automatically.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 18:49:56 GMT</pubDate>
    <dc:creator>Mike_L</dc:creator>
    <dc:date>2023-03-21T18:49:56Z</dc:date>
    <item>
      <title>Extensions 1.0 - building plugin behind a firewall</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/207575#M2899</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm creating an extension 1.0 for OneAgent and Im having problems in building it.&lt;/P&gt;
&lt;P&gt;Basically, I'm working for a client that doesn't allow and it's not possible to transfer zips from outside the organization, so I can't build the ext outside and send the zip file inside.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have the plugin_sdk installed in a host inside of the organization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When I'm trying to use the command &lt;U&gt;plugin_sdk build_plugin&lt;/U&gt; it appears that its not possible to communicate from the host to the pip repository.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Installing plugin to temporary location
Processing /tmp/tmpbotw_qqz/dist/abc_extension-1.3-py3-none-any.whl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/requests/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/requests/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/requests/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/requests/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/requests/
ERROR: Could not find a version that satisfies the requirement requests&amp;gt;=2.6.0 (from abc-extension) (from versions: none)
ERROR: No matching distribution found for requests&amp;gt;=2.6.0
Failed to install the plugin into temporary location&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(firewall problems &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The funny part is that I have locally the requests installed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ pip show requests
Name: requests
Version: 2.27.1
Summary: Python HTTP for Humans.
License: Apache 2.0
Location: /home/lib/python3.6/site-packages
Requires: certifi, charset-normalizer, idna, urllib3
Required-by: plugin-sdk&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/extensions/development/use-external-python-packages" target="_self"&gt;In this part of documentation:&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" title="The extension SDK contains a number of useful deployment and development tools provided in the form of command line Python scripts." href="https://www.dynatrace.com/support/help/extend-dynatrace/extensions/development/extension-sdk-commands#build-plugin-command" target="_blank" rel="noopener"&gt;plugin_sdk build_plugin&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;uses a pip package manager to download and prepare any package needed by an extension.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I would like to know if it's possible to change the plugin_sdk so that he can fetch locally the packages or to change the place where the plugin_sdk gets the packages.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks all,&lt;BR /&gt;RD&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 12:49:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/207575#M2899</guid>
      <dc:creator>rdinis</dc:creator>
      <dc:date>2023-05-17T12:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 1.0 - Building plugin behind a firewall</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/207578#M2900</link>
      <description>&lt;P&gt;That part of the plugin SDK is in python, so you could change it to use local modules if available.&lt;/P&gt;
&lt;P&gt;If all you need is requests you can skip that though seeing as the plugin agent comes with requests and it is on the sys.path automatically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 18:49:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/207578#M2900</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-03-21T18:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 1.0 - Building plugin behind a firewall</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/208919#M2940</link>
      <description>&lt;P&gt;I'm using px.exe as a workaround&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/genotrance/px" target="_blank"&gt;GitHub - genotrance/px: An HTTP proxy server to automatically authenticate through an NTLM proxy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;set the HTTP_PROXY and HTTPS_PROXY variables and restart the build process.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 12:38:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-1-0-building-plugin-behind-a-firewall/m-p/208919#M2940</guid>
      <dc:creator>Jan_VanBelle</dc:creator>
      <dc:date>2023-04-03T12:38:34Z</dc:date>
    </item>
  </channel>
</rss>

