MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
633 stars 282 forks source link

Webservice behind a load balancer can cause connection issues #195

Open Alslinet opened 4 years ago

Alslinet commented 4 years ago

So we tried to put the Webservice behind a load balancer to make HTTPS sligtly easier. And the Webservice is returning the wrong address. Basically it should be https://loadbalancedaddress/..., but it Returns http://loadbalancedaddress:portnumber/… This causes a Connection error in the script. I noticed this by testing the Webservice using SoapUI where it seemed to work without problems. But i did notice the wrong address being returned. Current workaround we are using is just adding a $WebService.URL = "CORRECTADDRESS" to the script. Im still verifying if this is a Webservice problem or a, im an idiot that has configured something wrong problem. But i thought i would let you know regardless.