[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Firewall question: WE GOT A LIVE ONE



James,

We know something else now...
> Server: iPrism-httpd/v4 (Unix) ssl_enabled ossl
This one has a URL filtering proxy installed. Do you know if it is
transparent or are you using the proxy support to get to your server?

As far as the actual error you see on the client (from HTTPAPI_H)...
** Error calling user-specified procedure in the                
**   recvdoc() procedure.  (user proc must return full count)   
 HTTP_RDWERR     C                   CONST(16)

Not quite enough information for me to know for sure, but it sounds like you
didn't get a "full" packet back.                  

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN\" > <HTML> <HEAD>
<META
Is this line truncated when you debug a working one? You can run your
program locally with debug and see. I am wondering if for some reason you
aren't getting the packet back through their firewall.

Mike

  

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Monday, April 14, 2008 1:47 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Firewall question: WE GOT A LIVE ONE

Last Friday, a customer tried unsuccessfully to access our web service, 
and this is the log that was produced (information identifying the 
customer and the specific box has been censored for the sake of the 
customer's privacy).

> HTTPAPI Ver 1.21 released 2007-10-01               
>                                                    
> http_persist_open(): entered                       
> http_long_ParseURL(): entered                      
> DNS resolver retrans: 2                            
> DNS resolver retry  : 2                            
> DNS resolver options: x'00000136'                  
> DNS default domain: <censored for customer privacy>              
> DNS server found: 172.16.1.11                      
> DNS server found: 172.16.0.25                      
> DNS server found: 64.91.4.81                       
> http_persist_get(): entered                        
> http_long_ParseURL(): entered                      
> do_get(): entered                                  
> do_get(): entered                             
> GET /mmm.sssssss.ll.Q.V5R4M0.900A HTTP/1.1    
> Host: wintouch.touchtonecorp.com              
> User-Agent: http-api/1.21                     
>                                               
>                                               
> recvresp(): entered                           
> HTTP/1.0 200 OK                               
> Date: Wed, 6 May 1970 20:19:59 GMT            
> X-Date: Fri, 11 Apr 2008 15:37:38 GMT         
> Server: iPrism-httpd/v4 (Unix) ssl_enabled ossl
> Expires: 0                                    
> Cache-Control: max-age=0, must-revalidate     
> Pragma: no-cache                              
> Content-Type: text/html                       
> Content-Type: text/html

>

>

> SetError() #13: HTTP/1.0 200 OK

> recvdoc parms: identity 0

> header_load_cookies() entered

> recvdoc(): entered

> SetError() #0:

>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN\" > <HTML> <HEAD>
<META
> SetError() #16: errno is currently 3406

> SetError() #16: recvdoc: saveproc: Not all data was written!

> http_close(): entered

> http_persist_open(): entered

> http_long_ParseURL(): entered

> DNS resolver retrans: 2

> DNS resolver retrans: 2                   
> DNS resolver retry  : 2                   
> DNS resolver options: x'00000136'         
> DNS default domain: <censored for customer privacy>     
> DNS server found: 172.16.1.11             
> DNS server found: 172.16.0.25             
> DNS server found: 64.91.4.81              
> http_persist_get(): entered               
> http_long_ParseURL(): entered             
> do_get(): entered                         
> GET /mmm.sssssss.ll.Q.V5R4M0.900A HTTP/1.1
> Host: 69.238.233.81                       
> User-Agent: http-api/1.21                 
> recvresp(): entered                           
> HTTP/1.0 200 OK                               
> Date: Wed, 6 May 1970 20:19:59 GMT            
> X-Date: Fri, 11 Apr 2008 15:37:38 GMT         
> Server: iPrism-httpd/v4 (Unix) ssl_enabled ossl
> Expires: 0                                    
> Cache-Control: max-age=0, must-revalidate     
> Pragma: no-cache                              
> Content-Type: text/html                       
>                                               
>                                               
> SetError() #13: HTTP/1.0 200 OK               
> recvdoc parms: identity 0                     
> header_load_cookies() entered                 
> header_load_cookies() entered

> recvdoc(): entered

> SetError() #0:

>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN\" > <HTML> <HEAD>
<META
> SetError() #16: errno is currently 3406

> SetError() #16: recvdoc: saveproc: Not all data was written!

> http_close(): entered

>  ************End of Data********************

On the server side, this was produced (along with several requests for 
the same box but a different LPAR, which likely produced a different 
HTTPAPI log in a different IFS):

> AutoAutCode request for: mmm.sssssss.ll.Q.V5R4M0.900A time: Fri Apr 11
2008 15:41:33                       
> Client problem: A connection with a remote socket was reset by that
socket. time: Fri Apr 11 2008 15:41:34 
> Client problem: Broken pipe. time: Fri Apr 11 2008 15:41:34


Any clue about what went wrong?

-- 
James H. H. Lampert
Touchtone Corporation

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------