PROJECT_NAME_main_init.erl

init/0

add ssl:start()

On Thursday, June 26, 2014 9:38:43 PM UTC+4, Konstantin Gorshkov wrote:
>
> Hi all!
>
> I have a problem when I tried to configure SMTP relay with TLS. My config 
> is:
>
> In the console "boss_mail:send(...)" returns: "tls_failed" , and 
> "ssl_error=5" in SMTP server logs.
>
> After exploring the sources of the gen_smtp module I found the actual 
> error: ssl_not_started
> So I entered "ssl:start()" in the console and then "boss_mail:send(...)" 
> worked!
>
> Maybe is there more elegant solution for run SSL at startup of 
> application? Searching for "ssl:start()" give nothing helpful:
>
> $ grep -r 'ssl:start()' .
> ./deps/ddb/README.md:    ssl:start().
> ./deps/ranch/guide/transports.md:ssl:start().
> ./deps/mongodb/src/mongo_connect.erl:   ssl:start(),
> ./deps/boss_db/src/db_adapters/boss_db_adapter_dynamodb.erl:    
> ssl:start(),
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/d92ebcd6-0d4f-47e3-8478-197fe2d3f7a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to