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

(GSKit) I/O: Unknown system state.



Sender: "Tim Hawkins" <timh@xxxxxxxxxx>

Scott and friends,

I've downloaded the cool HTTP library for an SSL connection to United
Airlines but seem to be reaching an impass.  I've searched for EROFS (3472)
"Unknown System State", but cannot locate anything that might be of help.
The error is being returned from http_url_post_xml (source below).  We
checked the firewall log, but it does not show any connection attempts.  We
also checked thru the NetStat listing but don't see any open HTTPS ports.
Your README member shows instructions on adding a DCM entry for the SSL
connection, but we don't understand why that would be a requirement for a
client based HTTPS request (our AS/400 is performing an inventory
availability request against the UA host systems).  So, that indeed maybe
the cause of the EROFS failure.

Thanks in advance,
Tim Hawkins





(GSKit) I/O: Unknown system state.
==================================
From program . . . . . . . . . :   HTTPAPIR4       
  From library . . . . . . . . :     LIBHTTP       
  From module  . . . . . . . . :     HTTPUTILR4    
  From procedure . . . . . . . :     UTIL_DIAG     
  From statement . . . . . . . :     2078          
                                                   
To program . . . . . . . . . . :   HTTPAPIR4       
  To library . . . . . . . . . :     LIBHTTP       
  To module  . . . . . . . . . :     COMMSSLR4     
  To procedure . . . . . . . . :     SSL_ERROR     
  To statement . . . . . . . . :     4490          


Source
======
--------------------------------------------------------------------
    // Set up SSL:                                                      
                                                                        
    eval AppID = 'HAPPYVACATIONS_TOURSYSTEM_' + ZZpgm;                  
                                                                        
    if  not InitSSL(AppID);                                             
        eval  dsply52 = 'http_error: ' + http_error();                  
        dsply dsply52;                                                  
        return;                                                         
    endif;                                                              
                                                                        
    // Submit request.                                                  
                                                                        
  response = *ALLx'00';                                                 
                                                                        
  rc = http_url_post_xml('https://copyws.galileo.com/gws/XmlSelect'     
                        : %addr(XMLdata) + 2                            
                        : %len(XMLdata)                                 
                        : %paddr(StartOfElement)                        
                        : %paddr(EndOfElement)                          
                        : %addr(response) );                            
  if rc <> 1;                                                    
        eval  dsply52 = 'return code: ' + %trim(%editc(rc:'Z')); 
        dsply dsply52;                                           
  //    return;                                                  
  endif;                                                         
--------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------