A
Alberto
I'm becoming *crazy* with a problem:
* I have a simple WebService, called "HelloWorld"
* I access the web server using a proxy (SQUID on linux).
* If my proxy does not require authentication, all works fine!
* If my proxy REQUIRE authentication, I cannot reach my service and I
have a "Time out" error.
Here is the code,
-- CODE -----
[..]
' Set proxy credentials (NOTE: Domain is empty..)
Dim cr As New System.Net.NetworkCredential("proxyUser", "proxyPWD",
"")
Dim pr As System.Net.WebProxy
' NOTE: using GetDefaultProxy or setting manually is the same result.
pr = New WebProxy("10.23.0.66", 3128)
'pr = WebProxy.GetDefaultProxy
pr.Credentials = cr
service.Proxy = pr
service.timeout = 10000 '10 seconds timeout
result = service.helloWord() ' <------ TIMEOUT ERROR!!
-- END CODE ----
Is this a known problem with Squid ??
Thanks for ANY help!!
ALberto G.
(e-mail address removed)
* I have a simple WebService, called "HelloWorld"
* I access the web server using a proxy (SQUID on linux).
* If my proxy does not require authentication, all works fine!
* If my proxy REQUIRE authentication, I cannot reach my service and I
have a "Time out" error.
Here is the code,
-- CODE -----
[..]
' Set proxy credentials (NOTE: Domain is empty..)
Dim cr As New System.Net.NetworkCredential("proxyUser", "proxyPWD",
"")
Dim pr As System.Net.WebProxy
' NOTE: using GetDefaultProxy or setting manually is the same result.
pr = New WebProxy("10.23.0.66", 3128)
'pr = WebProxy.GetDefaultProxy
pr.Credentials = cr
service.Proxy = pr
service.timeout = 10000 '10 seconds timeout
result = service.helloWord() ' <------ TIMEOUT ERROR!!
-- END CODE ----
Is this a known problem with Squid ??
Thanks for ANY help!!
ALberto G.
(e-mail address removed)