× 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.



Yes, my CGI webservice is also a client of 3rd party services.

The HTTPAPI calls are failing. My service program is checking the return value and taking appropriate action. The trouble is that once the HTTPAPI calls begin failing, every subsequent call also fails (last week, there were 360+ failures before ops noticed).

I've been operating under the assumption that something changes with the vendor's cert and my CGI jobs have stale state, which causes the trouble. If that's truly the problem, moving the HTTPAPI calls to a different job wouldn't help (unless you did something like *INLR or RCLACTGRP).



-----Original Message-----
From: Nathan Andelin [mailto:nandelin@xxxxxxxxx]
Sent: Tuesday, September 18, 2018 3:57 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: HTTPAPI & revoked SSL cert

On Tue, Sep 18, 2018 at 1:37 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

Unless there's something left out of the picture here, I'll reiterate
that the Apache server shouldn't have anything to do with HTTPAPI.


Brad,

Justin hasn't really explained it, but he's evidently making HTTPAPI calls from an IBM i CGI program, which itself also responds to HTTP requests. Web applications and web-service servers (CGI programs) can be web-service clients too.

The problem here appears to be that the error in the CGI program destabilizes the HTTP server. So far, the fix is to restart the HTTP server, which is obviously is NOT GOOD.

One way to eliminate the problem would be to make the HTTPAPI calls from a separate job, which communicates with the CGI program via data queues. That would at least keep the HTTP server from becoming destabilized. Ultimately, he needs to add error handling to the program that's making HTTPAPI calls.

Nathan.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.