Skip to content
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

Crashing aesophia_http_api_validate:json_spec #94

Open
dincho opened this issue Jul 18, 2022 · 0 comments
Open

Crashing aesophia_http_api_validate:json_spec #94

dincho opened this issue Jul 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dincho
Copy link
Member

dincho commented Jul 18, 2022

2022-07-18 12:41:12=CRASH REPORT==== 18-Jul-2022::09:41:11.758997 ===
2022-07-18 12:41:12 crasher:
2022-07-18 12:41:12 initial call: cowboy_stream_h:request_process/3
2022-07-18 12:41:12 pid: <0.1482.4>
2022-07-18 12:41:12 registered_name: []
2022-07-18 12:41:12 exception error: no match of right hand side value {error,emfile}
2022-07-18 12:41:12 in function aesophia_http_api_validate:json_spec/0 (/app/apps/aesophia_http/src/aesophia_http_api_validate.erl, line 12)
2022-07-18 12:41:12 in call from aesophia_http_handler:init/2 (/app/apps/aesophia_http/src/aesophia_http_handler.erl, line 15)
2022-07-18 12:41:12 in call from cowboy_handler:execute/2 (/app/_build/default/lib/cowboy/src/cowboy_handler.erl, line 37)
2022-07-18 12:41:12 in call from cowboy_stream_h:execute/3 (/app/_build/default/lib/cowboy/src/cowboy_stream_h.erl, line 249)
2022-07-18 12:41:12 in call from cowboy_stream_h:request_process/3 (/app/_build/default/lib/cowboy/src/cowboy_stream_h.erl, line 227)
2022-07-18 12:41:12 ancestors: [<0.1472.4>,<0.610.0>,<0.609.0>,ranch_sup,<0.594.0>]
2022-07-18 12:41:12=ERROR REPORT==== 18-Jul-2022::09:41:11.821732 ===
Ranch listener http, connection process <0.1469.4>, stream 1 had its request process <0.1479.4> exit with reason {badmatch,{error,emfile}} and stacktrace [{aesophia_http_api_validate,json_spec,0,[{file,"/app/apps/aesophia_http/src/aesophia_http_api_validate.erl"},{line,12}]},{aesophia_http_handler,init,2,[{file,"/app/apps/aesophia_http/src/aesophia_http_handler.erl"},{line,15}]},{cowboy_handler,execute,2,[{file,"/app/_build/default/lib/cowboy/src/cowboy_handler.erl"},{line,37}]},{cowboy_stream_h,execute,3,[{file,"/app/_build/default/lib/cowboy/src/cowboy_stream_h.erl"},{line,249}]},{cowboy_stream_h,request_process,3,[{file,"/app/_build/default/lib/cowboy/src/cowboy_stream_h.erl"},{line,227}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]
Ranch listener http, connection process <0.1469.4>, stream 1 had its request process <0.1479.4> exit with reason {badmatch,{error,emfile}} and stacktrace [{aesophia_http_api_validate,json_spec,0,[{file,"/app/apps/aesophia_http/src/aesophia_http_api_validate.erl"},{line,12}]},{aesophia_http_handler,init,2,[{file,"/app/apps/aesophia_http/src/aesophia_http_handler.erl"},{line,15}]},{cowboy_handler,execute,2,[{file,"/app/_build/default/lib/cowboy/src/cowboy_handler.erl"},{line,37}]},{cowboy_stream_h,execute,3,[{file,"/app/_build/default/lib/cowboy/src/cowboy_stream_h.erl"},{line,249}]},{cowboy_stream_h,request_process,3,[{file,"/app/_build/default/lib/cowboy/src/cowboy_stream_h.erl"},{line,227}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]

Version: 6.1.0, unknown request

@dincho dincho added the bug Something isn't working label Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant