-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mostly cowboy issues #52
Conversation
danikp
commented
Sep 23, 2015
- 'address' setting has been actually ignored for cowboy and server started on all IPs available in any case.
- ranch accept IP only as tuple, so convert them to such before passing to ranch.
- allow passing IP as a tuple (for all webservers)
- start cowboy correctly (fixes problem described in upgrade to Simple Bridge v2 ChicagoBoss/ChicagoBoss#614)
'address' setting has ben actually ignored for cowboy and server started on all IPs available in any case. Also, ranch accept IP only as tuple, so convert them to such before passing to ranch.
only once fixes problem described in ChicagoBoss/ChicagoBoss#614
Thanks. Ya know? I used to start cowboy the way you're doing here (eeb327c), but I wanted it running under supervision. Given that I don't know why cowboy doesn't like being run under this supervision, and that this worked just fine before, I'll merge it in. Also, thanks for fixing the IP thing, I didn't even realize I was binding all open IPs. |
It took some time to understand why it drops error ... no match of right hand value {error,eaddrinuse} in ranch_acceptors_sup:init/1 l..., but I guess problem should be at startup and was right. |
I did it like that for both cowboy and for webmachine ( -Jesse On Wed, Sep 23, 2015 at 2:48 PM, Dmitry Polyanovsky <
Jesse Gumm |
ok, understood. I will wait until you decide to merge it (or fix the issue in other way), keeping in mind it's only thing preventing SB upgrade in CB |
Remove cowboy from simple_bridge supervision. Also fix issues with IPs not allowing tuples.