<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Found the problem…
<div class=""><br class="">
</div>
<div class="">For some reason I had a highly specific firewall rule that blocked outgoing network access by the BEAM, but only when run from within Terminal.</div>
<div class=""><br class="">
</div>
<div class="">Deleted that rule and everything works fine now</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Tahoma; 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;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="font-family: Helvetica; orphans: 2; widows: 2; border-collapse: collapse;">
<tbody class="">
<tr class="">
<td width="624" valign="top" style="width: 468pt; border-style: none none solid; border-bottom-width: 1pt; border-bottom-color: gray; padding: 1.4pt 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;" class=""><b class=""><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class="">Chris Whealy</span></b><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;" class="">
<p class="MsoNormal" style="font-family: Tahoma; font-size: 12px;"><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class="">SAP Cloud Platform | Strategy & Product Management | Team</span></p>
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;" class=""><b class=""><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class="">SAP UK Ltd,</span></b><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class=""> Clockhouse
 Place, Bedfont Rd, Feltham, Middx, TW14 8HA, England <o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;" class=""><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class=""><br class="">
M +44 (0)7808 575377</span><span style="color: rgb(102, 102, 102); font-family: Arial, sans-serif; font-size: 8pt;" class=""> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;" class="">
<p class="MsoNormal" style="font-family: Tahoma; font-size: 12px;"><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class="">Find out more on the Strategy & Product Management</span><span lang="EN-US" class=""><a href="https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=1865737441" class=""><b class=""><span style="font-size: 8pt; font-family: Arial, sans-serif;" class=""> </span></b><b class=""><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(46, 116, 181);" class="">Wiki
 page</span></b></a></span><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class=""> (SAP internal)<br class="">
</span><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);" class="">Follow our latest activities in SAP CP User Community </span><span lang="EN-US" class=""><b class=""><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(46, 116, 181);" class=""><a href="https://jam4.sapjam.com/groups/about_page/eopqUq5S182gY7JFrbdwis" class="">Jam
 Group</a></span></b></span><span style="font-family: Arial, sans-serif; font-size: 8pt;" class=""> </span></p>
<p class="MsoNormal" style="font-family: Tahoma; font-size: 12px;"><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(153, 153, 153);" class="">Please consider the impact on the environment before printing this e-mail. </span></p>
</div>
</div>
<div style="margin: 0cm 0cm 0.0001pt;" class=""><span lang="DE" style="font-family: Arial, sans-serif; font-size: 7.5pt; color: rgb(153, 153, 153);" class="">Twitter: @LogaRhythm</span></div>
</td>
</tr>
<tr class="">
<td width="624" valign="top" style="width: 468pt; border: none; padding: 1.4pt 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<i class=""><span lang="DE" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(79, 129, 189);" class="">"The voice of ignorance speaks loud and long,</span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<i class=""><span lang="DE" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(79, 129, 189);" class="">  but the words of the wise are quiet and few"<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<i class=""><span lang="DE" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(79, 129, 189);" class="">                                                 Ancient Proverb</span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<br class="">
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 11 Apr 2018, at 18:58, YD Jiang <<a href="mailto:jan4984@gmail.com" class="">jan4984@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Maybe have a network capture to determine why the ehostdown happen. especially you can compare the worked capture with the failed one.</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Thu, Apr 12, 2018 at 12:29 AM Whealy, Chris <<a href="mailto:chris.whealy@sap.com" class="">chris.whealy@sap.com</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space" class="">Hi Roger
<div class=""><br class="">
</div>
<div class="">My Cowboy app has a dependency on iBrowse - which has been working fine up until trying to start the app using “console”.</div>
<div class=""><br class="">
</div>
<div class=""><span style="font-family:Monaco;white-space:pre-wrap;background-color:rgb(255,255,255)" class="">ibrowse:start(),</span></div>
<div class="">
<div style="background-color:rgb(255,255,255);font-family:Monaco;line-height:18px;white-space:pre-wrap" class="">
<div class="">ibrowse:set_dest(<span style="color:rgb(163,21,21)" class="">"<a href="http://download.geonames.org/" target="_blank" class="">download.geonames.org</a>"</span>,
<span style="color:rgb(9,136,90)" class="">80</span>, [{max_sessions, <span style="color:rgb(9,136,90)" class="">
10</span>}, {max_pipeline_size, <span style="color:rgb(9,136,90)" class="">25</span>}]),</div>
<br class="">
</div>
</div>
<div class="">Then I spawn another process to fetch some files from <a href="http://genomes.org/" target="_blank" class="">
genomes.org</a> and wait for the results.  The spawned process is just a wrapper around <span style="font-family:Monaco;white-space:pre-wrap;background-color:rgb(255,255,255)" class="">ibrowse:send_req(Url, [{</span><span style="font-family:Monaco;white-space:pre-wrap;background-color:rgb(255,255,255);color:rgb(163,21,21)" class="">"If-None-Match"</span><span style="font-family:Monaco;white-space:pre-wrap;background-color:rgb(255,255,255)" class="">,
 Etag}], get)</span> that fires off an HTTP GET request to <font face="Monaco" class="">
