specklesystems / speckle-server

The Speckle Server, Frontend, 3D Viewer, & other JS utilities.
https://speckle.systems
Other
641 stars 162 forks source link

Bug: object loader timeout #1415

Open oguzhankoral opened 1 year ago

oguzhankoral commented 1 year ago

This bug appeared when we try to receive a big model from revit to sketchup. On sketchup we use ObjectLoader to get objects by getAndConstructObject method.

What package are you referring to?

ObjectLoader

Describe the bug

Operation somehow timeouts or something. Jedd was saying this might be a problem with download limit of single API call.

To Reproduce

Try to fetch objects from this commit -> https://speckle.xyz/streams/7e9353fdd3/commits/fa4f7e448e

Desktop (please complete the following information):

iainsproat commented 1 year ago

I opened the web viewer for the commit, linked above.

It loads, displays the default pose for the model and then the viewer crashes (probably I ran out of memory in my browser).

Screenshot 2023-03-01 at 16 00 51

The API calls were successful, and we can see it returns objects from the server ( I tried it twice, once at 56 minutes past and again at 59 minutes past). The batch sizes are slightly different for each attempt which is normal.

Screenshot 2023-03-01 at 16 04 17

@oguzhankoral - can you please try it again from SketchUp? Please let me know the time at which you attempted to access the stream from Sketchup. I can get the logs from the server at that point in time.