<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.StylE-mailovZprvy21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="CS" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Hi everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">it’s me again. I just want you to notify that I have identified the root cause of this issue. There was a colliding service listening on port tcp/8080 locally – the UniFi controller
 (yep, I have installed this on a not-so-important node without isolation, will fix this after Christmas). So it happens that the ssh client fails silently (does not exit, no error was in the RIPE atlas probe logs either) when it’s unable to bind to a local
 socket to perform SSH forwarding. That’s a weird bug, but it’s really there.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">So this is just for you to know, that it’s working for me. I will spend more time with the probe and get back with further feedback.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks for having me and again merry Christmas to all of you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Radek Zajic<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">Od: </span></b><span style="color:black">Radek Zajic <radek@zajic.v.pytli.cz><br>
<b>Datum: </b>úterý 24. prosince 2019 9:41<br>
<b>Komu: </b>"atlas-sw-probes@ripe.net" <atlas-sw-probes@ripe.net><br>
<b>Pøedmìt: </b>Merry Christmas and a HTTP 302<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi everyone,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Merry Christmas (or Festive season, if you prefer) and a happy New Year to everyone!</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have just registered my first software RIPE probe. I can see it in my RIPE Atlas probe list. When checking systemd logs, I can see that the probe is registered properly with its control server (which is
 ctr-fsn01.atlas.ripe.net).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">When I ran the first measurement from it, the measurement didn’t show up on the web. I see the following error in the systemd journal:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: total size in dir: 5668</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: httppost: before getaddrinfo</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: httppost: before connect</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: httppost: sending request</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: posting file '/var/atlas-probe/data/out/ooq/2'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: posting file '/var/atlas-probe/data/out/ooq/1'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: httppost: getting result</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: httppost: POST command failed: '302 '</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: httppost: leaving with error</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pro 24 09:36:38 controller ATLAS[8785]: ooqd: httppost failed with 1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">This conforms to what I see in tcpdump:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">POST /?PROBE_ID=1000060&SESSION_ID=34f398cd76888d91da4adb236e00ded25abf69bcf959509b748ad7e84b33c2c8&SRC=oneoff HTTP/1.1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">Host: 127.0.0.1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">Connection: close</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">User-Agent: httppost for atlas.ripe.net</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">Content-Type: application/x-www-form-urlencoded</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">Content-Length: 5759</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">P_TO_C_REPORT</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#7F0000;background:#FBEDED">RESULT { ... }</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="color:#00007F;background:#EDEDFB">HTTP/1.1 302
</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="color:#00007F;background:#EDEDFB">Location: /manage</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="color:#00007F;background:#EDEDFB">Content-Length: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="color:#00007F;background:#EDEDFB">Date: Tue, 24 Dec 2019 08:14:38 GMT</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="color:#00007F;background:#EDEDFB">Connection: close</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The question is: why does the probe (talking via the initiated SSH tunnel at 8080:127.0.0.1:8080) receive such a message from the controller? Is this common or a bug?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">O/S: Ubuntu 18.04, amd64</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">SW probe version: atlasswprobe==5000-1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks for any insight and/or hint.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Cheers,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Radek Zajic</span><o:p></o:p></p>
</div>
</div>
</body>
</html>