question

Scott T avatar image
0 Likes"
Scott T asked Ben Wilson answered

Does the webserver actually work?

Does anyone actually have the webserver running and viewing complex hi-res models? I've got it all running, but the video flickers, the 3d model doesn't even move unless you kind of drag your mouse around over it a little. The simple dashboard doesn't display any info at all. Multiple views kind of flicker larger and smaller.

Is this an actual real product that works? I have it running on a monster machine with an NVIDIA massive GPU and tons of resources, so I know it's not a resource issue. Yikes so far!

Thanks.

Scott Tate

FlexSim 19.1.0
webserver
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Scott T avatar image Scott T commented ·

It's honestly much much worse. I'm not sure if it's 'modern' Operating Systems or what, but this program doesn't work more out of the box than it actually works. This is a very common error, which I can replicate now with a brand new install of windows 10 right out of the box:

exception: FlexScript exception: MAIN:/project/exec/globals/serverinterface/sendreply the nodefunction called by httpgetquery did not call httpsendreply

It's hard to pin down, but there would appear to be problems in newer OS's with localhost using DCOM and the runtime broker. Jordan and I are presently trying to figure this out, with no luck so far.

Here is the error that Windows generates in the System Event Log. As you can see, there are permission issues now with both Windows 10 and Windows server (2016 and 2019) using DCOM. There are a few articles out there on how to fix this, but the permissions changes in Windows DCOM didn't fix this particular problem for whatever reason.

If this proves to be the case going forward, FlexSim is going to have to find another way to communcate with the browser and FlexSim without using DCOM.

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {2593F8B9-4EAF-457C-B68A-50F6B8EA6B54} and APPID {15C20B67-12E7-4BB6-92BB-7AFF07997402} to the user [xxMASKEDxx] SID (S-1-5-21-1240269418-2727376097-3897070786-500) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Scott T commented ·

Hi @Scott T, did you end up getting your question resolved? Is there anything else we can do from our end?

0 Likes 0 ·

1 Answer

Ben Wilson avatar image
0 Likes"
Ben Wilson answered

Hi @Scott T,

You could compare your graphics' Frames Per Second in a smaller model vs your large model to see if the size of the model is a component of the problem - to see if it is more related to the size of the model. The speed of the streaming shouldn't be effected by the size of the model, but the rendering of the model could make a big difference in terms of FPS.

You can turn on a FPS counter that will appear in the corner of your 3D view by going to File > Global Preferences > Graphics Tab and checking the box for Show FPS Counter:

It would be interesting to see the FPS on your model when running directly in FlexSim (no webserver) vs opening it and running it in the background from the webserver, and see how streaming the graphics affects the performance.

I'm also curious about your GPU and driver version. Both are shown on the Help > About FlexSim popup. Could you post a screenshot of your popup? Should look something like this:

If you're using a recent Nvidia GTX or RTX, the latest graphics driver version is 430.50 (that is what I have, but it may be a beta driver. Looks like the latest mainstream driver is 430.39). You could try updating the driver if it is a lesser version.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.