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

RE: Looking for suggestions about 426 errors



Scott,

No specific help, but a search indicates two possible problems...
1. Running out of space. Does the IIS server have enough room? Does the user
you are using have enough room? Is the directory locked down?
2. Bad NIC. Not sure how you'd find this. Maybe the NIC driver has some
stats you could look at? Maybe event viewer will show some errors? You could
try wireshark running between the iSeries and the Windows server and see if
it indicates a problem. There is also a trace capability on the
iSeries...you could start one before the transfer and capture whatever is
going/coming across the line--i don't think that will show you bad packets
though. But, because PC NICs are relatively inexpensive, try a new one in
the Windows server and see if it clears up.

Some other random thoughts. What else is running on the windows and iseries
boxes when you do the FTP? How long does it take when it works? When it
blows? Does it blow at the same time (3:00:43?)? Does it blow if you run
during the day? We used to see "broken pipes" on our email server. Updated
which computers we'd talk to (changed some blacklists and access entries)
and most of the broken pipes went away. We figured it was either our server
was too busy to service them, bad client code (probably from a spambot) or
bad connections (from overseas spambots).

One of the reasons Scott wrote FTPAPI was to handle errors a little more
elegantly. If you can't find the real answer, make your program a little
more robust and do retries a certain number of times (maybe with a wait of
xx seconds to avoid any bursty traffic problems) until it works or hits the
retries.

Mike

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Schollenberger
Sent: Wednesday, April 02, 2008 1:12 PM
To: HTTPAPI and FTPAPI Projects
Subject: Looking for suggestions about 426 errors

Scott --
 
We have been using your FTPAPIR4 service program at several of our
clients to move files between their iSeries server and IIS nightly.
Same IIS application for all these clients.  It has been working well
except for one client.
The night FTP job fails fairly consistently, although the failure point
varies.  We are "putting" about 30 files from the iSeries to the Windows
server.
The job can fail anywhere in the 30 files.
 
The IIS log shows a 426 error and so does the joblog.  There is a
reference to a broken pipe logged before the 426 error.  See below.
 
CPF9897    Diagnostic              40   03/31/08  03:00:43.273648
FTPAPIR4     LIBFTP      *STMT    FTPAPIR4    LIBFTP      *STMT 

                                     From module . . . . . . . . :
FTPAPIR4                                                      

                                     From procedure  . . . . . . :
DIAGMSG                                                       

                                     Statement . . . . . . . . . :
7902                                                          

                                     To module . . . . . . . . . :
FTPAPIR4                                                      

                                     To procedure  . . . . . . . :
DIAGMSG                                                       

                                     Statement . . . . . . . . . :
7902                                                          

                                     Message . . . . :   0: 150 Opening
BINARY mode data connection for                            

                                       SectionEnrollment.txt.


                                     Cause . . . . . :   No additional
online help information is available.                       

CPF9897    Diagnostic              40   03/31/08  03:11:56.644288
PBPUTFTP     ATTNLIB     *STMT    PBPUTFTP    ATTNLIB     *STMT 

                                     From module . . . . . . . . :
PBPUTFTP                                                      

                                     From procedure  . . . . . . :
LOGGER                                                        

                                     Statement . . . . . . . . . :
3246                                                          

                                     To module . . . . . . . . . :
PBPUTFTP                                                      

                                     To procedure  . . . . . . . :
LOGGER                                                        

                                     Statement . . . . . . . . . :
3246                                                          

                                     Message . . . . :   2 Broken pipe.


                                      Cause . . . . . :   No additional
online help information is available.                       

 CPF9897    Diagnostic              40   03/31/08  03:11:56.644368
PBPUTFTP     ATTNLIB     *STMT    PBPUTFTP    ATTNLIB     *STMT 

                                      From module . . . . . . . . :
PBPUTFTP                                                      

                                      From procedure  . . . . . . :
LOGGER                                                        

                                      Statement . . . . . . . . . :
3246                                                          

                                      To module . . . . . . . . . :
PBPUTFTP                                                      

                                      To procedure  . . . . . . . :
