Viewer Freezes and Model Fails to Load in SSR Mode, Works Fine in CSR Mode

Hello TechSoft3D,
I am encountering an issue with Server-Side Rendering (SSR) mode.

Issue -
The 3D model in the viewer is not loading and the viewer freezes when switching to Server-Side Rendering (SSR). It works fine in Client-Side Rendering (CSR) mode.

Getting empty model

As a way to simplify the issue, instead of initally setting the model to _empty, as shown in one of your screenshots:

…please trying launching SSR with an actual model such as the microengine.

Yes, I have launch SSR with microengine model. You can see in the browser url I have loaded microengine. the setCallback not getting triggered in SSR Mode.

I also added logs on server and client side. the server sends proper data to client and client also pings sc server.

Let’s try looking at your Communicator logs. To find out where the logs are generated, you can look at the server cmd window:

In that folder, there should be a .log file starting with comm_scserver_ssr. Please send that to me via a direct message (or if you wish, you can just upload it in your next forum post).

How to get this file in Ubuntu Linux environment?

You can do a search for a folder called ts3d_communicator_logs. In this folder are the .log files.

Did not found any file named as ts3d_communicator_logs.

To confirm, this is a folder not a file.

Let’s try running this in your Linux terminal:

find ~/ -type d -name ts3d_communicator_logs

Yes, I did this but file not found.

Perhaps it would be best if we first try launching the default Web Viewer in your server and spawn an SSR instance. To do this, please do the following in a Communicator SDK package:

  1. Launch the server by running the file start_server.sh found in the directory HOOPS_Communicator_2025.X.x/quick_start
  2. In web browser, launch a SSR instance by clicking the URL:
    http://localhost:11180/demo-app/index.html?viewer=ssr&model=bnc
    IMPORTANT: You may have to change “localhost” to be your DNS.

Are you able to launch an SSR instance?

Getting this error.

I downloaded new SDK again and tried their. It is working fine here.