<div dir="ltr">Maybe have a network capture to determine why the ehostdown happen. especially you can compare the worked capture with the failed one.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 12, 2018 at 12:29 AM Whealy, Chris <<a href="mailto:chris.whealy@sap.com">chris.whealy@sap.com</a>> wrote:<br></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">
Hi Roger
<div><br>
</div>
<div>My Cowboy app has a dependency on iBrowse - which has been working fine up until trying to start the app using “console”.</div>
<div><br>
</div>
<div><span style="font-family:Monaco;white-space:pre-wrap;background-color:rgb(255,255,255)">ibrowse:start(),</span></div>
<div>
<div style="background-color:rgb(255,255,255);font-family:Monaco;line-height:18px;white-space:pre-wrap">
<div>ibrowse:set_dest(<span style="color:rgb(163,21,21)">"<a href="http://download.geonames.org" target="_blank">download.geonames.org</a>"</span>,
<span style="color:rgb(9,136,90)">80</span>, [{max_sessions, <span style="color:rgb(9,136,90)">
10</span>}, {max_pipeline_size, <span style="color:rgb(9,136,90)">25</span>}]),</div>
<br>
</div>
</div>
<div>Then I spawn another process to fetch some files from <a href="http://genomes.org" target="_blank">
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)">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)">"If-None-Match"</span><span style="font-family:Monaco;white-space:pre-wrap;background-color:rgb(255,255,255)">,
 Etag}], get)</span> that fires off an HTTP GET request to <font face="Monaco">
Url</font> for a given <font face="Monaco">Etag</font>.</div>
<div><br>
</div>
<div>This all works fine when using the “start" parameter, but fails when using “console”…</div>
<div><br>
</div>
<div>Regards</div>
<div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><br>
<div>
<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;word-wrap:break-word">
<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;word-wrap:break-word">
<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;word-wrap:break-word">
<div style="word-wrap:break-word">
<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">
<div style="word-wrap:break-word">
<table class="m_4431502381724184677MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica;border-collapse:collapse">
<tbody>
<tr>
<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">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt"><b><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)">Chris Whealy</span></b><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)"><u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt">
<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)">SAP Cloud Platform | Strategy & Product Management | Team</span></p>
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt"><b><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)">SAP UK Ltd,</span></b><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)"> Clockhouse
 Place, Bedfont Rd, Feltham, Middx, TW14 8HA, England <u></u><u></u></span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt"><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)"><br>
M <a href="tel:+44%207808%20575377" value="+447808575377" target="_blank">+44 (0)7808 575377</a></span><span style="color:rgb(102,102,102);font-family:Arial,sans-serif;font-size:8pt"> </span></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt">
<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)">Find out more on the Strategy & Product Management</span><span lang="EN-US"><a href="https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=1865737441" target="_blank"><b><span style="font-size:8pt;font-family:Arial,sans-serif"> </span></b><b><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(46,116,181)">Wiki
 page</span></b></a></span><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)"> (SAP internal)<br>
</span><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(102,102,102)">Follow our latest activities in SAP CP User Community </span><span lang="EN-US"><b><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(46,116,181)"><a href="https://jam4.sapjam.com/groups/about_page/eopqUq5S182gY7JFrbdwis" target="_blank">Jam
 Group</a></span></b></span><span style="font-family:Arial,sans-serif;font-size:8pt"> </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)">Please consider the impact on the environment before printing this e-mail. </span></p>
</div>
</div>
<div style="margin:0cm 0cm 0.0001pt"><span lang="DE" style="font-family:Arial,sans-serif;font-size:7.5pt;color:rgb(153,153,153)">Twitter: @LogaRhythm</span></div>
</td>
</tr>
<tr>
<td width="624" valign="top" style="width:468pt;border:none;padding:1.4pt 0cm">
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<i><span lang="DE" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(79,129,189)">"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">
<i><span lang="DE" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(79,129,189)">  but the words of the wise are quiet and few"<u></u><u></u></span></i></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<i><span lang="DE" style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(79,129,189)">                                                 Ancient Proverb</span></i></div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
</div>
<div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:'Times New Roman',serif">
<br>
</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"><div><div><br>
<blockquote type="cite">
<div>On 11 Apr 2018, at 17:07, Roger Lipscombe <<a href="mailto:roger@differentpla.net" target="_blank">roger@differentpla.net</a>> wrote:</div>
<br class="m_4431502381724184677Apple-interchange-newline">
<div>
<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">
<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"><<a href="mailto:chris.whealy@sap.com" target="_blank">chris.whealy@sap.com</a>></span><span class="m_4431502381724184677Apple-converted-space"> </span>wrote:<br>
<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">Hi All
<div><br>
</div>
<div>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><br>
</div>
<div>
<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)">
<span style="font-variant-ligatures:no-common-ligatures">$ _build/default/rel/geo_server/bin/geo_server start</span></div>
</div>
<div><br>
</div>
<div>But all the downloads fail when I use the “console” parameter</div>
<div><br>
</div>
<div>
<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)">
<span style="font-variant-ligatures:no-common-ligatures">$ _build/default/rel/geo_server/bin/geo_server console</span></div>
</div>
<div><br>
</div>
<div>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)">{conn_failed,{error,ehostdown}}</span> which
 clearly is not the case...</div>
<div><br>
</div>
<div>Are extra parameters needed when starting the app using “console”?</div>
</div>
</blockquote>
<div><br>
</div>
<div>Not usually. What are you using to download the files from the other web server?</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div>

_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>