It is strange that after that compile i cant start in dev mode also and i
get this error in the attachment.
22 Nisan 2015 Çarşamba 20:46:43 UTC+3 tarihinde Jesse Gumm yazdı:
>
> Could try doing
>
> ./rebar boss c=compile
>
> And see if that helps.
>
> On Wed, Apr 22, 2015 at 6:14 AM, Mert Öztürk <[email protected]
> <javascript:>> wrote:
> > Hello,
> >
> > I set it up on my vps now. Everything works fine except production mode.
> > init-dev.sh works fine and connects to websocket but when i start cb in
> > production mode, it does not connect to the websocket and also it doesnt
> > give any error so icant track what the problem is.
> > I am sure that i ve done rebar get-deps compile about 4-5 times with
> also
> > rebar clean. But i couldnt figure out what the problem is :(
> > Can there be any other issue with the SSL and production mode?
> >
> > Thanks
> > Mert
> >
> > 22 Nisan 2015 Çarşamba 02:04:05 UTC+3 tarihinde Jesse Gumm yazdı:
> >>
> >> Exxxxxxxxxcelent!
> >>
> >> Glad we were able to get it going!
> >>
> >> -Jesse
> >>
> >> On Apr 21, 2015 5:53 PM, "Mert Öztürk" <[email protected]> wrote:
> >>>
> >>> Thanks Jesse. It worked.
> >>> I couldnt have done it for forever without your help :))
> >>>
> >>> Mert
> >>>
> >>> 22 Nisan 2015 Çarşamba 01:43:05 UTC+3 tarihinde Jesse Gumm yazdı:
> >>>>
> >>>> Oh you're going to want to remove the :8001 from the wss:// request.
> >>>> Since you're proxying the connection, you can use the default wss://
> port.
> >>>>
> >>>> On Apr 21, 2015 5:40 PM, "Mert Öztürk" <[email protected]> wrote:
> >>>>>
> >>>>> I made the diffrence you said and nginx restarted without fail. This
> is
> >>>>> the final modified location/
> >>>>>
> >>>>> location / {
> >>>>>
> >>>>> proxy_pass http://127.0.0.1:8001;
> >>>>> proxy_redirect off;
> >>>>> proxy_set_header Host $host;
> >>>>> proxy_set_header X-Real-IP $remote_addr;
> >>>>> proxy_set_header X-Forwarded-For
> >>>>> $proxy_add_x_forwarded_for;
> >>>>>
> >>>>> proxy_http_version 1.1;
> >>>>> proxy_set_header Upgrade $http_upgrade;
> >>>>> proxy_set_header Connection "upgrade";
> >>>>> }
> >>>>>
> >>>>> But unfortunately i get the same error on browser again as below :(
> >>>>>
> >>>>> WebSocket connection to 'wss://localhost:8001/websocket/ask_service'
> >>>>> failed: Error in connection establishment:
> net::ERR_CONNECTION_CLOSED
> >>>>>
> >>>>>
> >>>>> Mert
> >>>>>
> >>>>> 22 Nisan 2015 Çarşamba 01:34:39 UTC+3 tarihinde Jesse Gumm yazdı:
> >>>>>>
> >>>>>> Interesting, I'm not familiar with those errors, so I'd just google
> >>>>>> around to see what that means exactly.
> >>>>>>
> >>>>>> -Jesse
> >>>>>>
> >>>>>> On Tue, Apr 21, 2015 at 5:32 PM, Mert Öztürk <[email protected]>
>
> >>>>>> wrote:
> >>>>>> > Sorry. Here it is;
> >>>>>> >
> >>>>>> > nginx: [emerg] could not build the proxy_headers_hash, you should
> >>>>>> > increase
> >>>>>> > either proxy_headers_hash_max_size: 512 or
> >>>>>> > proxy_headers_hash_bucket_size:
> >>>>>> > 64
> >>>>>> >
> >>>>>> > 22 Nisan 2015 Çarşamba 01:30:54 UTC+3 tarihinde Jesse Gumm yazdı:
> >>>>>> >>
> >>>>>> >> Maybe it just doesn't like having the X-Forwarded-For header
> being
> >>>>>> >> set
> >>>>>> >> twice, you could remove one of them and see if that makes a
> >>>>>> >> difference.
> >>>>>> >>
> >>>>>> >> On Tue, Apr 21, 2015 at 5:29 PM, Jesse Gumm <
> [email protected]>
> >>>>>> >> wrote:
> >>>>>> >> > What does the nginx log file say when it fails. It should
> have
> >>>>>> >> > some
> >>>>>> >> > entry about why it's not restarting it.
> >>>>>> >> >
> >>>>>> >> > On Tue, Apr 21, 2015 at 5:23 PM, Mert Öztürk
> >>>>>> >> > <[email protected]>
> >>>>>> >> > wrote:
> >>>>>> >> >> Final default looks like this above but nginx is not
> restarting
> >>>>>> >> >> like
> >>>>>> >> >> this;
> >>>>>> >> >>
> >>>>>> >> >> location / {
> >>>>>> >> >>
> >>>>>> >> >> proxy_pass http://127.0.0.1:8001;
> >>>>>> >> >> proxy_redirect off;
> >>>>>> >> >> proxy_set_header Host $host;
> >>>>>> >> >> proxy_set_header X-Real-IP
> >>>>>> >> >> $remote_addr;
> >>>>>> >> >> proxy_set_header X-Forwarded-For
> >>>>>> >> >> $proxy_add_x_forwarded_for;
> >>>>>> >> >>
> >>>>>> >> >> proxy_http_version 1.1;
> >>>>>> >> >> proxy_set_header X-Forwarded-For $remote_addr;
> >>>>>> >> >> proxy_set_header Upgrade $http_upgrade;
> >>>>>> >> >> proxy_set_header Connection "upgrade";
> >>>>>> >> >> }
> >>>>>> >> >>
> >>>>>> >> >> Mert
> >>>>>> >> >>
> >>>>>> >> >> 22 Nisan 2015 Çarşamba 00:51:46 UTC+3 tarihinde Mert Öztürk
> >>>>>> >> >> yazdı:
> >>>>>> >> >>>
> >>>>>> >> >>> Hello,
> >>>>>> >> >>>
> >>>>>> >> >>> I set up my cb app under nginx on vps. It is working fine
> with
> >>>>>> >> >>> the
> >>>>>> >> >>> path i
> >>>>>> >> >>> followed from here:
> >>>>>> >> >>> https://github.com/ChicagoBoss/ChicagoBoss/wiki/Deploy
> >>>>>> >> >>> Now i am trying to set up ssl on nginx and try to establish
> >>>>>> >> >>> websocket
> >>>>>> >> >>> handshake between the cb app.
> >>>>>> >> >>> My nginx default file looks like below;
> >>>>>> >> >>>
> >>>>>> >> >>> server {
> >>>>>> >> >>> listen 80 default;
> >>>>>> >> >>> listen [::]:80 default_server ipv6only=on;
> >>>>>> >> >>>
> >>>>>> >> >>> listen 443 ssl;
> >>>>>> >> >>>
> >>>>>> >> >>> root /usr/share/nginx/html;
> >>>>>> >> >>> index index.html index.htm;
> >>>>>> >> >>>
> >>>>>> >> >>> # Make site accessible from http://localhost/
> >>>>>> >> >>> server_name localhost;
> >>>>>> >> >>>
> >>>>>> >> >>> ssl_certificate /etc/nginx/ssl/nginx.crt;
> >>>>>> >> >>> ssl_certificate_key /etc/nginx/ssl/nginx.key;
> >>>>>> >> >>>
> >>>>>> >> >>> location / {
> >>>>>> >> >>> proxy_pass http://127.0.0.1:8001;
> >>>>>> >> >>> proxy_redirect off;
> >>>>>> >> >>> proxy_set_header Host $host;
> >>>>>> >> >>> proxy_set_header X-Real-IP $remote_addr;
> >>>>>> >> >>> proxy_set_header X-Forwarded-For
> >>>>>> >> >>> $proxy_add_x_forwarded_for;
> >>>>>> >> >>> }
> >>>>>> >> >>>
> >>>>>> >> >>> When i start the application it gives me the error below;
> >>>>>> >> >>> [blocked] The page at 'https://localhost/' was loaded over
> >>>>>> >> >>> HTTPS, but
> >>>>>> >> >>> ran
> >>>>>> >> >>> insecure content from
> >>>>>> >> >>> 'ws://localhost:8001/websocket/ask_service':
> >>>>>> >> >>> this
> >>>>>> >> >>> content should also be loaded over HTTPS.
> >>>>>> >> >>> ask_something.js:53 Uncaught SecurityError: Failed to
> construct
> >>>>>> >> >>> 'WebSocket': An insecure WebSocket connection may not be
> >>>>>> >> >>> initiated
> >>>>>> >> >>> from a
> >>>>>> >> >>> page loaded over HTTPS.
> >>>>>> >> >>>
> >>>>>> >> >>> Then i change the line in js file from: wsHost =
> >>>>>> >> >>> "ws://localhost:8001/websocket/myWebsocket to wsHost =
> >>>>>> >> >>> "wss://localhost:8001/websocket/myWebsocket
> >>>>>> >> >>>
> >>>>>> >> >>> After this change, error message become like this;
> >>>>>> >> >>> WebSocket connection to
> >>>>>> >> >>> 'wss://localhost:8001/websocket/ask_service'
> >>>>>> >> >>> failed: Error in connection establishment:
> >>>>>> >> >>> net::ERR_CONNECTION_CLOSED
> >>>>>> >> >>>
> >>>>>> >> >>> (Also when i change {ssl_enable, true} in boss.config, app
> >>>>>> >> >>> crashes. My
> >>>>>> >> >>> app
> >>>>>> >> >>> is working with cowboy)
> >>>>>> >> >>>
> >>>>>> >> >>> Is there anyone who implemented ssl with a cb app working
> with
> >>>>>> >> >>> websocket
> >>>>>> >> >>> before?
> >>>>>> >> >>>
> >>>>>> >> >>>
> >>>>>> >> >>> Thanks
> >>>>>> >> >>> Mert
> >>>>>> >> >>
> >>>>>> >> >> --
> >>>>>> >> >> You received this message because you are subscribed to the
> >>>>>> >> >> Google
> >>>>>> >> >> Groups
> >>>>>> >> >> "ChicagoBoss" group.
> >>>>>> >> >> To unsubscribe from this group and stop receiving emails from
> >>>>>> >> >> it, send
> >>>>>> >> >> an
> >>>>>> >> >> email to [email protected].
> >>>>>> >> >> Visit this group at
> http://groups.google.com/group/chicagoboss.
> >>>>>> >> >> To view this discussion on the web visit
> >>>>>> >> >>
> >>>>>> >> >>
> >>>>>> >> >>
> https://groups.google.com/d/msgid/chicagoboss/5ae1739e-236e-4aeb-93fc-03cad7c232c8%40googlegroups.com.
>
>
> >>>>>> >> >>
> >>>>>> >> >> For more options, visit https://groups.google.com/d/optout.
> >>>>>> >> >
> >>>>>> >> >
> >>>>>> >> >
> >>>>>> >> > --
> >>>>>> >> > Jesse Gumm
> >>>>>> >> > Owner, Sigma Star Systems
> >>>>>> >> > 414.940.4866 || sigma-star.com || @jessegumm
> >>>>>> >>
> >>>>>> >>
> >>>>>> >>
> >>>>>> >> --
> >>>>>> >> Jesse Gumm
> >>>>>> >> Owner, Sigma Star Systems
> >>>>>> >> 414.940.4866 || sigma-star.com || @jessegumm
> >>>>>> >
> >>>>>> > --
> >>>>>> > You received this message because you are subscribed to the
> Google
> >>>>>> > Groups
> >>>>>> > "ChicagoBoss" group.
> >>>>>> > To unsubscribe from this group and stop receiving emails from it,
> >>>>>> > send an
> >>>>>> > email to [email protected].
> >>>>>> > Visit this group at http://groups.google.com/group/chicagoboss.
> >>>>>> > To view this discussion on the web visit
> >>>>>> >
> >>>>>> >
> https://groups.google.com/d/msgid/chicagoboss/598daf32-74e7-4712-ab53-7b7507c943fb%40googlegroups.com.
>
>
> >>>>>> >
> >>>>>> > For more options, visit https://groups.google.com/d/optout.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Jesse Gumm
> >>>>>> Owner, Sigma Star Systems
> >>>>>> 414.940.4866 || sigma-star.com || @jessegumm
> >>>>>
> >>>>> --
> >>>>> You received this message because you are subscribed to the Google
> >>>>> Groups "ChicagoBoss" group.
> >>>>> To unsubscribe from this group and stop receiving emails from it,
> send
> >>>>> an email to [email protected].
> >>>>> Visit this group at http://groups.google.com/group/chicagoboss.
> >>>>> To view this discussion on the web visit
> >>>>>
> https://groups.google.com/d/msgid/chicagoboss/29482e39-5bc2-41cd-92e9-347fc711d023%40googlegroups.com.
>
>
> >>>>> For more options, visit https://groups.google.com/d/optout.
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google
> Groups
> >>> "ChicagoBoss" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> an
> >>> email to [email protected].
> >>> Visit this group at http://groups.google.com/group/chicagoboss.
> >>> To view this discussion on the web visit
> >>>
> https://groups.google.com/d/msgid/chicagoboss/ba32ab27-cc3b-4ab2-81c0-c991ebcef4cc%40googlegroups.com.
>
>
> >>> For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "ChicagoBoss" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an
> > email to [email protected] <javascript:>.
> > Visit this group at http://groups.google.com/group/chicagoboss.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/chicagoboss/3fa7a87d-d930-4257-8cbc-45ba037bb5f7%40googlegroups.com.
>
>
> >
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Jesse Gumm
> Owner, Sigma Star Systems
> 414.940.4866 || sigma-star.com || @jessegumm
>
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/f8c77236-5e4e-4d7b-a1d5-b51e4453bf9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
** Stacktrace:
[{asksomething_ask_service_websocket,module_info,[exports],[]},{boss_service_worker,apply_function_with_default,4,[{file,"src/boss/boss_service_worker.erl"},{line,292}]},{boss_service_worker,init,1,[{file,"src/boss/boss_service_worker.erl"},{line,79}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]
14:41:36.037 [error] CRASH REPORT Process <0.303.0> with 0 neighbours exited
with reason: bad return value: ok in gen_server:init_it/6 line 334
14:41:36.039 [error] gen_server boss_web terminated with reason: no match of
right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.039 [error] CRASH REPORT Process boss_web with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.041 [error] Supervisor boss_sup had child boss_web_controller started
with boss_web_controller:start_link([{ip,"0.0.0.0"},{port,8001}]) at <0.95.0>
exit with reason no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in context
child_terminated
14:41:36.041 [error] gen_server boss_db_sup terminated with reason: no match of
right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.042 [error] CRASH REPORT Process boss_db_sup with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.043 [error] gen_server boss_db_mock_sup terminated with reason: no
match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.043 [error] CRASH REPORT Process <0.96.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.043 [error] gen_server boss_session_mock_sup terminated with reason:
no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.044 [error] CRASH REPORT Process <0.142.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.044 [error] gen_server boss_mq_sup terminated with reason: no match of
right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.045 [error] CRASH REPORT Process <0.167.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.045 [error] gen_server boss_session_sup terminated with reason: no
match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.046 [error] CRASH REPORT Process boss_session_sup with 0 neighbours
exited with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.046 [error] gen_server boss_cache_sup terminated with reason: no match
of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.047 [error] CRASH REPORT Process boss_cache_sup with 0 neighbours
exited with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.047 [error] gen_server boss_mail_sup terminated with reason: no match
of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.047 [error] CRASH REPORT Process boss_mail_sup with 0 neighbours
exited with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.048 [error] gen_server <0.299.0> terminated with reason: no match of
right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.048 [error] CRASH REPORT Process <0.299.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.048 [error] gen_server <0.296.0> terminated with reason: no match of
right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.049 [error] CRASH REPORT Process <0.296.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.049 [error] gen_server boss_service_sup terminated with reason: no
match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.049 [error] CRASH REPORT Process <0.179.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.050 [error] gen_server boss_news_sup terminated with reason: no match
of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65
14:41:36.050 [error] CRASH REPORT Process <0.175.0> with 0 neighbours exited
with reason: no match of right hand value
{error,{{bad_return_value,ok},{child,undefined,asksomething_ask_service_websocket,{boss_service_worker,start_link,[asksomething_ask_service_websocket,<<"/websocket/ask_service">>]},permanent,5000,worker,[asksomething_ask_service_websocket]}}}
in boss_service_sup:'-start_services/2-fun-0-'/3 line 65 in
gen_server:terminate/7 line 804
14:41:36.050 [error] Supervisor {<0.146.0>,poolboy_sup} had child
boss_session_controller started with
boss_session_controller:start_link([{name,{local,boss_session_pool}},{worker_module,boss_session_controller},{size,20},{max_overflow,...},...])
at undefined exit with reason shutdown in context shutdown_error
14:41:36.051 [error] Supervisor {<0.121.0>,poolboy_sup} had child
boss_cache_controller started with
boss_cache_controller:start_link([{name,{local,boss_cache_pool}},{worker_module,boss_cache_controller},{size,20},{max_overflow,40},...])
at undefined exit with reason shutdown in context shutdown_error
14:41:36.090 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.099 [info] Starting Boss in development mode....
14:41:36.099 [error] CRASH REPORT Process <0.320.0> with 0 neighbours crashed
with reason: bad argument in call to erlang:register(erlmc, <0.320.0>) in
erlmc:init/2 line 222
14:41:36.100 [error] CRASH REPORT Process <0.304.0> with 0 neighbours exited
with reason: no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in gen_server:init_it/6 line
330
14:41:36.100 [error] Supervisor boss_sup had child boss_web_controller started
with boss_web_controller:start_link([{ip,"0.0.0.0"},{port,8001}]) at <0.95.0>
exit with reason no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in context start_error
14:41:36.100 [error] gen_server boss_db_sup terminated with reason: no match of
right hand value {error,badarg} in boss_cache_adapter_memcached_bin:start/1
line 12
14:41:36.100 [error] CRASH REPORT Process boss_db_sup with 0 neighbours exited
with reason: no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in gen_server:terminate/7 line
804
14:41:36.100 [error] gen_server boss_db_mock_sup terminated with reason: no
match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12
14:41:36.100 [error] CRASH REPORT Process <0.305.0> with 0 neighbours exited
with reason: no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in gen_server:terminate/7 line
804
14:41:36.115 [info] Starting Boss in development mode....
14:41:36.115 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.118 [error] CRASH REPORT Process <0.338.0> with 0 neighbours crashed
with reason: bad argument in call to erlang:register(erlmc, <0.338.0>) in
erlmc:init/2 line 222
14:41:36.119 [error] CRASH REPORT Process <0.322.0> with 0 neighbours exited
with reason: no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in gen_server:init_it/6 line
330
14:41:36.119 [error] Supervisor boss_sup had child boss_web_controller started
with boss_web_controller:start_link([{ip,"0.0.0.0"},{port,8001}]) at
{restarting,<0.95.0>} exit with reason no match of right hand value
{error,badarg} in boss_cache_adapter_memcached_bin:start/1 line 12 in context
start_error
14:41:36.119 [error] gen_server boss_db_sup terminated with reason: no match of
right hand value {error,badarg} in boss_cache_adapter_memcached_bin:start/1
line 12
14:41:36.120 [error] CRASH REPORT Process boss_db_sup with 0 neighbours exited
with reason: no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in gen_server:terminate/7 line
804
14:41:36.120 [error] gen_server boss_db_mock_sup terminated with reason: no
match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12
14:41:36.120 [error] CRASH REPORT Process <0.323.0> with 0 neighbours exited
with reason: no match of right hand value {error,badarg} in
boss_cache_adapter_memcached_bin:start/1 line 12 in gen_server:terminate/7 line
804
14:41:36.136 [info] Starting Boss in development mode....
14:41:36.136 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.148 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.159 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.169 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.180 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.191 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.203 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]
14:41:36.214 [info] Start Database Adapter boss_db_adapter_mock options
[{adapter,mock},{cache_enable,false},{cache_prefix,db},{shards,[[{db_host,"localhost"},{db_adapter,mongodb},{db_port,27017},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database"},{db_shard_id,asksomething},{db_shard_models,[saved_client]}],[{db_host,"localhost"},{db_adapter,mock},{db_port,1978},{db_write_mode,safe},{db_read_mode,master},{db_name,"ask_database2"},{db_shard_id,asksomething2},{db_shard_models,[ip_database]}]]},{is_master_node,true}]