Are other people able to see the preview of a stream they have created because I’m not able to? Or am I missing something? I also tried it on the xyz server and in Firefox as well as Chrome.
Not sure what’s up, perhaps the preview service is a bit swamped. We’ll look into it (ping @cristi / @gergo). It might just be that that service is still on holiday, or recovering post NY celebrations…
Hmm, there was an internal error in the Preview generation microservice and it wasn’t working as expected.
I did a quick temporary fix so that the previews are generated and will look deeper into this.
(it has a queue of preview generation tasks, so the previews for the streams in question should appear after they’re generated - without re-uploading the objects)
We’ll also improve monitoring on this kind of situations so we’ll know in advance if something is not working as expected.
@JdB hmm, the preview service actually uses the viewer to load the object in a headless browser and create a screenshot basically.
So any objects that are supported in the viewer should also be in the preview.
There is a small race condition that we can improve on: After the viewer loads the object, we wait for a little bit (70ms) and then create the screenshot.
Apparently, sometimes the viewer doesn’t get the chance to render the scene after loading the object in 70ms.
We will increase the time to wait after the viewer loads the data, so it has the chance to render everything before taking the screenshot.
Unfortunately, this change will only be online in the next server release.
Also, the previews that are already generated will not be regenerated.
Question: Does it happen often? do you consider this urgent?
I think I noticed it a few times with meshes (simple stuff like lines etc. appear to work fine). You can also see it in this example stream: Speckle (I made you owner if that might be useful).
The preview appears to be missing almost all meshes: https://latest.speckle.dev/preview/f24b0f8972