The error is "connection reset" which means that the remote host is disconnecting you on the basis that you are not following the correct protocol.

My guess is the same as Paul's.  Since this is happening at the very start of the session, I would guess that it is not compatable with the version of SSL that is required.

You are running an 11 year out-of-date version of HTTPAPI, which may have something to do with it.  Consider updating to the current version.  Also, make sure you are on a minimum of V7R2 and have good system values for SSL/TLS.

-SK

On 5/28/19 2:21 PM, Versfelt, Charles wrote:
Does anyone know if the Ftpapi newsgroup is still active?
I haven't gotten a message from that group in a long while.
I looked at the site, their archives only go through 2018.

I sent this message to that group last week but I don't know if it went anywhere:

I'm getting this error doing a http_url_post_stmf.
(GSKit) I/O: A connection with a remote socket was reset by that socket.
(GSKit) An operation which is not valid for the current SSL session state
was attempted.
This process seems to be working for many of our vendors and failing only for one vendor.
I'm not sure what to do to diagnose this issue, or if the problem is on the vendor's end.
Any suggestions would be appreciated.

Below is the debug log.
Regards,
Charlie

HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V7R3M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_url_post_stmf(): entered
getting post file size...
opening file to be sent...
opening file to be received
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: us.adler.corp
DNS default domain: us.adler.corp
DNS server found: 10.1.20.11
DNS server found: 10.1.20.12
(GSKit) I/O: A connection with a remote socket was reset by that socket.
ssl_error(406): (GSKit) I/O: A connection with a remote socket was reset by that socket.
SetError() #30: SSL Handshake: (GSKit) I/O: A connection with a remote socket was reset by that
--------------------------------------------------------------------------------
Dump of server-side certificate information:
--------------------------------------------------------------------------------
Cert Validation Code = 0
(GSKit) An operation which is not valid for the current SSL session state was attempted.
ssl_error(5): (GSKit) An operation which is not valid for the current SSL session state was attempted.
(GSKit) An operation which is not valid for the current SSL session state was attempted.

This email message has been scanned for viruses and malware by Mimecast.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].