LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 404 from web service "public" content

We have a LabVIEW web service that includes several web service method VIs as well as some static content in the "public" folder (*.css and javascript files, images, etc). For the most part, it has been working well across multiple deployments for several months now. But we have had a few instances where the assets in the "public" folder stopped populating; Chrome console showed that all of those files were throwing error 404. The main index page would show up, but it was rendering oddly because CSS and javascript dependencies were not available.

 

What could cause a LabVIEW web service to fail to serve up static content, while still maintaining the main service itself?  Are there any know issues we should be aware of?

 

Restarting the executable that hosts the web service resolved our issue, but that's obviously not a viable long-term solution. We are considering adding some self-diagnostics, like a background process to poll one or more static assets via HTTP GET, to detect this problem if it comes up again, but I'm hoping it won't come to that....

0 Kudos
Message 1 of 1
(859 Views)