Last active
October 20, 2020 12:55
-
-
Save pierot/3a7fc1c6ecbae3c3ba82cb2b30c35251 to your computer and use it in GitHub Desktop.
Cowboy error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ranch listener AppWeb.Endpoint.HTTP had connection process started with :cowboy_clear:start_link/4 at #PID<0.31303.0> exit with reason: | |
{ | |
:function_clause, | |
[ | |
{ | |
:cowboy_http, | |
:commands, | |
[ | |
{ | |
:state, | |
#PID<0.3014.0>, | |
AppWeb.Endpoint.HTTP, #Port<0.16609>, | |
:ranch_tcp, | |
:undefined, | |
%{ | |
compress: true, | |
env: %{ | |
dispatch: [ | |
{:_, [], [ | |
{:_, [], Phoenix.Endpoint.Cowboy2Handler, {AppWeb.Endpoint, []}}]} | |
] | |
}, | |
idle_timeout: 300000, | |
max_header_value_length: 8096, | |
stream_handlers: [:cowboy_compress_h, :cowboy_telemetry_h, :cowboy_stream_h] | |
}, | |
"", | |
%{}, | |
{ {182, 19, 0, 4}, 36160 }, | |
{ {182, 19, 0, 3}, 5050 }, | |
:undefined, | |
#Reference<0.113077775.3470000130.122366>, | |
true, | |
2, | |
{ :ps_request_line, 0 }, | |
:infinity, | |
1, | |
:done, | |
1000, | |
[ | |
{ | |
:stream, | |
1, | |
{ | |
:cowboy_compress_h, | |
{ | |
:state, | |
{ | |
:cowboy_telemetry_h, | |
{ | |
:state, | |
{ | |
:cowboy_stream_h, | |
{ | |
:state, | |
:undefined, | |
AppWeb.Endpoint.HTTP, | |
#PID<0.31304.0>, | |
:undefined, | |
#PID<0.31304.0>, | |
:undefined, | |
:undefined, | |
... | |
} | |
}, | |
#Function<0.92072130/1 in :cowboy_telemetry_h.add_metrics_callback/1>, | |
:undefined, | |
%{ | |
body_length: 426168, | |
cert: :undefined, | |
has_body: true, | |
headers: %{ | |
"accept" => "application/json", | |
"accept-encoding" => "gzip", | |
"accept-language" => | |
"nl-be", | |
... | |
}, | |
host: "app.com", | |
method: "PUT", | |
path: "/api/files", | |
... | |
}, | |
"200 OK", | |
%{ | |
"access-control-allow-credentials" => "true", | |
"access-control-allow-origin" => "https://app.com", | |
"access-control-expose-headers" => "", | |
"cache-control" => "max-age=0, private, must-revalidate", | |
"content-length" => "675", | |
... | |
}, | |
AppWeb.Endpoint.HTTP, | |
-576444645116602572, | |
:undefined, | |
-576444645116558857, | |
-576444645106074131, | |
... | |
} | |
}, | |
300, | |
:gzip, | |
:undefined, | |
:sync | |
} | |
}, | |
"PUT", | |
:"HTTP/1.1", | |
:undefined, | |
:undefined, | |
0, | |
[] | |
} | |
], | |
[ | |
{:child, #PID<0.31304.0>, 1, 5000, :undefined} | |
] | |
}, | |
1, | |
[ | |
{ | |
:response, | |
"200 OK", | |
%{ | |
"access-control-allow-credentials" => "true", | |
"access-control-allow-origin" => "https://app.com", | |
"access-control-expose-headers" => "", | |
"cache-control" => "max-age=0, private, must-revalidate", | |
"content-encoding" => "gzip", | |
"content-length" => "424", | |
"content-type" => "application/json; charset=utf-8", | |
"date" => "Mon, 19 Oct 2020 20:16:21 GMT", | |
"server" => "Cowboy", | |
"vary" => ["Origin", ", accept-encoding"], | |
"x-request-id" => "Fj9-C-lk3rIUDZ0AAV3y" | |
}, | |
[<<31, 139, 8, 0, 0, 0, 0, 0, 0, 3, 173, 81, 219, 110, 219, 48, 12, 253, 149, 192, 64, 247, 84, 201, 186, 88, 137, 29, 192, 24, 140, 118, 107, 186, 97, ...>>] | |
} | |
] | |
], | |
[ file: '/builds/company/app/app/deps/cowboy/src/cowboy_http.erl', line: 954 ] | |
}, | |
{ | |
:cowboy_http, | |
:loop, | |
1, | |
[ file: '/builds/company/app/app/deps/cowboy/src/cowboy_http.erl', line: 254 ] | |
}, | |
{ | |
:proc_lib, | |
:init_p_do_apply, | |
3, | |
[ file: 'proc_lib.erl', line: 226 ] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment