<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Well, it's in doc/config.txt.  And actually it says something I had forgotten.  If you don't specify a cert it defaults to decnet.pem.  So it has a cert name either way.<div class=""><br class=""></div><div class="">I assume that file decnet.pem doesn't actually exist.  So you should get an error message, and "cert decnet.pem doesn't exist" would be a lot clearer.</div><div class=""><br class=""></div><div class="">Meanwhile, the configuration file details are described pretty carefully in doc/config.txt; reviewing that can be useful.</div><div class=""><br class=""></div><div class="">On the subject of the qmax spec, yes, for the moment that's a good idea.  I need to implement congestion control one of these days, the algorithms are documented but I haven't gotten around to that yet.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">      </span>paul</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 17, 2021, at 9:28 AM, Brian Hechinger <<a href="mailto:wonko@4amlunch.net" class="">wonko@4amlunch.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
  
  <div class=""><p class="">Yeah, I agree that if no cert is specified it shouldn't enable
      HTTPS. That's what I assumed would happen. :)</p><p class="">-brian<br class="">
    </p>
    <div class="moz-cite-prefix">On 17/11/21 14:26, Paul Koning wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:763B8929-4F56-4AF9-B8A1-383DA3755171@comcast.net" class="">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
      I think so.  It will obviously fail later on, but it looks like
      the bind happens before it realizes that it has no cert.  If you
      don't want https, add --https-port 0.
      <div class=""><br class="">
      </div>
      <div class="">I suppose I should force that if no cert is
        specified, that would be logical.<br class="">
        <div class=""><br class="">
        </div>
        <div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>paul<br class="">
          <div class=""><br class="">
            <blockquote type="cite" class="">
              <div class="">On Nov 17, 2021, at 9:23 AM, Brian Hechinger
                <<a href="mailto:wonko@4amlunch.net" class="moz-txt-link-freetext" moz-do-not-send="true">wonko@4amlunch.net</a>>
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <meta http-equiv="Content-Type" content="text/html;
                  charset=UTF-8" class="">
                <div class=""><p class="">Even without a cert specified?</p><p class="">-brian<br class="">
                  </p>
                  <div class="moz-cite-prefix">On 17/11/21 14:06, Paul
                    Koning wrote:<br class="">
                  </div>
                  <blockquote type="cite" cite="mid:CF211648-55A0-4709-802F-5EFAC17F8097@comcast.net" class="">
                    <meta http-equiv="Content-Type" content="text/html;
                      charset=UTF-8" class="">
                    You have both http and https enabled (both are
                    enabled by default) so it will try to bind ports
                    8000 and 8443.
                    <div class=""><br class="">
                    </div>
                    <div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>paul<br class="">
                      <div class=""><br class="">
                        <blockquote type="cite" class="">
                          <div class="">On Nov 17, 2021, at 8:09 AM,
                            Brian Hechinger <<a href="mailto:wonko@4amlunch.net" class="moz-txt-link-freetext" moz-do-not-send="true">wonko@4amlunch.net</a>>
                            wrote:</div>
                          <br class="Apple-interchange-newline">
                          <div class="">
                            <meta charset="UTF-8" class=""><p style="caret-color: rgb(0, 0, 0);
                              font-family: Helvetica; font-size: 12px;
                              font-style: normal; font-variant-caps:
                              normal; font-weight: normal;
                              letter-spacing: normal; text-align: start;
                              text-indent: 0px; text-transform: none;
                              white-space: normal; word-spacing: 0px;
                              -webkit-text-stroke-width: 0px;
                              text-decoration: none;" class="">Oops, I
                              knew I forgot something. Trying to rush
                              the email out.</p><p style="caret-color: rgb(0, 0, 0);
                              font-family: Helvetica; font-size: 12px;
                              font-style: normal; font-variant-caps:
                              normal; font-weight: normal;
                              letter-spacing: normal; text-align: start;
                              text-indent: 0px; text-transform: none;
                              white-space: normal; word-spacing: 0px;
                              -webkit-text-stroke-width: 0px;
                              text-decoration: none;" class="">router.conf:</p><p style="caret-color: rgb(0, 0, 0);
                              font-family: Helvetica; font-size: 12px;
                              font-style: normal; font-variant-caps:
                              normal; font-weight: normal;
                              letter-spacing: normal; text-align: start;
                              text-indent: 0px; text-transform: none;
                              white-space: normal; word-spacing: 0px;
                              -webkit-text-stroke-width: 0px;
                              text-decoration: none;" class=""><span style="font-family: monospace;" class=""><span style="background-color: rgb(255, 255,
                                  255);" class="">system
                                  --identification "PyDECnet, A52RTR -
                                  Quarteira, Portugal"<span class="Apple-converted-space"> </span></span><br class="">
                                routing 52.1023 --type l2router<span class="Apple-converted-space"> </span><br class="">
                                logging console<span class="Apple-converted-space"> </span><br class="">
                                @nodes.conf<span class="Apple-converted-space"> </span><br class="">
                                circuit mul-29-2 Multinet --mode connect
                                --destination 82.70.71.174 --dest-port
                                9608 --cost 4 --t3 180<span class="Apple-converted-space"> </span><br class="">
                                #circuit eth-0 Ethernet internal --mode
                                pcap --cost 1<br class="">
                                <br class="">
                              </span>http.conf:</p><p style="caret-color: rgb(0, 0, 0);
                              font-family: Helvetica; font-size: 12px;
                              font-style: normal; font-variant-caps:
                              normal; font-weight: normal;
                              letter-spacing: normal; text-align: start;
                              text-indent: 0px; text-transform: none;
                              white-space: normal; word-spacing: 0px;
                              -webkit-text-stroke-width: 0px;
                              text-decoration: none;" class=""><span style="font-family: monospace;" class=""><span style="background-color: rgb(255, 255,
                                  255);" class="">http --api
                                  --insecure-api</span><br class="">
                                <br class="">
                              </span>-brian<br class="">
                              <span style="font-family: monospace;" class=""></span></p>
                            <div class="moz-cite-prefix" style="caret-color: rgb(0, 0, 0);
                              font-family: Helvetica; font-size: 12px;
                              font-style: normal; font-variant-caps:
                              normal; font-weight: normal;
                              letter-spacing: normal; text-align: start;
                              text-indent: 0px; text-transform: none;
                              white-space: normal; word-spacing: 0px;
                              -webkit-text-stroke-width: 0px;
                              text-decoration: none;">On 17/11/21 13:06,
                              Wilm Boerhout wrote:<br class="">
                            </div>
                            <blockquote type="cite" cite="mid:001f01d7dbb3$f99501c0$ecbf0540$@gmail.com" style="font-family: Helvetica; font-size:
                              12px; font-style: normal;
                              font-variant-caps: normal; font-weight:
                              normal; letter-spacing: normal; orphans:
                              auto; text-align: start; text-indent: 0px;
                              text-transform: none; white-space: normal;
                              widows: auto; word-spacing: 0px;
                              -webkit-text-size-adjust: auto;
                              -webkit-text-stroke-width: 0px;
                              text-decoration: none;" class="">
                              <div class="WordSection1" style="page:
                                WordSection1;">
                                <div style="margin: 0cm; font-size:
                                  11pt; font-family: Calibri,
                                  sans-serif;" class=""><span style="font-size: 10pt; font-family:
                                    Verdana, sans-serif;" class="">Config
                                    file please ?<o:p class=""></o:p></span></div>
                                <div style="margin: 0cm; font-size:
                                  11pt; font-family: Calibri,
                                  sans-serif;" class=""><span style="font-size: 10pt; font-family:
                                    Verdana, sans-serif;" class=""><o:p class=""> </o:p></span></div>
                                <div class="">
                                  <div style="border-style: solid none
                                    none; border-top-width: 1pt;
                                    border-top-color: rgb(225, 225,
                                    225); padding: 3pt 0cm 0cm;" class="">
                                    <div style="margin: 0cm; font-size:
                                      11pt; font-family: Calibri,
                                      sans-serif;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span><a class=" moz-txt-link-abbreviated moz-txt-link-freetext
