[99s-extend] ranch dispatch error ver 1.0.0

Loïc Hoguin essen at ninenines.eu
Mon Aug 4 18:49:32 CEST 2014


Surely there's something else that you're not showing there. For some 
reason you got a list of segments in the error, and we haven't had that 
for a very long time. Do you have an onrequest hook or middleware that 
does weird things perhaps?

On 08/04/2014 06:39 PM, Samir Sow wrote:
> Hi,
>
> I’ve moved a working http server to https.
> SSL handshaking is ok but i got the following Ranch error :
>
> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]}
>
> call is
>
> curl --cacert priv/cert/root.crt "https://www.oockit.com:7171/mtagw?
>
>
> dispatch is
>
> [{'_', [
>          {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}},
>          {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]},
> 	{"/mtagw", hck_mta, []}
>      ]}]).
>
>
> Any clue ?
>
> Thanks
>
> sincerely
>
> Samir
>
> _______________________________________________
> Extend mailing list
> Extend at lists.ninenines.eu
> https://lists.ninenines.eu/listinfo/extend
>

-- 
Loïc Hoguin
http://ninenines.eu


More information about the Extend mailing list