c# - Unable to get Proxy-Authorization Header as HTTP response during Squid proxy Authentication -


i trying access service bus via squid3 webproxy basic authentication enabled in proxy using c#

i using below code set web proxy

webproxy webproxy = new webproxy("http://weproxyuri:port", false); webproxy.credentials = new networkcredential("username", "password","domain"); webrequest.defaultwebproxy = webproxy 

i using below code access service bus

messagingfactory messagingfactory =  messagingfactory.createfromconnectionstring(connectionstring); queueclient queuesendclient = messagingfactory.createqueueclient(queuename); var bm1 = queuesendclient.peek(); 

access of service bus failing error - the x.509 certificate cn=servicebus.windows.net not in trusted people store

in proxy log seeing 1454679317.842 0 10.168.84.150 tcp_denied/407 4046 http://www.microsoft.com/pki/mscorp/msitwww2.crt - hier_none/- text/html

in network traces seeing host trying connect http://www.microsoft.com/pki/mscorp/msitwww2.crt first trying connect out authentication proxy saying http/1.1 407 proxy authentication required response request ideally host should resend request proxy-authorization header contains username , password seeing weird behavior host not send proxy-authorization header in second time

any registry key needs set ?

i using windows core 2012 r2 host

this issue fixed in 3.0.50496.1 or higher version of microsoft.servicebus.dll


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -