Running openstudio ruby scripts remotely through a web interface
My team is developing a web application that takes a few user inputs, and then based on those inputs modifies an OpenStudio model through ruby measures, runs the OpenStudio model, and then reports the outputs. We are using ASP.NET to develop the web app (as a team member has extensive experience in this language, and none in Ruby on Rails), however, whenever we attempt to run a ruby measure remotely through the web app it never runs the ruby script. What is extremely peculiar is that the web app does run the ruby script when it is run on the local host. We are at a loss for what could be causing this failure when running remotely, and have spent a significant amount of time already trying to debug to no avail. Any idea what the problem might be, or have seen any documented cases of running a ruby script through a web app? Thanks in advance for any insights.
Have you resolved this yet?
Are you trying to use the C# bindings to OpenStudio? Or are you running OpenStudio measures via a system call?
Dan's comment is valid around checking the log files. I would also check security settings. Are you using IIS? If so you will probably have to allow IUSR access to the run directories for the measures and probably OpenStudio.
We are running via a system call, and we did solve it, see my answer below