Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP adapter

Status
Not open for further replies.

chlw

Technical User
May 14, 2008
4
MY
i was created an event server to run map source file.
it runs successful for about 1 year.
unfortunately, start from last week, it shows this error message.

...
Sending 0 bytes of message data.
>HTTP/1.1 200 OK (S)
>Content-Type: text/html; charset=UTF-8
>Date: Mon, 19 May 2008 23:59:58 GMT
>Connection: close
I/O error occurred. (-14)
Socket Closed.
Connection closed.
Sockets Client ID 1 disabled.

i tried to run each map manually & it is successful.
i was wondering is it because of event server setting?
 
We need more information about what the http request is doing. Could it be permissions to something?
 
http request to get xml file using loginscript from server.
if it's about permission, it shouldn't be successful when i run the map manually, is it?
 
That depends on the access rights of the event server user verses who you are when you run it manually.

It also depends on how you post your request for the XML file. (I assume you have an application that posts a request. Your system is monitoring for the specific request which it wil reply to.)

When you make your request is there any record of activity? Log/Trace files etc...?

Is your map noting the request but unsuccessful in posting it back?

Can you clarify version, OS etc..
 
i'm using get http adapter function to login the server.

GET("HTTP", -url + (userid) + "index.cfm?service=Loginscript")
 
http adapter log file shows:

Mercator HTTP Adapter, Version 6.7(306)
Copyright 1999-2001, TSI International Software, DBA Mercator Software
Built for WIN32 - INTEL on Jun 25 2003 at 20:39:36 by bocabuild.
Microsoft (R) C Runtime Library is
Copyright (C) Microsoft Corp. 1981-1999.
Using C:\WINNT\system32\MSVCRT.dll (Version 6.10.8924.0) for Visual C++ runtime.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Run Started at 12:20:42.167 on 05/22/08.
Options used: trace,verbose,name,url
URL user: ''.
URL pass: ''.
URL host: '203.115.213.27'.
URL port: '80'.
URL path: '/Integration/BPU/index.cfm?service=Loginscript'.
Using http: protocol.
Using HTTP/1.1.
Sockets Client ID 1 enabled.
Windows Sockets Version 1.1 will be used.
Windows Sockets Version 2.2 is supported.
Windows Socket Description is 'WinSock 2.0'.
Windows Socket System Status is 'Running'.
Windows Socket supports up to 32767 socket(s).
Windows Socket supports UDP datagram of up to 65467 bytes.
Windows Socket has no additional vendor-specific information.
Server host is '203.115.213.27'.
Using port '80' for the connection.
Connecting to '203.115.213.27'.
Checking user port 80.
Service: 'http'.
Alias #1: 'Alias #2: 'Port: 80.
Protocol: 'tcp'.
Socket Opened.
Connected.
<GET /Integration/BPU/index.cfm?service=Loginscript HTTP/1.1
Host: 203.115.213.27
User-Agent: Mercator-HTTP-Adapter/6.7(306)
Content-Type: application/octet-stream
Content-Length: 0
X-Abandon-After: 2147483647
 
Looks like you are connecting then timing out waiting for a response.

does your post command look something like one of the items below?


-URL {HTTP|HTTPS}://user:password@host:port/dir/file

-t -url -type text/html -session * -method POST -LSN 0

-t -url -type application/octet-stream -session * -method POST -LSN 0
 
i'm using get http adapter function to login the server.

GET("HTTP", -url + (userid) + "index.cfm?service=Loginscript")


If you're logging in to a server, have any of the connection details changed? user name password and whatever else the script does.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top