SystemLink Forum

Showing results for 
Search instead for 
Did you mean: 

webservice repeated Internal Server Error

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
Server: Apache
X-Frame-Options: SAMEORIGIN
Vary: User-Agent,X-NI-API-Key,X-NI-Auth-Method,Origin
Strict-Transport-Security: max-age=63072000; includeSubDomains
WWW-Authenticate: Basic realm="protected area"
Content-Length: 530
Connection: close
Content-Type: text/html; charset=iso-8859-1

<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
your request.</p>
<p>Please contact the server administrator at 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>


Seriously concerned about the Labview subscription model
0 Kudos
Message 1 of 2

It seemed to have resolved itself after updating Systemlink to 2022 Q1

Seriously concerned about the Labview subscription model
0 Kudos
Message 2 of 2