10-31-2018 03:08 AM
Hi, I have the problem that I want to run my web server on only SSL ports, which is a standalone NI-web server installed on my computer without application, so I'm using the web configuration (e.g. http://localhost:3582/) to disable the HTTP port and enable SSL port which works as expected until I want to install/uninstall the web sever which gives the error,
LabVIEW: Failed to connect to the specified hostname. Be sure the specified hostname is correct, the server is running and configured to accept remote requests.
Error 363500 occurred at LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001
Complete call chain:
LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001
Installer.lvclass:Authenticate Request.vi
Installer.lvclass:uninstall.vi
main.vi.
It seems it tries to connect to the HTTP port when uninstall/indstall. Is it some configurations I'm missing or anyone have any idea what I need to do to fix this?
11-20-2018 08:05 AM
Heya,
This sounds a bit strange and I'm having a bit of trouble understanding what exactly is causing the error. Are you able to post a snippet of sample code which illustrates it at all? Or even just the steps I could follow to recreate it?
Cheers,
Mitch
11-27-2018 09:25 AM
There is not really any code involved. So Í'll try to explain the steps.
1. Create a web service in a LabVIEW project with some simple web resource vi's
2. Create an Installer with the Application builder and only include the web server with additional installers:
- NI LabVIEW Runtime 2016 f5
- Microsoft Silverlight 5.1
- NI System Web server 2017
- NI Web-Based Configuration and Monitoring 16.0.
3. Run installer which automatically publish the web server.
4. Go to http://localhost:3582/ using internet explorer and disable HTTP and enable SSL port, reboot.
Now http is disabled and https works. However if unpublish/uninstall/install is used now when http disabled I get that error mentioned.
I have tried changing configurationfiles and more but haven't found an solution how to be able to uninstall the web server
without needing to go and enable http again and reboot and uninstall. Would like to skip doing this step everytime 🙂
Best regards