<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="">
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; 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;" class="">
<div class="">ibrowse:set_dest(<span style="color: rgb(163, 21, 21);" class="">"<a href="http://download.geonames.org" 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" 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; background-color: rgb(255, 255, 255);" class="">ibrowse:send_req(Url, [{</span><span style="font-family: Monaco; white-space: pre; background-color: rgb(255, 255, 255); color: rgb(163, 21, 21);" class="">"If-None-Match"</span><span style="font-family: Monaco; white-space: pre; 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=""><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 17:07, Roger Lipscombe <<a href="mailto:roger@differentpla.net" class="">roger@differentpla.net</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" style="caret-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; text-decoration: none;" class="">
<div class="gmail_extra">
<div class="gmail_quote">On 11 April 2018 at 15:44, Whealy, Chris<span class="Apple-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="Apple-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/<wbr class="">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/<wbr class="">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,<wbr class="">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>
</body>
</html>