Greg Martin
unread,Aug 29, 2017, 9:04:41 AM8/29/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chica...@googlegroups.com
Good morning,
I'm just getting started with Chicago Boss. Hello World works for me and
I'm trying to add the admin interface. This is the error I get:
07:56:56.609 [error] gen_server <0.313.0> terminated with reason: call
to undefined function crypto:rand_bytes/1 from
boss_session_controller:generate_session_id/0 line 90
07:56:56.609 [error] CRASH REPORT Process <0.313.0> with 0 neighbours
crashed with reason: call to undefined function crypto:rand_bytes(2048)
07:56:56.610 [error] Supervisor {<0.137.0>,poolboy_sup} had child
boss_session_controller started with
{boss_session_controller,start_link,undefined} at <0.313.0> exit with
reason call to undefined function crypto:rand_bytes(2048) in context
child_terminated
07:56:56.610 [error] Unhandled Error: exit:{{undef,
[{crypto,rand_bytes,[2048],[]},
{boss_session_controller,generate_session_id,0,
[{file,"src/boss/boss_session_controller.erl"},{line,90}]},
{boss_session_controller,handle_call,3,
[{file,"src/boss/boss_session_controller.erl"},{line,44}]},
{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,636}]},
{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,665}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]},
{gen_server,call,[<0.313.0>,{new_session,undefined}]}}
Stacktrace:
[{gen_server,call,2,[{file,"gen_server.erl"},{line,206}]},{boss_pool,call,2,[{file,"src/boss_pool.erl"},{line,6}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,262}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,256}]},{boss_web_controller_handle_request,process_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,247}]},{timer,tc,3,[{file,"timer.erl"},{line,197}]},{boss_web_controller_handle_request,build_dynamic_response,4,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,136}]},{boss_web_controller_handle_request,handle_request,2,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,35}]}]
#######################
I installed version 20.0 OTP using kerl and the only dependency I didn't
resolve was the ability to bind to wxWidgets.
My openssl version:
#apt-cache policy openssl
openssl:
Installed: 1.0.1f-1ubuntu2.22
Candidate: 1.0.1f-1ubuntu2.22
Thanks and regards,
Greg Martin