LOGGER                                                        

                                      Statement . . . . . . . . . :
3246                                                          

                                      Message . . . . :   ErrorNum:
0000000003                                                      

                                      Cause . . . . . :   No additional
online help information is available.                       

 CPF9897    Diagnostic              40   03/31/08  03:11:56.644448
FTPAPIR4     LIBFTP      *STMT    FTPAPIR4    LIBFTP      *STMT 

                                      From module . . . . . . . . :
FTPAPIR4                                                      

                                      From procedure  . . . . . . :
DIAGMSG                                                       

                                      Statement . . . . . . . . . :
7902                                                          

                                      To module . . . . . . . . . :
FTPAPIR4                                                      

                                      To procedure  . . . . . . . :
DIAGMSG                                                       

                                      Statement . . . . . . . . . :
7902                                                          

                                      Message . . . . :   0: > QUIT


                                      Cause . . . . . :   No additional
online help information is available.   

CPF9897    Diagnostic              40   03/31/08  03:11:56.644912
FTPAPIR4     LIBFTP      *STMT    FTPAPIR4    LIBFTP      *STMT 

                                      From module . . . . . . . . :
FTPAPIR4                                                      

                                      From procedure  . . . . . . :
DIAGMSG                                                       

                                      Statement . . . . . . . . . :
7902                                                          

                                      To module . . . . . . . . . :
FTPAPIR4                                                      

                                      To procedure  . . . . . . . :
DIAGMSG                                                       

                                      Statement . . . . . . . . . :
7902                                                          

                                      Message . . . . :   0: 426
Connection closed; transfer aborted.                               

                                      Cause . . . . . :   No additional
online help information is available.                       

  5722SS1 V5R3M0 040528                           Job Log
JCSD     03/31/08 03:11:56          Page   45 

   Job name . . . . . . . . . . :   PBEXPJSDB       User  . . . . . . :
BAHORIKSJ    Number . . . . . . . . . . . :   347329      

   Job description  . . . . . . :   PROGRESSB       Library . . . . . :
ATTNLIB                                                   

 MSGID      TYPE                    SEV  DATE      TIME             FROM
PGM     LIBRARY     INST     TO PGM      LIBRARY     INST  

 SRF1210    Escape                  50   03/31/08  03:11:56.674800
PBPUTFTP     ATTNLIB     *STMT    QCMD        QSYS        01B7  

                                      From module . . . . . . . . :
PBPUTFTP                                                      

                                      From procedure  . . . . . . :
CRASH                                                         

                                      Statement . . . . . . . . . :
3332                                                          

                                      Message . . . . :   ProgressBook
Export failed.                                               

                                      Cause . . . . . :   From FTP
Server: ErrorNum: 0000000003 2 Broken pipe.    

 
We have increased the timeout on the IIS server.  We verified all the
networking components and configurations on the iSeries and Windows
servers.
 
I wondering if you have any suggestions about handling this problem.
 
Could I just open a new connnection to the IIS server on the 426 error
and try to continue the file transfers?
 
Thanks, Scott
 
________________________________

Scott A. Schollenberger

Director, R&D

Harris School Solutions

 

 <http://support.harriscomputer.com/images/schoolssignature.gif> 

 

Phone: (610) 239-9988 ext. 305

Fax: (610) 239-9995
Email: sschollenberger@xxxxxxxxxxxxxxxxxx
2011 Renaissance Blvd., Suite 100
King of Prussia, PA  19406


This message and any attachments are confidential to the ordinary user
of the e-mail address to which it was addressed and may also be
privileged. If you are not the addressee you may not copy, forward,
disclose or use any part of the message or its attachments and if you
have received this message in error, please notify the sender
immediately by return e-mail and delete it from your system. The sender
does not accept liability for any errors or omissions in the context of
this message that arise as a result of Internet transmission. Any
opinions contained in this message are those of the author and are not
given or endorsed by the Harris company or office through which this
message is sent unless otherwise clearly indicated in this message and
the authority of the author to so bind the Harris entity referred to is
duly verified. 	
 

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