SOLVED
Home

Skype for Business and proxy.pac file serious bug causes slow login

%3CLINGO-SUB%20id%3D%22lingo-sub-193938%22%20slang%3D%22en-US%22%3ESkype%20for%20Business%20and%20proxy.pac%20file%20serious%20bug%20causes%20slow%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-193938%22%20slang%3D%22en-US%22%3EHello%20and%20glad%20to%20be%20a%20member%20of%20this%20community!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20found%20a%20rather%20serious%20and%20annoying%20bug%20in%20SfB%201708%20(and%20possibly%20any%20other%20version)%20and%20have%20also%20opened%20a%20case%20with%20Microsoft%20for%20this%20but%20I%20believe%20that%20I%20also%20need%20to%20report%20here.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20if%20a%20Windows%207%20x64%20%2F%20Office%20ProPlus%20x86%20system%20is%20configured%20to%20use%20a%20proxy%20auto%20configuration%20file%20(wpad.dat%2Cproxy.pac)%20fetched%20via%20an%20http%20request%20the%20file%20is%20directly%20used%20by%20SfB%20and%20follows%20the%20rules%20inside%20the%20file%20BUT!%3CBR%20%2F%3E%3CBR%20%2F%3ETakes%2010%20minutes%20to%20Sign%20In%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20this%20is%20due%20to%20some%20specific%20rules%20in%20the%20proxy.pac%20file%20that%20if%20removed%2C%20resolve%20the%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20someone%20wants%20to%20try%20to%20reproduce%20it%E2%80%99s%20as%20easy%20as%20Creating%20a%20pac%20file%20with%20the%20below%20and%20publishing%20on%20a%20web%20server%20then%20setting%20Internet%20Explorer%20to%20use%20that%20file.%3CBR%20%2F%3E%3CBR%20%2F%3Efunction%20FindProxyForURL(url%2C%20host)%20%7B%3CBR%20%2F%3Eif%20(isResolvable(host))%3CBR%20%2F%3Ereturn%20%22DIRECT%22%3B%3CBR%20%2F%3Eelse%3CBR%20%2F%3Ereturn%20%22DIRECT%22%3B%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20seen%20above%2C%20this%20directive%20will%20in%20essence%20never%20direct%20SfB%20to%20use%20a%20proxy.%20It%E2%80%99s%20just%20a%20plain%20Dirext%20connection.%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20try%20to%20Sign%20In%20with%20SfB%20and%20see%20the%20huge%20delay!%3CBR%20%2F%3E%3CBR%20%2F%3EUnfortunately%20there%20is%20no%20way%20to%20direct%20SfB%20to%20another%20proxy%20file%20as%20it%20follows%20the%20system%20configuration%20so%20I%20wish%20there%20was%20an%20option%20to%20configure%20it%20with%20different%20settings%20than%20the%20rest%20of%20the%20OS.%3CBR%20%2F%3E%3CBR%20%2F%3EAlex%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-193938%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDesktop%20Client%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPerformance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESign-in%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-194420%22%20slang%3D%22en-US%22%3ERe%3A%20Skype%20for%20Business%20and%20proxy.pac%20file%20serious%20bug%20causes%20slow%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-194420%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20solution%20that%20I%20implemented%20and%20works%20is%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fuclobby%2F2016%2F08%2F04%2Flyncsfb-client-tries-to-use-proxy-server-instead-of-direct-connection-when-using-proxy-pac%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fuclobby%2F2016%2F08%2F04%2Flyncsfb-client-tries-to-use-proxy-server-instead-of-direct-connection-when-using-proxy-pac%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEssentially%20there%20is%20a%20parsing%20issue%20when%20Windows%207%20are%20used.%20This%20shouldn't%20appear%20with%20Windows%2010.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%3C%2FP%3E%3CP%3EAlex%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-194271%22%20slang%3D%22en-US%22%3ERe%3A%20Skype%20for%20Business%20and%20proxy.pac%20file%20serious%20bug%20causes%20slow%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-194271%22%20slang%3D%22en-US%22%3EI%20found%20some%20possibly%20relevant%20information%20here%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3207112%2Fskype-for-business-should-use-proxy-server-to-sign-in-instead-of-tryi%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3207112%2Fskype-for-business-should-use-proxy-server-to-sign-in-instead-of-tryi%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAlthough%20this%20is%20not%20describing%20the%20same%20issue%2C%20I%20will%20give%20it%20a%20try.%3C%2FLINGO-BODY%3E
Highlighted
Alexander Kanakaris
New Contributor
Hello and glad to be a member of this community!

I have found a rather serious and annoying bug in SfB 1708 (and possibly any other version) and have also opened a case with Microsoft for this but I believe that I also need to report here.

So, if a Windows 7 x64 / Office ProPlus x86 system is configured to use a proxy auto configuration file (wpad.dat,proxy.pac) fetched via an http request the file is directly used by SfB and follows the rules inside the file BUT!

Takes 10 minutes to Sign In

And this is due to some specific rules in the proxy.pac file that if removed, resolve the issue.

If someone wants to try to reproduce it’s as easy as Creating a pac file with the below and publishing on a web server then setting Internet Explorer to use that file.

function FindProxyForURL(url, host) {
if (isResolvable(host))
return "DIRECT";
else
return "DIRECT";
}

As seen above, this directive will in essence never direct SfB to use a proxy. It’s just a plain Dirext connection.

Then try to Sign In with SfB and see the huge delay!

Unfortunately there is no way to direct SfB to another proxy file as it follows the system configuration so I wish there was an option to configure it with different settings than the rest of the OS.

Alex

2 Replies
I found some possibly relevant information here:

https://support.microsoft.com/en-us/help/3207112/skype-for-business-should-use-proxy-server-to-sign-...

Although this is not describing the same issue, I will give it a try.
Solution

The solution that I implemented and works is below:

 

https://blogs.technet.microsoft.com/uclobby/2016/08/04/lyncsfb-client-tries-to-use-proxy-server-inst...

 

Essentially there is a parsing issue when Windows 7 are used. This shouldn't appear with Windows 10.

 

 

-

Alex