G Web Development Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying G Web Development to RT Target

Solved!
Go to solution

Hi,

 

I am trying to deploy a G Web Development Software package onto my RT target (sbRIO-9629). 

 

I've built the G Web within the dev environment and have copied the contents into an auto-populating folder within my LV project. 

 

I have put together my build specification as the screenshot below.

 

jtan24_0-1659100120200.png

jtan24_1-1659100158609.png

 

How do you then access the GUI from the browser? 

I had assumed it was http://192.168.0.10:8002/Webservicestest/index.html but this has resulted in:

This site can’t be reached

192.168.0.10 refused to connect.

 

Webservicestest is the name of my build specification.

 

Any advice would be greatly appreciated. 

0 Kudos
Message 1 of 7
(1,833 Views)
Solution
Accepted by topic author jtan24

What's the project view look like with the public content folder?

 

You can also right-click on the index file in the project and select Show Public URL, what does that show for the various servers?

 

When deploying web services, you don't need to add all the files to the always include / startup fields. Those are only for VIs for a LV "application" as all the web service items are handled separately. At minimum you do need a VI running as the startup VI to keep an executable running to keep the app web server on the target running.

Message 2 of 7
(1,813 Views)

Thanks DerrickB, useful to know you can show public URL of the index.html file so will give this a test. 

 

Cheers for the tip on the startup and always included VIs. 

0 Kudos
Message 3 of 7
(1,801 Views)

Based on the web service config in the build spec I'd expect it to be at http://192.168.0.10:8002/Test_Web_Service/index.html

0 Kudos
Message 4 of 7
(1,797 Views)

Hi DerrickB,

 

Following your suggestions last weekend, I went and right clicked index.html to show the URL. Unfortunately this did not work(!) and came up with Access Denied as below in the screenshots. Do you have any other ideas where I could be going wrong? 

 

Unfounded opinion - but I have a feeling its either to do with the build spec or access permissions... 

 

jtan24_0-1659338258892.png

jtan24_1-1659338292812.png

 

Edit: I have also followed this link: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000ow15CAA&l=en-GB and have confirmed the HTTP port is set to 8080. 

jtan24_0-1659339205886.png

 

 

 

0 Kudos
Message 5 of 7
(1,750 Views)

I have further debugged this - turns out the Application Web Server on the sbRIO target was set to the same port as the standalone application (resulting in connectivity issues). 

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000ow15CAA&l=en-GB 

Message 6 of 7
(1,743 Views)

Good find, that was going to be my next set of questions once you showed what the URL would be.

0 Kudos
Message 7 of 7
(1,721 Views)