[erlang-questions] ssl:connect fail

Technion technion@REDACTED
Sat Nov 28 22:25:47 CET 2015


Many thanks, that seemed to do it. Of course I have new problems now :)

________________________________________
From: Fred Hebert <mononcqc@REDACTED>
Sent: Sunday, 29 November 2015 6:15 AM
To: Éric Pailleau
Cc: Technion; Erlang Questions
Subject: Re: [erlang-questions] ssl:connect fail

On 11/28, Éric Pailleau wrote:
>Hi,
>Remind that a release come with the only needed  applications and modules,  while shell can have access to the whole Erlang applications and modules.
>But it is not magic. Your  .app file must declare things.
>See 'app' in Erlang documentation.
>'application' key must declare all  modules and applications needed by your own application, in order to relx build a valid start script.
>
>Regards
>

To expand on this, make sure your application has the 'ssl' application
in its `{application, [...]}' tuple in its .app (or .app.src) file. This
will let relx know to pull it into the final release properly.

Another alternative is to jut put the 'ssl' app in the relx
configuration, but this is a weaker form of it: while it will pull the
app properly into the release, it won't ensure it is booted before your
app does; the .app data is what conveys that information.



More information about the erlang-questions mailing list