<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3449&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / What would cause wget to work and apt to get "Connection failed"?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3449</link>
		<description><![CDATA[The most recent posts in What would cause wget to work and apt to get "Connection failed"?.]]></description>
		<lastBuildDate>Mon, 27 Apr 2020 14:54:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21314#p21314</link>
			<description><![CDATA[<div class="quotebox"><cite>minusfroot wrote:</cite><blockquote><div><p>I&#039;ve certainly had this sort of error when there was a proxy set up&#160; (e.g. in /etc/apt/apt.conf.d/... or similar). Or NOT set up, and you&#039;re using one for wget.</p></div></blockquote></div><p>Didn&#039;t see this until today. Thanks for the details...that gives us several things to check.</p><p>Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Mon, 27 Apr 2020 14:54:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21314#p21314</guid>
		</item>
		<item>
			<title><![CDATA[Re: What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21250#p21250</link>
			<description><![CDATA[<p>I&#039;ve certainly had this sort of error when there was a proxy set up&#160; (e.g. in /etc/apt/apt.conf.d/... or similar). Or NOT set up, and you&#039;re using one for wget.</p><p>FYI, apt proxy config looks something like:</p><div class="codebox"><pre><code>Acquire::http { Proxy &quot;http://127.0.0.1:3142&quot;; };</code></pre></div><p>Other nastier options:<br />a) they&#039;re behind some kind of firewall proxy that drops/rejects connections without a password.<br />b) Someone got creative with IPtables and they&#039;ve got per-user firewalling rules... (I can&#039;t remember... doesn&#039;t apt(-get) drop privs for fetches?)</p><p>David</p>]]></description>
			<author><![CDATA[dummy@example.com (minusfroot)]]></author>
			<pubDate>Thu, 23 Apr 2020 17:17:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21250#p21250</guid>
		</item>
		<item>
			<title><![CDATA[Re: What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21173#p21173</link>
			<description><![CDATA[<p>Thanks for the clarification! Given that that&#039;s set up correctly in this case, I still can&#039;t imagine what&#039;s going on where apt fails while wget using either the name or the failed IP addresses works. They&#039;ve clearly got something really strange going on. I&#039;ll post back if/when we figure out what&#039;s going on there.</p><p>Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Sat, 18 Apr 2020 13:55:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21173#p21173</guid>
		</item>
		<item>
			<title><![CDATA[Re: What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21163#p21163</link>
			<description><![CDATA[<p>That&#039;s right.</p><p>Use <span class="bbc">deb.devuan.org</span> in your sources list. That name will resolve in DNS for each request to go to the one or the other of the repository mirrors. That domain name is associated with the whole range of mirror IP addresses in &quot;random&quot; order, and the DNS resolution system will pick the one looking &quot;best&quot; at the time (aka &quot;first one&quot;).</p><p>The name <span class="bbc">auto.mirror.devuan.org</span> resolves in DNS to the previous main repository, which nowadays may and might not be maintained.</p><p>Though you might, on occasion, temporarily use <span class="bbc">pkgmaster.devuan.org</span> which resolves in DNS to the current main repository. The repository mirrors &quot;rsyncs&quot; their content from this. However, it has quite limited network bandwidh so having a lot of people going there will be detrimental for all. It&#039;s thus better community-wise to use the mirror domain <span class="bbc">deb.devuan.org</span> even though this slightly increases the risk of random network failure.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 18 Apr 2020 00:01:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21163#p21163</guid>
		</item>
		<item>
			<title><![CDATA[Re: What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21161#p21161</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>According to this page <a href="https://devuan.org/os/" rel="nofollow">https://devuan.org/os/</a> you should use:</p><div class="codebox"><pre><code>deb http://auto.mirror.devuan.org/merged jessie          main</code></pre></div><p>Give it a try.</p><p>rolfie</p></div></blockquote></div><p>Whoa...Not according to this:</p><p><a href="https://dev1galaxy.org/viewtopic.php?id=3276" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=3276</a></p><p>That also mentions jessie in addition to the others. All our other jessie installs are using deb.devuan.org and are working perfectly. If I recall I believe I tried the auto.mirror URLs and had issues. That configuration does in fact work...this customer clearly has something else configured in a very odd manner.</p><p>Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Fri, 17 Apr 2020 21:46:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21161#p21161</guid>
		</item>
		<item>
			<title><![CDATA[Re: What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21158#p21158</link>
			<description><![CDATA[<p>According to this page <a href="https://devuan.org/os/" rel="nofollow">https://devuan.org/os/</a> you should use:</p><div class="codebox"><pre><code>deb http://auto.mirror.devuan.org/merged jessie          main</code></pre></div><p>Give it a try.</p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Fri, 17 Apr 2020 19:49:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21158#p21158</guid>
		</item>
		<item>
			<title><![CDATA[What would cause wget to work and apt to get "Connection failed"?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21157#p21157</link>
			<description><![CDATA[<p>On a Devuan Jessie server at a customer they have an issue that has me stumped:</p><p>The apt command is failing with &quot;Connection failed&quot;, yet wget against the same IPs works fine. For example:</p><div class="codebox"><pre><code>apt update
Ign http://deb.devuan.org jessie InRelease
Ign http://deb.devuan.org jessie-security InRelease
Err http://deb.devuan.org jessie Release.gpg
  Connection failed [IP: 5.196.38.18 80]
Err http://deb.devuan.org jessie-security Release.gpg
  Connection failed [IP: 46.4.50.2 80]
Ign http://deb.devuan.org jessie Release
Ign http://deb.devuan.org jessie-security Release
Err http://deb.devuan.org jessie/main amd64 Packages
  Connection failed [IP: 5.196.38.18 80]
Err http://deb.devuan.org jessie/non-free amd64 Packages
  Connection failed [IP: 46.4.50.2 80]</code></pre></div><p>...etc. However using those failed IPs thing like the following all work:</p><div class="codebox"><pre><code>wget http://5.196.38.18</code></pre></div><p>That works perfectly and will download an index.html file.</p><p>I&#039;m thinking they&#039;ve reconfigured something that they&#039;re not telling us about. The only things I can think of that could cause this might include:</p><p>1. Some global proxy was configured(?) that wget is using, but apt isn&#039;t, or</p><p>2. Someone broke the apt configuration somehow...maybe by incorrectly adding some proxy configuration.</p><p>Is anyone aware of any other scario that could cause this? Thanks!</p><p>Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Fri, 17 Apr 2020 18:40:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21157#p21157</guid>
		</item>
	</channel>
</rss>
