TFS Through Load Balancer - Login Prompts

独自空忆成欢 提交于 2019-12-12 03:29:19

问题


We have set up a TFS 2012 Server on AWS and have implemented one of the newer Application Load Balancers in front of it. We did this to leverage the CName functionality and save on our Elastic IP Address allocation. This server is only for the internal team, but we were creating a public URL.

When logging into the server directly through the local IP, it prompts for un/password one time, when coming from external through the load balancer, every AJAX call gets prompted on the page, and you end up with numerous prompts. It seems to be a problem with the pass through authentication of the site. We've tried adjusting numerous things, and read several articles on how to configure TFS, but still can't figure out what setting we're missing.

Does this need to switch to a Classic? We are at the cap on our Elastic IPs, and I'd rather not request an extra, but if that's the only way I will. Any insight or items to check would be greatly appreciated.


回答1:


When you're using Elastic Load Balancer with "Windows Authentication", you need to configure your ELB's listener for "TCP", not "HTTP" or "HTTPS". Basically, ELB changes the authentication information that Windows does not like.

At this time, ALB cannot use "TCP" listeners.

Try using a classic ELB with a "TCP" listener instead.



来源:https://stackoverflow.com/questions/41000562/tfs-through-load-balancer-login-prompts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!