[99s-extend] Fwd: ranch dispatch error ver 1.0.0

Samir Sow samset at wanadoo.fr
Mon Aug 4 20:25:25 CEST 2014


I found my mistake.

I’ve a typo error - used a token instead of a function call in the dispatch object.
I apologize for the disturbance.

Thank you.

Sincerely

Samir

Begin forwarded message:

> From: Samir Sow <samset at wanadoo.fr>
> Subject: Re: [99s-extend] ranch dispatch error ver 1.0.0
> Date: 4 août 2014 20:16:06 UTC+2
> To: Loïc Hoguin <essen at ninenines.eu>
> Cc: extend at lists.ninenines.eu
> 
> I can assure you it’s the only one :)
> 
> Samir
> 
> On 4 août 2014, at 19:59, Loïc Hoguin <essen at ninenines.eu> wrote:
> 
>> I'm saying it can't be the only difference.
>> 
>> On 08/04/2014 07:50 PM, Samir Sow wrote:
>>> I’m not sure i understand your question.
>>> 
>>> I’ve only started a cowboy https server with a handler.
>>> The http version was working fine.
>>> 
>>> Sincerely
>>> 
>>> Samir
>>> 
>>> On 4 août 2014, at 18:49, Loïc Hoguin <essen at ninenines.eu> wrote:
>>> 
>>>> 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
>>> 
>> 
>> -- 
>> Loïc Hoguin
>> http://ninenines.eu
> 



More information about the Extend mailing list