Using a proxy and when proxy fails. - WeOnlyDo Discussion board

Using a proxy and when proxy fails. (General questions)

by Triage, Friday, January 18, 2008, 09:17 (6154 days ago)

10053 / The current connection has been aborted by the network or intermediate services.

I get this error when using a proxy with some of my software. Then it just stops. Looking for a bit of help maybe.

Here is the code I use.

Private Sub http_Done(ByVal ErrorCode As Long, ByVal ErrorText As String)
Dim oldcookie As HttpCookie

For Each oldcookie In http.Response.Cookies
http.Request.Cookies.Add oldcookie.Name, oldcookie.Value
Next

If ErrorCode <> 0 Then
Debug.Print Time$ & : & ErrorCode & / & ErrorText
'I want it to call the last function it was on when
'it failed. that way i can do like if fail then call lastfunc

Else
'my other code here

Re: Using a proxy and when proxy fails.

by wodDamir, Friday, January 18, 2008, 09:27 (6154 days ago) @ Triage

Hi Triage,

Do you have some firewall on? Can you try disabling it?

Also, did you set proxy-related properties in your code?

Unfortunately, the code that you provided me with doesn't show me where the possible error could be. Can you try our samples? Does the same happen with them?

Regards,
Damba