" href="mailto:owner-hecnet@Update.UU.SE" moz-do-not-send="true">owner-hecnet@Update.UU.SE</a><span class="Apple-converted-space"> </span><a class="moz-txt-link-rfc2396E" href="mailto:owner-hecnet@Update.UU.SE" moz-do-not-send="true"><owner-hecnet@Update.UU.SE></a><span class="Apple-converted-space"> </span><b class="">On Behalf Of<span class="Apple-converted-space"> </span></b>Brian
                                      Hechinger<br class="">
                                      <b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday,
                                      November 17, 2021 2:02 PM<br class="">
                                      <b class="">To:</b><span class="Apple-converted-space"> </span><a class=" moz-txt-link-abbreviated moz-txt-link-freetext
" href="mailto:hecnet@Update.UU.SE" moz-do-not-send="true">hecnet@Update.UU.SE</a><br class="">
                                      <b class="">Subject:</b><span class="Apple-converted-space"> </span>[HECnet]
                                      PyDECnet setup<o:p class=""></o:p></div>
                                  </div>
                                </div>
                                <div style="margin: 0cm; font-size:
                                  11pt; font-family: Calibri,
                                  sans-serif;" class=""><o:p class=""> </o:p></div><p class="">That other thread is getting
                                  out of hand so I'll start a new one.<o:p class=""></o:p></p><p class="">I've started getting this
                                  error:<o:p class=""></o:p></p><p class=""><span class="">Exception in
                                    thread https:<span class="Apple-converted-space"> </span></span><span class=""><br class="">
                                    Traceback (most recent call last):<span class="Apple-converted-space"> </span><br class="">
                                     File
                                    "/usr/lib/python3.8/threading.py",
                                    line 932, in _bootstrap_inner<span class="Apple-converted-space"> </span><br class="">
                                       self.run()<span class="Apple-converted-space"> </span><br class="">
                                     File
                                    "/usr/lib/python3.8/threading.py",
                                    line 870, in run<span class="Apple-converted-space"> </span><br class="">
                                       self._target(*self._args,
                                    **self._kwargs)<span class="Apple-converted-space"> </span><br class="">
                                     File
