Re: 38501 on first HTTP_POST_VERBOSE

Daniel Gross <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <[email protected]>
I'm no expert for SSL, but Google for

   GSKit Error is 415

and you will find plenty of results. Most point to a probable mismatch of cipher suites - a configuration issue. 

If you don't have the chance, to solve the problem this way - add an additional HTTPS request at the start of the program, of maybe some internal retry concept (like doing 3 tries before reporting an error). 

HTH
Daniel


> Am 08.01.2026 um 21:09 schrieb Justin Taylor <[email protected]>:
> 
> The prior thread referenced was an intermittent issue.  Mine is always and
> only on the first call.  We're also on 7.4.  This is new development.
> 
> The joblog does reference AXISC.  Prior to the 38501, the joblog has two,
> apparently, identical CPF503E.  The text for code 1 is:
> 
> Cause . . . . . :   An error occurred while invoking user-defined function
> HTTP_POST_VERBOSE in library QSYS2. The error occurred while invoking the
> associated external program or service program QSQAXISC in library QSYS,
> program entry point or external name axiscPostClobVerbose, specific name
> HTTP_POSTV. The error occurred on member QSQPTABL file QSQPTABL in library
> QSYS2. The error code is 1. The error codes and their meanings follow:
> 1 -- The external program or service program returned SQLSTATE 38501. The
> text message returned from the program is: AXISC ERROR  :
> HTTPTransportException: Cannot initialize a channel to the remote end.
> Failed to establish SSL connection to server, the operation
> gsk_secure_soc_init() failed.
> GSKit Error is 415 - Peer not recognized or badly formatted message
> received. .
> --
> This is the RPG programming on IBM i (RPG400-L) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/rpg400-l.
> 
> Please contact [email protected] for any subscription related questions.
> 
-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact [email protected] for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.