I have an issue with a deployed webservice hosted by the NI web server (version 21.3.0).
Certain GET endpoints get repeated http 500 - "Internal Server Error" responses. The endpoints are called and yield no errors. Still I get the Internal server error returned quite quickly. I changed my client to keep trying, and after calling multiple times (2-40 times) it eventually succeeds.
On another machine the issue does not arise at all with the same webservice and NI web server version.
My client app uses the lalview http VIs with default 10s timeouts.
Below an example of the http 500 that I get. Most times the body is empty as well. It appears that the server closes the connection prematurely. I have looked in the NI web server configuration, but I see no options to do something about this.
HTTP/1.1 500 Internal Server Error
Date: Thu, 29 Sep 2022 09:08:15 GMT
Strict-Transport-Security: max-age=63072000; includeSubDomains
WWW-Authenticate: Basic realm="protected area"
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
<p>Please contact the server administrator at
email@example.com to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
It seemed to have resolved itself after updating Systemlink to 2022 Q1