How can I reconnect scz server manually?

Now I met a problem that we Frequently disconnect when I create a model connect with hoops server,there are some server logs below.

2025/04/25 09:51:30 [debug] 19#0: *973 recv: fd:25 -1 of 4096
2025/04/25 09:51:30 [info] 19#0: *973 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: 10.251.14.1, server: , request: “GET /ws/scz?renderingLocation=csr HTTP/1.1”, upstream: “http://10.250.73.95:8998/ws/scz?renderingLocation=csr”, host: “fview-uat.geely-test.com
2025/04/25 09:51:30 [debug] 19#0: *973 http upstream upgraded done

It’s possible that the data was sent too frequently, resulting in the connection being reset.

My client requires that the support of my hoops web client remain open throughout the day, and there is a need for enhanced connection and heartbeat check mechanisms.

Does hoops support these functions?

How can I establish a reconnection method through hoops?

Thanks a lot! plz help me ,its so hard for me .

Hello @Ying.Li11,

The server log snippet you provided seems to be coming from Nginx. Nothing jumps out to us as to the causes of the disconnection issue that you are experiencing. Have you had the opportunity to look at other forum posts on setting up the server, for exampe:

Thanks,
Tino

Hi tino,the problem is that the connect will break down when I use scz stream server.I cannot find the real reason to solve the problem. Is the model so big ? we often failed that the model scz file is so large.

Another condition that is different from the hoops demo is that my server is java. Will this have an impact? Although the server of the hoops demo is nodejs

I read my code,I found that we connect ts3d server directly ,but nodejs demo code tell us that we have to wait to recived the “ready” signal.
here are the pic that I screened.

Does it effect? or have another solver for this problem?

Based on the screenshots, nothing jumps as as being the cause of server disconnection. Nor do I suspect that Java versus Node is having an effect.

Let’s try taking a look at the Communicator logs which is specified in the server_config.js file based to the server. By default, the name of the folder is called ts3d_communicator_logs so you can just do a search for this folder. The folder will contain logs for the server and SSR (server side rendering) and CSR (client side rendering) spawned instanced.