I am sending only one message. I tried to google mail and Yandex Mail, does not work on the latest releases, to this work. I'm trying to send an email with registration
понедельник, 1 августа 2016 г., 22:20:51 UTC+9 пользователь Marc Worrell написал: > > Looks like you got some timeout whilst sending the email. > The error is passed as a tuple, which the email logger doesn’t expect, so > it crashes. > > I have to check the source code to see where this timeout can come from. > > I assume you weren’t sending lots of emails at that moment? > It seems you use yandex as smtp gateway, don’t you? > > Might be a connect timeout on yandex, but I am not sure. > > - Marc > > > > On 31 Jul 2016, at 17:38, heiheshang <[email protected] <javascript:>> > wrote: > > zotonic | ==> /srv/zotonic/priv/log/console.log <== > zotonic | 2016-07-31 15:33:49.118 [info] > <0.25372.3>@z_email_server:spawned_email_sender_loop:591 [smtp] Sending > email to "[email protected]" (<<"ofrtynjva0tysn2g40f5">>), via relay " > mail.anriya.ru" > zotonic | 2016-07-31 15:33:59.134 [error] <0.25420.3> gen_server > <0.25420.3> terminated with reason: no function clause matching > epgsql_wire:encode_parameter({error,timeout}) line 197 > db | LOG: unexpected EOF on client connection with an open > transaction > zotonic | > zotonic | ==> /srv/zotonic/priv/log/crash.log <== > zotonic | 2016-07-31 15:33:59 =ERROR REPORT==== > zotonic | ** Generic server <0.25420.3> terminating > zotonic | ** Last message in was > {equery,{statement,[],[{column,<<"id">>,int8,8,-1,1}],[int4,varchar,varchar,bytea,varchar,varchar,varchar,int4,int4,int4,int4,varchar,bytea]},[{int4,2},{varchar,<<"ofrtynjva0tysn2g40f5">>},{varchar,retry},{bytea,{error,timeout}},{varchar," > mx.yandex.ru"},{varchar,"[email protected]"},{varchar,"<[email protected] > >"},{int4,608},{int4,608},{int4,null},{int4,null},{varchar,"email_verify.tpl"},{bytea,<<1,50,106,58,131,106>>}]} > zotonic | ** When Server state == > {state,gen_tcp,#Port<0.254333>,<<>>,{366,538468823},on_message,{codec,[],[]},{[],[]},undefined,[{<<"application_name">>,<<>>},{<<"client_encoding">>,<<"UTF8">>},{<<"DateStyle">>,<<"ISO, > > MDY">>},{<<"integer_datetimes">>,<<"on">>},{<<"IntervalStyle">>,<<"postgres">>},{<<"is_superuser">>,<<"off">>},{<<"server_encoding">>,<<"UTF8">>},{<<"server_version">>,<<"9.4.5">>},{<<"session_authorization">>,<<"zotonic">>},{<<"standard_conforming_strings">>,<<"on">>},{<<"TimeZone">>,<<"UTC">>}],[],[],[],[],[],undefined,73} > zotonic | ** Reason for termination == > zotonic | ** > {function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} > zotonic | > zotonic | ==> /srv/zotonic/priv/log/error.log <== > zotonic | 2016-07-31 15:33:59.134 [error] <0.25420.3> gen_server > <0.25420.3> terminated with reason: no function clause matching > epgsql_wire:encode_parameter({error,timeout}) line 197 > zotonic | > zotonic | ==> /srv/zotonic/priv/log/crash.log <== > zotonic | 2016-07-31 15:33:59 =CRASH REPORT==== > zotonic | crasher: > zotonic | initial call: epgsql_sock:init/1 > zotonic | pid: <0.25420.3> > zotonic | registered_name: [] > zotonic | exception exit: > {{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,812}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} > zotonic | ancestors: > [<0.30865.1>,<0.1468.0>,'z_db_pool$skl',<0.1462.0>,<0.279.0>,z_sites_manager,z_sites_sup,zotonic_sup,<0.265.0>] > zotonic | messages: [] > zotonic | links: [<0.30865.1>,#Port<0.254333>] > zotonic | dictionary: [{datetime_mod,epgsql_idatetime}] > zotonic | trap_exit: false > zotonic | status: running > zotonic | heap_size: 2586 > zotonic | stack_size: 27 > zotonic | reductions: 5503 > zotonic | neighbours: > zotonic | neighbour: > [{pid,<0.30865.1>},{registered_name,[]},{initial_call,{z_db_pgsql,init,['Argument__1']}},{current_function,{gen,do_call,4}},{ancestors,[<0.1468.0>,'z_db_pool$skl',<0.1462.0>,<0.279.0>,z_sites_manager,z_sites_sup,zotonic_sup,<0.265.0>]},{messages,[]},{links,[<0.1468.0>,<0.25420.3>,<0.1467.0>]},{dictionary,[]},{trap_exit,false},{status,waiting},{heap_size,2586},{stack_size,25},{reductions,7109}] > zotonic | 2016-07-31 15:33:59 =SUPERVISOR REPORT==== > zotonic | Supervisor: {<0.1468.0>,poolboy_sup} > zotonic | Context: child_terminated > zotonic | Reason: > {function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} > zotonic | Offender: > [{pid,<0.30865.1>},{id,z_db_pgsql},{mfargs,{z_db_pgsql,start_link,undefined}},{restart_type,temporary},{shutdown,5000},{child_type,worker}] > zotonic | > zotonic | 2016-07-31 15:33:59 =ERROR REPORT==== > zotonic | ** Generic server <0.5902.3> terminating > zotonic | ** Last message in was > {'$gen_cast',{log,{log_email,2,<<"ofrtynjva0tysn2g40f5">>,retry,{error,timeout}," > mx.yandex.ru","[email protected]","<[email protected] > >",608,608,undefined,undefined,"email_verify.tpl",[]}}} > zotonic | ** When Server state == {state,skl,[]} > zotonic | ** Reason for termination == > zotonic | ** > {{{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]},{gen_server,call,[<0.30865.1>,{equery,"insert > > into \"log_email\" (\"severity\", \"message_nr\", \"mailer_status\", > \"mailer_message\", \"mailer_host\", \"envelop_to\", \"envelop_from\", > \"to_id\", \"from_id\", \"content_id\", \"other_id\", \"message_template\", > \"props\") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) > returning id",[2,<<"ofrtynjva0tysn2g40f5">>,retry,{error,timeout}," > mx.yandex.ru","[email protected]","<[email protected] > >",608,608,undefined,undefined,"email_verify.tpl",{term,[]}]},30000]}},[{gen_server,call,3,[{file,"gen_server.erl"},{line,212}]},{z_db,equery1,5,[{file,"/srv/zotonic/_build/default/lib/zotonic/src/db/z_db.erl"},{line,867}]},{z_db,'-insert/3-fun-2-',4,[{file,"/srv/zotonic/_build/default/lib/zotonic/src/db/z_db.erl"},{line,405}]},{timer,tc,2,[{file,"timer.erl"},{line,181}]},{z_db,with_connection,3,[{file,"/srv/zotonic/_build/default/lib/zotonic/src/db/z_db.erl"},{line,206}]},{mod_logging,handle_other_log,2,[{file,"modules/mod_logging/mod_logging.erl"},{line,175}]},{mod_logging,handle_cast,2,[{file,"modules/mod_logging/mod_logging.erl"},{line,101}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,601}]}]} > zotonic | > zotonic | ==> /srv/zotonic/priv/log/console.log <== > zotonic | 2016-07-31 15:33:59.135 [error] <0.25420.3> CRASH REPORT > Process <0.25420.3> with 1 neighbours exited with reason: no function > clause matching epgsql_wire:encode_parameter({error,timeout}) line 197 in > gen_server:terminate/7 line 812 > zotonic | > zotonic | ==> /srv/zotonic/priv/log/error.log <== > zotonic | 2016-07-31 15:33:59.135 [error] <0.25420.3> CRASH REPORT > Process <0.25420.3> with 1 neighbours exited with reason: no function > clause matching epgsql_wire:encode_parameter({error,timeout}) line 197 in > gen_server:terminate/7 line 812 > zotonic | > zotonic | ==> /srv/zotonic/priv/log/crash.log <== > zotonic | 2016-07-31 15:33:59 =CRASH REPORT==== > zotonic | crasher: > zotonic | initial call: mod_logging:init/1 > zotonic | pid: <0.5902.3> > zotonic | registered_name: [] > zotonic | exception exit: > {{{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]},{gen_server,call,[<0.30865.1>,{equery,"insert > > into \"log_email\" (\"severity\", \"message_nr\", \"mailer_status\", > \"mailer_message\", \"mailer_host\", \"envelop_to\", \"envelop_from\", > \"to_id\", \"from_id\", \"content_id\", \"other_id\", \"message_template\", > \"props\") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) > returning id",[2,<<"ofrtynjva0tysn2g40f5">>,retry,{error,timeout}," > mx.yandex.ru","[email protected]","<[email protected] > >",608,608,undefined,undefined,"email_verify.tpl",{term,[]}]},30000]}},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,812}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} > zotonic | ancestors: > [<0.1495.0>,'z_module_manager$skl',<0.1462.0>,<0.279.0>,z_sites_manager,z_sites_sup,zotonic_sup,<0.265.0>] > zotonic | messages: [] > zotonic | links: [<0.1495.0>] > zotonic | dictionary: > [{depache_now,1469979239},{depcache_count,0},{depcache_tables,{ok,'z_depcache$skl',{'m:z_depcache$skl','p:z_depcache$skl','d:z_depcache$skl'}}},{'__lager_metadata',[{site,skl},{module,mod_logging}]}] > zotonic | trap_exit: false > zotonic | status: running > zotonic | heap_size: 6772 > zotonic | stack_size: 27 > zotonic | reductions: 4019 > zotonic | neighbours: > zotonic | > zotonic | ==> /srv/zotonic/priv/log/console.log <== > zotonic | 2016-07-31 15:33:59.135 [error] <0.1468.0> Supervisor > {<0.1468.0>,poolboy_sup} had child z_db_pgsql started with > {z_db_pgsql,start_link,undefined} at <0.30865.1> exit with reason no > function clause matching epgsql_wire:encode_parameter({error,timeout}) line > 197 in context child_terminated > zotonic | > zotonic | ==> /srv/zotonic/priv/log/error.log <== > zotonic | 2016-07-31 15:33:59.135 [error] <0.1468.0> Supervisor > {<0.1468.0>,poolboy_sup} had child z_db_pgsql started with > {z_db_pgsql,start_link,undefined} at <0.30865.1> exit with reason no > function clause matching epgsql_wire:encode_parameter({error,timeout}) line > 197 in context child_terminated > zotonic | > zotonic | ==> /srv/zotonic/priv/log/console.log <== > zotonic | 2016-07-31 15:33:59.137 [error] <0.5902.3> gen_server > <0.5902.3> terminated with reason: > {{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},...]},...} > > in gen_server:call/3 line 212 > zotonic | > zotonic | ==> /srv/zotonic/priv/log/error.log <== > zotonic | 2016-07-31 15:33:59.137 [error] <0.5902.3> gen_server > <0.5902.3> terminated with reason: > {{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},...]},...} > > in gen_server:call/3 line 212 > zotonic | > zotonic | ==> /srv/zotonic/priv/log/console.log <== > zotonic | 2016-07-31 15:33:59.137 [error] <0.5902.3> CRASH REPORT > Process <0.5902.3> with 0 neighbours exited with reason: > {{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},...]},...} > > in gen_server:terminate/7 line 812 > zotonic | > zotonic | ==> /srv/zotonic/priv/log/error.log <== > zotonic | 2016-07-31 15:33:59.137 [error] <0.5902.3> CRASH REPORT > Process <0.5902.3> with 0 neighbours exited with reason: > {{function_clause,[{epgsql_wire,encode_parameter,[{error,timeout}],[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,197}]},{epgsql_wire,encode_parameters,5,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_wire.erl"},{line,183}]},{epgsql_sock,command,2,[{file,"/srv/zotonic/_build/default/lib/epgsql/src/epgsql_sock.erl"},{line,218}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,647}]},...]},...} > > in gen_server:terminate/7 line 812 > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Zotonic developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