Url</font> for a given <font face="Monaco" class="">Etag</font>.</div>
<div class=""><br class="">
</div>
<div class="">This all works fine when using the “start" parameter, but fails when using “console”…</div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class=""></div>
</div>
<div style="word-wrap:break-word;line-break:after-white-space" class="">
<div class=""><br class="">
<div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="word-wrap:break-word" class="">
<div style="font-family: Tahoma; 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;" class="">
<div style="word-wrap:break-word" class="">
<table class="m_4431502381724184677MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica;border-collapse:collapse">
<tbody class="">
<tr class="">
<td width="624" valign="top" style="width:468pt;border-style:none none solid;border-bottom-width:1pt;border-bottom-color:gray;padding:1.4pt 0cm" class="">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif" class="">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt" class=""><b class=""><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class="">Chris Whealy</span></b><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class=""><u class=""></u><u class=""></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt" class="">
<p class="MsoNormal" style="font-family:Tahoma;font-size:12px"><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class="">SAP Cloud Platform | Strategy & Product Management | Team</span></p>
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt" class=""><b class=""><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class="">SAP UK Ltd,</span></b><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class=""> Clockhouse
 Place, Bedfont Rd, Feltham, Middx, TW14 8HA, England <u class=""></u><u class=""></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt" class=""><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class=""><br class="">
M <a href="tel:+44%207808%20575377" value="+447808575377" target="_blank" class="">
+44 (0)7808 575377</a></span><span style="color:rgb(102,102,102);font-family:Arial,sans-serif;font-size:8pt" class=""> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt" class="">
<p class="MsoNormal" style="font-family:Tahoma;font-size:12px"><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class="">Find out more on the Strategy & Product Management</span><span lang="EN-US" class=""><a href="https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=1865737441" target="_blank" class=""><b class=""><span style="font-size:8pt;font-family:Arial,sans-serif" class=""> </span></b><b class=""><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(46,116,181)" class="">Wiki
 page</span></b></a></span><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class=""> (SAP internal)<br class="">
</span><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)" class="">Follow our latest activities in SAP CP User Community </span><span lang="EN-US" class=""><b class=""><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(46,116,181)" class=""><a href="https://jam4.sapjam.com/groups/about_page/eopqUq5S182gY7JFrbdwis" target="_blank" class="">Jam
 Group</a></span></b></span><span style="font-family:Arial,sans-serif;font-size:8pt" class=""> </span></p>
<p class="MsoNormal" style="font-family:Tahoma;font-size:12px"><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(153,153,153)" class="">Please consider the impact on the environment before printing this e-mail. </span></p>
</div>
</div>
<div style="margin:0cm 0cm 0.0001pt" class=""><span lang="DE" style="font-family:Arial,sans-serif;font-size:7.5pt;color:rgb(153,153,153)" class="">Twitter: @LogaRhythm</span></div>
</td>
</tr>
<tr class="">
<td width="624" valign="top" style="width:468pt;border:none;padding:1.4pt 0cm" class="">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif" class="">
<i class=""><span lang="DE" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(79,129,189)" class="">"The voice of ignorance speaks loud and long,</span></i></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif" class="">
<i class=""><span lang="DE" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(79,129,189)" class="">  but the words of the wise are quiet and few"<u class=""></u><u class=""></u></span></i></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif" class="">
<i class=""><span lang="DE" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(79,129,189)" class="">                                                 Ancient Proverb</span></i></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif" class="">
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif" class="">
<br class="">
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<br class="m_4431502381724184677Apple-interchange-newline">
</div>
<br class="m_4431502381724184677Apple-interchange-newline">
<br class="m_4431502381724184677Apple-interchange-newline">
</div>
</div>
</div>
<div style="word-wrap:break-word;line-break:after-white-space" class="">
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 11 Apr 2018, at 17:07, Roger Lipscombe <<a href="mailto:roger@differentpla.net" target="_blank" class="">roger@differentpla.net</a>> wrote:</div>
<br class="m_4431502381724184677Apple-interchange-newline">
<div class="">
<div dir="ltr" style="font-family:Tahoma;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;text-decoration:none" class="">
<div class="gmail_extra">
<div class="gmail_quote">On 11 April 2018 at 15:44, Whealy, Chris<span class="m_4431502381724184677Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:chris.whealy@sap.com" target="_blank" class="">chris.whealy@sap.com</a>></span><span class="m_4431502381724184677Apple-converted-space"> </span>wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space" class="">Hi All
<div class=""><br class="">
</div>
<div class="">I have a Cowboy app that at startup time, downloads various files from another web server.  I’m using rebar to create a release, and this all works fine when I start the app using the “start” parameter</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">$ _build/default/rel/geo_server/bin/geo_server start</span></div>
</div>
<div class=""><br class="">
</div>
<div class="">But all the downloads fail when I use the “console” parameter</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">$ _build/default/rel/geo_server/bin/geo_server console</span></div>
</div>
<div class=""><br class="">
</div>
<div class="">No other network conditions have changed, but now all the HTTP connections fail with <span style="color:rgb(244,244,244);font-family:Monaco;background-color:rgba(0,0,0,0.85098)" class="">{conn_failed,{error,ehostdown}}</span> which clearly is
 not the case...</div>
<div class=""><br class="">
</div>
<div class="">Are extra parameters needed when starting the app using “console”?</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">Not usually. What are you using to download the files from the other web server?</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
erlang-questions mailing list<br class="">
<a href="mailto:erlang-questions@erlang.org" target="_blank" class="">erlang-questions@erlang.org</a><br class="">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank" class="">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>