-
Notifications
You must be signed in to change notification settings - Fork 232
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
Using ice4j behind NLB in a VPC at AWS (Kubernetes) #204
Comments
Thank you for the kind words!
No, but it should be easy to add a new |
Thanks for your quick answer @bgrozev ! The TTL for the DNS in the ALB is 60 seconds. This is to quickly react to changes in the traffic. |
You could have a timer running rediscovery every minute |
I'm not really a java programmer. I can see the Stun harvester is done here: Could you point me in the right direction? |
All mapping harvesters are initialized here: |
Thanks @bgrozev . Will try to implement it and make a PR. Should I send it to you? |
Just open it here and we'll take a look |
@bgrozev , we're still working on this and researching our options. Question, can I add multiple IP addresses here:
|
@bgrozev, I don't think we are going to need this. At least not for the time being. We found a different way to do it. You can see it here. We are still figuring how to make this more resilient to changes in the NLB. But maybe using (in our specific case) octo for Jitsi will help us to restart the video bridges without loosing the whole conference. However, we will still be willing to write our own harvester in the future. But for the time being, this seems to be good enough four our use case. I will not close the issue, but if you feel is better to, feel free to do it. Thank you so much for your hard work! |
@bgrozev , so after a few months more testing and working to do our release, we are in the staging phase. And it seems we might need to do this in the end. Has it been any work on your side? We are looking into how to fix this (either by adding this code here or doing it externally) |
@citosid there's been no work on this from our side. |
Ok. Will keep looking into it and will let you know. Thank you so much!!! |
@citosid What about if we made it possible to specify a DNS name for |
First of all, thank you so much for this awesome work! it has been really nice working with this tool.
We have a problem though. Our infrastructure runs behind an Application Load Balancer inside a VPC in a Kubernetes cluster. The VPC has an external IP.
The requests are something like this:
The discovery from the pod to find the external IP works, as can be seen from the logs:
However, as mentioned before, the IPs the user is hitting, are the IP's from the ALB. And those are different from the one the pod is using to go to internet.
We cannot "hard-code" the IPs of the ALB in the configuration because those are elastic. AWS will change them as the load in our system increases or decreases.
And the IP of the ENI does not allow access from the outside, is just from within the VPC out.
Is there any way to use the DNS name to do the discovery?
Thank you for your time and hard work!
The text was updated successfully, but these errors were encountered: