Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

the connection with the server was terminated abnormally xmlhttp

I have this asp page test1.asp in the same server (different website) than this webservice. Thing is when i try to run this code

sUrl = "http://chat.xxxxx.com/UCWebServices/Chat.asmx/GetChatQueueByAddress?queueAddress=SALESCHAT"

result = HTTPPost(sUrl)

response.Write result

Function HTTPPost(sUrl)
  set oHTTP = CreateObject("Msxml2.ServerXMLHTTP")
  oHTTP.open "GET", sUrl,false
  oHTTP.send <-- it fails here <-- it fails here <-- it fails here <--
  if oHTTP.Status = 200 Then
     HTTPPost oHTTP.responseText
  End if
 End Function
%>

i get the following error

msxml3.dll error '80072efe'

The connection with the server was terminated abnormally

i googled up this issue thinking that maybe this was some little bs i could easily solve, but i am getting into some problems. It's not easy to make it work.

if we run the same page from anywhere else, then it works.

Any ideas?

like image 983
Pepito Fernandez Avatar asked Sep 30 '11 14:09

Pepito Fernandez


1 Answers

This error code is ERROR_INTERNET_CONNECTION_ABORTED. The most common reasons are a firewall or anti-virus interfering with the connection, a proxy borking the connection data. I can also be caused by a name resolution issue -- for example, if the host name resolves to 127.0.0.1 locally and the web server is bound to the public IP address only.

like image 104
David Schwartz Avatar answered Sep 25 '22 14:09

David Schwartz