From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable HTTP port for web server gives Error 363500 uninstalling/Installing the server

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?

0 Kudos
Message 1 of 3
(2,616 Views)

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

0 Kudos
Message 2 of 3
(2,555 Views)

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

0 Kudos
Message 3 of 3
(2,549 Views)