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

Re: [Ftpapi] just upgraded os from 7.3 to 7.4, sporadic "Peer not recognized or badly formatted message received"



I agree with Stefan.

The problem is that the site is sending an TLS (SSL) message in a format that's not recognized.  Most likely, the server is using a newer version of SSL than was available when this version of HTTPAPI was created back in 2012.  Simply updating it to the current version should give you access to the latest TLS/SSL versions.

-SK

On 9/8/2020 10:36 AM, Gerald Magnuson wrote:

Failing at no known frequency.

 

The request:

 

  http_setauth(HTTP_AUTH_BASIC:userid: pass) ;                   

                                                                  

  rc=http_url_post_raw(                                          

     'https://xxxxxl.xxxxxxxxx.com/xxxxxxxxxxxxx/Rate' :

      myPointer: dataSize : 1: %paddr('INCOMING')                 

     :HTTP_TIMEOUT :HTTP_USERAGENT                               

     : 'application/x-www-form-urlencoded' );                    

                                                                  

 

Bad call/return:

************Beginning of data**************                                                           

HTTPAPI Ver 1.24 released 2012-01-23                                                                   

OS/400 Ver V7R4M0                                                                                       

                                                                                                        

(GSKit) Peer not recognized or badly formatted message received.                                       

ssl_error(415): (GSKit) Peer not recognized or badly formatted message received.                       

SetError() #30: SSL Handshake: (GSKit) Peer not recognized or badly formatted message received.        


-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi