× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Your program is written in C? If not what?

Have you tried using a tried-and-true package like Scott Klement's HTTPAPI?

Can you connect using Postman or Insomnia or ... ?

Can you connect using the SQL HTTP routines?


Jon P.

On Jan 12, 2024, at 1:50 PM, Kelly Beard <kenverybigliar@xxxxxxxxx> wrote:

What can I do with this? The guy I am trying to communicate with on the
other end says that he sees 'something' and I am trying to get from him
what it is, but as far as I can tell, my program is not getting to a point
where actual data is being sent, but probably security handshaking. I
gotta believe that the iSeries is not trying to communicate in something
like EBCDIC here, but it seems like the two sides cannot 'see' what each
other is trying to do. I guess I need to know if there is some advanced
logging I can turn on for this. This project is kinda stuck unless I can
get some more information. My program is a client connecting to a server.
The connection end is working but the "Peer not recognized or badly
formatted message received." is making me wonder about text exchange, if
something like that is happening. I have a certificate installed via DCM.
I would think that if there was some problem like that, the error message
would state it. I can post code if anyone is interested.

step: gsk_environment_open
my_env_handle=SPP:0000 :1aefQP0ZSPWT BEAK 022211 :1200:0:14
step: gsk_attribute_set_buffer
step: gsk_attribute_set_enum
step: gsk_attribute_set_enum
step: gsk_environment_init
server_ip=xxx.xxx.xxx.xxx, server_port=6443
step: gsk_secure_soc_open
my_session_handle=SPP:0000 :1aefQP0ZSPWT BEAK 022211 :14000:1:14
step: gsk_attribute_set_numeric_value
gsk_secure_soc_init() failed with rc = 415 (Peer not recognized or badly
formatted message received.), errno=There is no error.


--
Kelly Beard
--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.