Closed Ozzadar closed 8 years ago
My feeling is that the ACL is blocking you. Is the protocol on that port HTTP? You might want to try a boolean ACL to say 'anything on this port goes to this backend, regardless of content'.
I don't have much experience with ACLs. Should I check for TCP and just not create the http side of things?
It looks like it tries to give it a TCP and an HTTP connection
I think setting the acl to -m bool true
should work. Not sure, never used a boolean ACL before.
Unfortunately, I don't know what you mean here. Do you mean
acl ::ozzadar-fnbcenre-minecraft-aclrule hdr(host) -i ozzadar-fnbcenre-minecraft.klouds.org -m bool true
?
I don't think that could be it because I'd have no idea what that would accomplish :(
(Ive been googling and trying things for an hour now and can't figure it out.)
I noticed the tcp backend is using 'listen' instead of 'backend' and that it's name "appname-cluster-tcp" is not referenced anywhere else in the template.
Like I said, these ACL rules are all kinds of confusing to me. =/
acl ::ozzadar-fnbcenre-minecraft-aclrule -m bool true
nope didn't work :( tried both with and without the -i
Try to remove the hdr(host), a TCP lb should just work with the BAMBOO_TCP_PORT, take look at the marathon config to check that you are using BRIDGED networking and letting marathon assign a random port. If you use HOST networking, mesos will assign a random port that will not be used ,but Bamboo will create the LB using that random ports (which are not really working).
Things to check:
If that doesn't work, can you access your app using the port assigned by marathon? (The link in the marathon task description).
Im trying to launch a tcp minecraft server and bamboo is either not routing properly or im accessing it wrong.
Here's the relevant parts of the Haproxy.cfg file being generated:
I've tried accessing from both ozzadar-fnbcenre-minecraft.klouds.org and ozzadar-fnbcenre-minecraft.klouds.org:1080
Any help appreciated, Thanks!
-Ozzadar