[99s-extend] cowboy websocket example runtime error

Samir Sow samset at wanadoo.fr
Thu Mar 19 18:31:23 CET 2015


Manually from the application root dir.
with exec erl <paths> 
Then starting all required applications 

Not very clever i admit but could not print debug info with _rel/bin/websocket 

Samir


> On 19 mars 2015, at 18:10, Loïc Hoguin <essen at ninenines.eu> wrote:
> 
> How do you run it?
> 
> On 03/19/2015 06:08 PM, Samir Sow wrote:
>> Hi there,
>> 
>> I would appreciate your help to understand the following error when running the websocket example.
>> 
>> Context is :
>> 
>> ERL 17
>> Cowboy 2.0.0-pre (master)
>> no source modification
>> 
>> 
>> =ERROR REPORT==== 19-Mar-2015::18:04:36 ===
>> Error in process <0.160.0> with exit value: {[{reason,{badarg,"Can't resolve the priv_dir of application websocket"}},{mfa,{cowboy_static,init,2}},{stacktrace,[{cowboy_static,priv_path,2,[{file,"src/cowboy_static.erl"},{line,66}]},{cowboy_static,init_opts,2,[{file…
>> 
>> Thank you.
>> 
>> 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