# \[Question\] SSR Error in linux

**URL:** <https://forum.techsoft3d.com/t/question-ssr-error-in-linux/2936>\
**Category:** HOOPS Visualize Web\
**Created:** [November 23, 2023, 1:33am UTC](https://forum.techsoft3d.com/t/question-ssr-error-in-linux/2936 "2023-11-23T01:33:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![monad1](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@monad1](https://forum.techsoft3d.com/u/monad1)\
**Post date:** [November 23, 2023, 1:33am UTC](https://forum.techsoft3d.com/t/question-ssr-error-in-linux/2936/1 "2023-11-23T01:33:39Z")

</div>

I used developer zone 2023\_SP2\_U2 tar file.  
And I un-tar the file.

When I access to the server like this:  
[http://192.168.0.162:11180/hoops\_web\_viewer\_sample.html?viewer=ssr&model=arboleda](http://192.168.0.162:11180/hoops_web_viewer_sample.html?viewer=ssr&model=arboleda)

![image](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/3/32d6526e8247f32a4bfe9447b35ed9d9a1581253.png)

Sever tells me below error:  
11/23/2023, 10:21:03 AM:warn: ts3d\_sc\_server failed: reason=‘failed to initialize the stream-cache’, exit-code=4, id=a8841455-3e88-43f4-9e48-e7dd270a7bd8  
11/23/2023, 10:21:03 AM:error: file-server: proxy-error: Error: socket hang up

— sever\_config.js —  
publicHostname: ‘192.168.0.162’  
ssrGpuCount: 2 // Machine has 2 GPU Card

Could you give me some clues?

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [November 24, 2023, 4:25pm UTC](https://forum.techsoft3d.com/t/question-ssr-error-in-linux/2936/2 "2023-11-24T16:25:46Z")

</div>

Hello @monad1,

One recommendation would be to check the Communicator logs to see if there is additional information on the initialization error. You can find the log directory as indicated by the server cmd window:

 ![communicator_logs](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/8/8c7ae6711bf9bbe40c469f45d820471fc79084c0.png)

Also, what type of Linux environment are you using? Desktop or server? Does client-side rendering (CSR) work?

Thanks,  
Tino

---

<div class="post-metadata">

**Author:** ![monad1](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@monad1](https://forum.techsoft3d.com/u/monad1)\
**Post date:** [November 27, 2023, 2:38am UTC](https://forum.techsoft3d.com/t/question-ssr-error-in-linux/2936/3 "2023-11-27T02:38:54Z")

</div>

hello @tino ,  
Thanks your reply.  
Log file tells me

11/23/2023, 10:21:03 AM:warn: ts3d\_sc\_server failed: reason=‘failed to initialize the stream-cache’, exit-code=4, id=a8841455-3e88-43f4-9e48-e7dd270a7bd8  
11/23/2023, 10:21:03 AM:error: file-server: proxy-error: Error: socket hang up

So, I think that the problem is networking setup issue.

1. uname -a tells me like this:  
Linux 3d 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86\_64 x86\_64 x86\_64 GNU/Linux

2. CSR is OK

3. The ubuntun machine has 2 GPU card.

Now I change the server\_config.js:  
ssrGpuCount: 2

And in one linux terminal “sudo /usr/bin/X :0 &” and “export DISPLAY=:0.0”

The result: SSR, CSR are OK.

I think the message “socket hang up” make me confused.  
In my situation, “hoops communicator has no display” may be correct.

---

<div class="post-metadata">

**Author:** ![flameshretoos](https://avatars.discourse-cdn.com/v4/letter/f/858c86/32.png) [@flameshretoos](https://forum.techsoft3d.com/u/flameshretoos)\
**Post date:** [December 21, 2023, 9:06pm UTC](https://forum.techsoft3d.com/t/question-ssr-error-in-linux/2936/4 "2023-12-21T21:06:40Z")

</div>

Review the logs generated by the server for more detailed error messages. The logs you provided indicate an issue with stream-cache initialization and a socket hang-up. More information in the logs might help pinpoint the problem. Check if there are any updates or patches available for the Hoops Web Viewer. Upgrading to the latest version may resolve known issues. Also try other options, for example [buy proxies](https://advanced.name/) would be a great idea if you need access from different locations. Consider enabling debugging options in your server configuration to get more detailed information about what is causing the initialization failure. This could include increasing the log verbosity or enabling additional debug flags. Refer to the documentation of the Hoops Web Viewer and the specific version you are using. It may provide insights into common issues and their resolutions. You could also reach out to the support channels provided by the software for assistance.
