Search found 7 matches

by axelar
Mon Sep 05, 2022 2:09 pm
Forum: HTTPAPI
Topic: Requests fail with "(GSKit) Handle is not valid" in job log
Replies: 6
Views: 6017

Re: Requests fail with "(GSKit) Handle is not valid" in job log

I think I found the error! A program previously called http_xproc(HTTP_POINT_ADDL_HEADER:%paddr(add_headers)); without removing the procedure once it was done. The solution was to add http_xproc(HTTP_POINT_ADDL_HEADER: *null); at the end of the program. This is my take on why the error occured: The ...
by axelar
Mon Sep 05, 2022 1:35 pm
Forum: HTTPAPI
Topic: Requests fail with "(GSKit) Handle is not valid" in job log
Replies: 6
Views: 6017

Re: Requests fail with "(GSKit) Handle is not valid" in job log

I just got the request to work when I'm not sending anything in the body. (I got 415, Unsupported media type, which is expected) http_debug(*ON:'/home/test/httpdebug.txt'); rc = http_req( 'POST' : 'THE_URL' : '/home/test/response.txt' // File to receive : *omit // String to receive : *OMIT // File t...
by axelar
Mon Sep 05, 2022 1:10 pm
Forum: HTTPAPI
Topic: Requests fail with "(GSKit) Handle is not valid" in job log
Replies: 6
Views: 6017

Re: Requests fail with "(GSKit) Handle is not valid" in job log

I've encountered it previously, but the requests usually succeeds when retrying. But this time it does not. We are running 7.4. It's TLS 1.3 with cipher TLS_AES_256_GCM_SHA384. That's what I can see when I run the request with Postman. We are making a Post-request to this URL: [REMOVED] You should g...
by axelar
Mon Sep 05, 2022 11:59 am
Forum: HTTPAPI
Topic: Requests fail with "(GSKit) Handle is not valid" in job log
Replies: 6
Views: 6017

Re: Requests fail with "(GSKit) Handle is not valid" in job log

We tried applying this PTF https://www.ibm.com/support/pages/ptf/MF69523, to no avail.
Still the same error unfortunately.
by axelar
Tue Aug 30, 2022 9:42 am
Forum: HTTPAPI
Topic: Requests fail with "(GSKit) Handle is not valid" in job log
Replies: 6
Views: 6017

Requests fail with "(GSKit) Handle is not valid" in job log

Hi! One of our integrations are failing when sending requests with httpapi. The requests always fail in the production environment. In our test environment they sometimes fail, but succeed on the second attempt. The requests fail with "(GSKit) Handle is not valid" in job log and this is al...
by axelar
Fri Aug 19, 2022 9:47 am
Forum: HTTPAPI
Topic: Bad characters in debug file after upgrading from 1.38 to 1.45
Replies: 2
Views: 5347

Re: Bad characters in debug file after upgrading from 1.38 to 1.45

The CGI program stopped working, that's just how I realized that something was going on with the debug files. I renamed all the source files, created new source files with CCSID 278 and copied all the members from the renamed source files to the new. Then I recompiled the install program and ran it....
by axelar
Fri Aug 19, 2022 7:40 am
Forum: HTTPAPI
Topic: Bad characters in debug file after upgrading from 1.38 to 1.45
Replies: 2
Views: 5347

Bad characters in debug file after upgrading from 1.38 to 1.45

Hey! I did an upgrade from 1.38 to 1.45 and started having issues with the debug files. Looks like there are bad characters in the files that are preventing me from serving the content of the files through a CGI program. This is usually an issue with CCSID, but since nothing has changed in my code i...