Elixir error

Hello All,

I need your assistance to fix an error I am currently having trying to run one of my Elixir applications.
Please find error below:

Function: request_process/3
===> Compiling src/cowboy_stream_h.erl failed
src/cowboy_stream_h.erl:none: internal error in sys_core_dsetel;
crash reason: {case_clause,
{‘EXIT’,
{{case_clause,
#{0 => 1,1 => 1,2 => 1,4 => 1,5 => 1,6 => 1,10 => 0,
‘Reason’ => 1}},
[{sys_core_dsetel,visit,2,[{file,“sys_core_dsetel.erl”},{line,98}]},
{lists,mapfoldl,3,[{file,“lists.erl”},{line,1354}]},
{lists,mapfoldl,3,[{file,“lists.erl”},{line,1355}]},
{sys_core_dsetel,visit,2,[{file,“sys_core_dsetel.erl”},{line,188}]},
{lists,mapfoldl,3,[{file,“lists.erl”},{line,1354}]},
{lists,mapfoldl,3,[{file,“lists.erl”},{line,1355}]},
{sys_core_dsetel,visit,2,[{file,“sys_core_dsetel.erl”},{line,188}]},
{sys_core_dsetel,visit,2,
[{file,“sys_core_dsetel.erl”},{line,144}]}]}}}

in function compile:’-select_passes/2-anonymous-2-’/3 (compile.erl, line 585)
in call from compile:’-internal_comp/5-anonymous-1-’/3 (compile.erl, line 349)
in call from compile:fold_comp/4 (compile.erl, line 376)
in call from compile:internal_comp/5 (compile.erl, line 360)
in call from compile:’-do_compile/2-anonymous-0-’/2 (compile.erl, line 177)
in call from compile:’-do_compile/2-anonymous-1-’/1 (compile.erl, line 190)

** (Mix) Could not compile dependency :cowboy, “/home/user/.mix/rebar3 bare compile --paths “/app_path/_build/dev/lib/*/ebin”” command failed. You can recompile this dependency with “mix deps.compile cowboy”, update it with “mix deps.update cowboy” or clean it with “mix deps.clean cowboy”

Any help would be most appreciated.

Thanks.

Jerry

Check this thread:

@AstonJ Looks like that both threads have exactly same problem. There is no option to mark thread as duplicate of another one like on sites for managing bug reports. Should this be flagged? The only option I can see is Something Else. Maybe those threads should be merged?

2 Likes

Thanks very much, @Eiji

The issue has to do with Cowboy 2.8.

I downgraded and it’s working fine now.

Jerry

1 Like