<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=User%3AWoozle%2Ftoot.cat%2F2018%2F05%2F20</id>
	<title>User:Woozle/toot.cat/2018/05/20 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=User%3AWoozle%2Ftoot.cat%2F2018%2F05%2F20"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=User:Woozle/toot.cat/2018/05/20&amp;action=history"/>
	<updated>2026-09-11T05:41:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=User:Woozle/toot.cat/2018/05/20&amp;diff=23932&amp;oldid=prev</id>
		<title>Woozle: issue documentation</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=User:Woozle/toot.cat/2018/05/20&amp;diff=23932&amp;oldid=prev"/>
		<updated>2018-05-20T17:52:45Z</updated>

		<summary type="html">&lt;p&gt;issue documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;symptom&amp;#039;&amp;#039;&amp;#039;: Main page came up, but with no toots. Some other pages would not respond at all.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cause&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
** [[Nginx]] wasn&amp;#039;t starting, and the status returned by &amp;lt;code&amp;gt;systemctl status nginx.service&amp;lt;/code&amp;gt; included the message &amp;lt;code&amp;gt;bind() to [::]:443 failed (98: Address already in use)&amp;lt;/code&amp;gt;.&lt;br /&gt;
** This was in turn because of a small problem in &amp;lt;code&amp;gt;/etc/nginx/sites-available/tootcat2.hypertwins.net.conf&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The lines of interest are:&amp;lt;pre&amp;gt;&lt;br /&gt;
server {&lt;br /&gt;
  listen 443 ssl;&lt;br /&gt;
  listen [::]:443 ssl ipv6only=on;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last line &amp;#039;&amp;#039;was&amp;#039;&amp;#039; set to &amp;lt;code&amp;gt;ipv6only=off&amp;lt;/code&amp;gt;. What that apparently means is that this line will try to listen on [[IPv4]] as well &amp;amp;ndash; but the previous line already has nginx trying to listen on IPv4, so nginx fails when it tries to listen again on the same port. Specifying &amp;lt;code&amp;gt;ipv6only=on&amp;lt;/code&amp;gt; tells it &amp;quot;this line means you&amp;#039;re supposed to &amp;#039;&amp;#039;only&amp;#039;&amp;#039; listen on [[IPv6]], so don&amp;#039;t try anything else here.&amp;quot;, resulting in nginx listening on both IPv4 and IPv6, which is what we want.&lt;br /&gt;
&lt;br /&gt;
I don&amp;#039;t know why it was even working before; maybe the behavior of nginx changed between versions.&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>