[erlang-questions] Securing link between nodes

Jordan Wilberding <>
Sun Sep 10 15:49:16 CEST 2006


Well I traced down my error for thinking I was using SSL, but actually
wasn't anyways. I have come across an error now. When I do:

erl -boot start_ssl -proto_dist inet_ssl

Everything works just fine, but when I try setting a game with:

erl -boot start_ssl -proto_dist inet_ssl -sname ssl_test

Everything goes crazy with this error message:

{error_logger,{{2006,9,10},{8,43,50}},'Protocol: ~p: register/listen
error: ~p~n
',[inet_ssl,{'EXIT',{normal,{gen_server,call,[ssl_server_prim,{listen,<0.20.0>,{
0,0,0,0},0,[],5},infinity]}}}]}
{error_logger,{{2006,9,10},{8,43,50}},crash_report,[[{pid,<0.20.0>},{registered_
name,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_ser
ver,<0.16.0>,<0.16.0>,{local,net_kernel},net_kernel,{ssl_test,shortnames,15000},
[]]}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.16.0>]},
{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,37
7},{stack_size,21},{reductions,295}],[]]}
{error_logger,{{2006,9,10},{8,43,50}},supervisor_report,[{supervisor,{local,net_
sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pi
d,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[ssl_test,shortnames
]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2006,9,10},{8,43,50}},supervisor_report,[{supervisor,{local,net_
sup}},{errorContext,shutdown_error},{reason,normal},{offender,[{pid,<0.17.0>},{n
ame,ssl_server_prim},{mfa,{ssl_server,start_link_prim,[]}},{restart_type,permane
nt},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2006,9,10},{8,43,50}},supervisor_report,[{supervisor,{local,kern
el_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined}
,{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},
{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2006,9,10},{8,43,50}},crash_report,[[{pid,<0.7.0>},{registered_n
ame,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{applic
ation_master,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_controller,erl
_reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader
,error_logger,file_server,file_server_2,fixtable_server,global_group,global_name
_server,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_serve
r,ddll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,applicati
on_controller,application_master,application_starter,auth,code,code_aux,packages
,code_server,dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_repl
y,erlang,error_handler,error_logger,file,file_server,old_file_server,file_io_ser
ver,prim_file,global,global_group,global_search,group,heart,hipe_unified_loader,
hipe_sparc_loader,hipe_ppc_loader,hipe_ppc64_loader,hipe_x86_loader,hipe_amd64_l
oader,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,inet_gethost_nat
ive,inet_tcp_dist,init,kernel,kernel_config,net,net_adm,net_kernel,os,ram_file,r
pc,user,user_drv,user_sup,disk_log,disk_log_1,disk_log_server,disk_log_sup,dist_
ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,prim_inet,inet,inet_db,inet_dns,
inet_parse,inet_res,inet_tcp,inet_udp,pg2,seq_trace,wrap_log_reader,zlib,otp_rin
g0],[],infinity,infinity},normal]}},{ancestors,[<0.6.0>]},{messages,[{'EXIT',<0.
8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary,[]},{trap_exit,true},{statu
s,running},{heap_size,987},{stack_size,21},{reductions,1041}],[]]}
{error_logger,{{2006,9,10},{8,43,50}},std_info,[{application,kernel},{exited,{sh
utdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,shutdown}

Thanks!
Jordan Wilberding



More information about the erlang-questions mailing list