-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime error #93
Comments
Hello @ssow |
Hello @michalslaski I've installed the complete esl-erlang.x86_64 (21.3.7-1) package, which includes crypto-4.4.2. |
@ssow OTP 20 removed the previously deprecated crypto:sha/1 function in favour of crypto:hash/2. It seems this project deserves an upgrade of the underlying cowboy library and a new release :) Thanks so much for reporting the issue, which somehow went unnoticed for a long time! |
You're welcome. Thank you |
Hi,
I'm facing a runtime error related to the websocket component.
Error in process <0.226.0> on node 'erlangpl@127.0.0.1' with exit value:
{undef,[{crypto,sha,
[<<"DhX4I0c+u60EPDe8ETlV2w==258EAFA5-E914-47DA-95CA-C5AB0DC85B11">>],
[]},
{cowboy_websocket,websocket_handshake,3,
[{file,"src/cowboy_websocket.erl"},{line,142}]},
{cowboy_protocol,execute,4,
[{file,"src/cowboy_protocol.erl"},{line,522}]}]}
For your information, the node running on centos 7 with erlang/OTP 21
I've tried to recompile the tool but it fails with the following error 👍 error
/production/factory/erlangpl/node_modules/elm-format: Command failed.
Exit signal: SIGABRT
Command: binwrap-install
Arguments:
Directory: /production/factory/erlangpl/node_modules/elm-format
Output:
/usr/bin/node[1466]: ../src/node_contextify.cc:626:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfov8::Value&): Assertion `args[1]->IsString()' failed.
1: 0x8dc510 node::Abort() [/usr/bin/node]
2: 0x8dc5e5 [/usr/bin/node]
3: 0x91081e node::contextify::ContextifyScript::New(v8::FunctionCallbackInfov8::Value const&) [/usr/bin/node]
4: 0xb6166b [/usr/bin/node]
5: 0xb63602 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
Any suggestion appreciated.
Thank you
The text was updated successfully, but these errors were encountered: