Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

Server Error When Running Local PAT?

asked 2017-05-08 17:18:26 -0600

ytliang's avatar

updated 2017-08-20 14:57:18 -0600

I am doing a very simple parametric run (It's more of a proof of concept for my organization). I have a simple house model as the seed and two alternatives of a measure applied to it (replace roof with R-30 and R-40 roof).

I've tried running it. During the first half of my day, in the run tab, the PAT would create duplicate entries of all the alternatives and the status would appear to be "queued" but simulation would never finish, and it stayed at that state forever. Later in the day, I started another instance from scratch, creating the same alternatives. This time, server status appears to be down completely, and I can't seem to run PAT locally at all.

Using Server Troubleshooting Tools-Ping Server and Set Status, "Server is Offline" is returned.

Is there a problem on my end? I am sure my settings for the alternatives are alright, as doing single runs in OpenStudio works. This seems to be an issue starting today for me. During last week, PAT ran fine. (I think I might have accidentally changed settings without knowing) Is there some kind of way to reset this? (Already tried reinstalling OpenStudio).

Thanks.

Edit 5/9/17: the error messages in view-developer's tools: image description image description

==================================================================================

Edit 5/10/17: Reinstalled OpenStudio. The server seems to be working. When trying to run the analysis, the first time after the reinstall, server status is green, but one of my problem persists (PAT would create duplicate entries of all the alternatives and the status would appear to be "queued" but simulation would never finish, and it stayed at that state forever.)

So I closed it and opened it again. Server is red again. But there are multiple Ruby instances back in the task manager, http://localhost:8080 works and has a response. the analysis won't go through and it would stay at "starting server". I have captured screenshots of the console with new error messages. There are lots of "Uncaught errors". image description image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-05-08 22:04:46 -0600

updated 2017-05-09 14:07:50 -0600

Please see if the following Q&A addresses your question.

I believe that Q&A does address your issue. Judging from the error log you posted, I believe the space in your installation path is causing the problem. Try reinstalling to C:\OS2.1.1 and see if that fixes things.

edit flag offensive delete link more

Comments

Thank you for answering. I've tried all 5 steps. My project directory does not have local_configuration.json and local_configuration.receipt files. And my "logs" directory is empty, no rails.log file. Tried leaving PAT on for a while, server is always offline. What else can I try?

ytliang's avatar ytliang  ( 2017-05-09 10:47:30 -0600 )edit

Under the "View" menu, please select Toggle Developer Tools. This opens up a side panel with status and error messages directly from PAT. Are you seeing errors in there? (I suspect you will.) If so, please cut/paste them in your question above and we'll go from there.

ljbrackney's avatar ljbrackney  ( 2017-05-09 11:36:43 -0600 )edit

OK. It is updated.

ytliang's avatar ytliang  ( 2017-05-09 12:00:01 -0600 )edit

Note my updated answer above.

ljbrackney's avatar ljbrackney  ( 2017-05-09 14:23:54 -0600 )edit

Thanks. I reinstalled OS, but added an update above. The server works but still has glitches/analysis won't go through.

ytliang's avatar ytliang  ( 2017-05-10 11:05:48 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2017-05-08 17:18:26 -0600

Seen: 1,069 times

Last updated: May 10 '17