<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PKG via Proxy slightly broken?]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I've got a new install of 2.3 inside a VM. Everything is well, but I'm having issues with all functions that use PKG (Updates and Package Managers). After spending a few days tracing it down I found out that the reason is that the PKG command takes a very long time to complete and NGINX times out. I've increased the timeouts and I can access these functions, but that's not a real solution.</p>
<p dir="auto">I'm behind a proxy and I've obviously configured it. All the command line commands work quite well:<br />
pkg info -x pfSense<br />
pkg update<br />
pkg search pfSense-base<br />
pkg search pfSense-pkg-</p>
<p dir="auto">However the search commands take more than 90 seconds to complete. No CPU or disk I/O is generated. So I ran it with truss. It's showing that despite having the proxy configured, PKG keeps trying to resolve loads of DNS names. This keeps hanging and then failing before going back to the proxy and getting the required files. It's doing it for all files, so it takes a very long time to complete and in the meantime the web configuration (nginx) times out.</p>
<p dir="auto">I've successfully ran all the pkg commands from command line and even updated the system to 2.3.1. Everything works as it should, just the pkg is not talking to the proxy efficiently. Once the connection to proxy is open it gets the files fairly quickly so this isn't a bandwidth problem.</p>
<p dir="auto">Anybody noticed a similar behavior or has any ideas how to fix it?</p>
]]></description><link>https://forum.netgate.com/topic/100164/pkg-via-proxy-slightly-broken</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 16:52:07 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/100164.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 May 2016 13:56:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PKG via Proxy slightly broken? on Mon, 23 May 2016 17:18:06 GMT]]></title><description><![CDATA[<p dir="auto">There are a few threads about this, but it should be fine once you get to 2.3.1, we put in a fix for pkg and proxies there.</p>
]]></description><link>https://forum.netgate.com/post/626738</link><guid isPermaLink="true">https://forum.netgate.com/post/626738</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Mon, 23 May 2016 17:18:06 GMT</pubDate></item></channel></rss>