[erlang-questions] Network connections fail when starting rebar app using "console" parameter

Roger Lipscombe roger@REDACTED
Wed Apr 11 18:07:34 CEST 2018


On 11 April 2018 at 15:44, Whealy, Chris <chris.whealy@REDACTED> wrote:

> Hi All
>
> 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
>
> $ _build/default/rel/geo_server/bin/geo_server start
>
> But all the downloads fail when I use the “console” parameter
>
> $ _build/default/rel/geo_server/bin/geo_server console
>
> No other network conditions have changed, but now all the HTTP connections
> fail with {conn_failed,{error,ehostdown}} which clearly is not the case...
>
> Are extra parameters needed when starting the app using “console”?
>

Not usually. What are you using to download the files from the other web
server?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180411/b1ff00ff/attachment.htm>


More information about the erlang-questions mailing list