"/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/http.py",
                                    line 103, in serverstart<span class="Apple-converted-space"> </span><br class="">
                                       httpd = DECnetMonitor
                                    (server_addr, DECnetMonitorRequest,<span class="Apple-converted-space"> </span><br class="">
                                     File
"/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/http.py",
                                    line 126, in __init__<span class="Apple-converted-space"> </span><br class="">
                                       self.socket =
                                    source_addr.create_server ()<span class="Apple-converted-space"> </span><br class="">
                                     File
"/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/host.py",
                                    line 399, in create_server<span class="Apple-converted-space"> </span><br class="">
                                       sock = self.bind_socket
                                    (self.listen_family)<span class="Apple-converted-space"> </span><br class="">
                                     File
"/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/host.py",
                                    line 387, in bind_socket<span class="Apple-converted-space"> </span><br class="">
                                       sock.bind (self.sockaddr)<span class="Apple-converted-space"> </span><br class="">
                                    OSError: [Errno 98] Address already
                                    in use<br class="">
                                    <br class="">
                                  </span>Neither lsof nor netstat show
                                  that port in use. Doesn't matter if I
                                  use the default 8000 or set something
                                  different, I get that every time.<o:p class=""></o:p></p><p class="">I didn't always though. This
                                  was running fine before I tried adding
                                  the circuit for ethernet access.<o:p class=""></o:p></p><p class="">Thoughts?<o:p class=""></o:p></p><p class="">-brian</p>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                      <br class="">
                    </div>
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
    </blockquote>
  </div>
</div></blockquote></div><br class=""></div></body></html>