RisePlayer kills chrome when using non-standard port

  • 1
  • Question
  • Updated 3 years ago
  • Answered
If I use a non-standard port by specifying base.port in RisePlayer.properties the chome instance gets killed every 60 seconds.

Obviously, this appears to be a problem with the heartbeat timer, but specifying "heartbeatoverride = true" in RiseDisplayNetworkII.ini doesn't seem to help. I've even added "restartoverride = true" to no avail.

How do I stop chrome from getting killed when using a non-standard port?

I'm using the standalone Linux client. RisePlayer.ver is 2016.02.11.21.00.

 
Photo of Anonymous

Anonymous

  • 170 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Hey there,

Can I ask why you're using a non-standard port and what it is? Have you tried multiple ports, or just this one?
Photo of Anonymous

Anonymous

  • 170 Points 100 badge 2x thumb
I'm running multiple instances of the RisePlayer. Different users on different displays. The player fails to start if the port is already bound. I'm adding the display number to the port so DISPLAY:0 would be on port 9449, DISPLAY :1 would be port port 9450, etc.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Thanks for the additional information. Let me check in with some colleagues to see if they have any ideas.
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Hi there anonymous,

I was just discussing this with a colleague, and I am going to go ahead and test this out to see if I can recreate.

We will let you know what we discover.

Thanks!
Photo of Anonymous

Anonymous

  • 170 Points 100 badge 2x thumb
I'm guessing that the heartbeat comes from the viewer and the viewer doesn't know about the port change.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Just to confirm and get some clarity, let me touch base with my understanding of the situation.

  • You want to run multiple instances of Rise Player on the same media player
  • You are accomplishing this by creating multiple directories with the Rise Player installed
  • Each Rise Player directory has a base.port defined in a RisePlayer.properties file that you have created
I believe as part of the startup process, Rise Player kills any active Chrome instances. How are you getting around that?
Photo of Anonymous

Anonymous

  • 170 Points 100 badge 2x thumb
Yep, yep (separate users, each with their own home directories), and yep.

I'm starting RiseCache and RisePlayer using my own set of scripts, but even if I was using start.sh and stop.sh the pkill commands would only affect the current user. Users can't kill other users processes.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Thanks for the additional information. I have some leads here that I need to test out. I'll get back to you soon!
Photo of Anonymous

Anonymous

  • 170 Points 100 badge 2x thumb
For more background information see:

https://community.risevision.com/rise_vision_inc/topics/rise-vision-on-centos

I've made some progress since then :)
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Aright! I think we've got a handle on this! Keep in mind, this is certainly a fringe case, but we were curious :)

In the RiseDisplayNetworkII.ini file, can you modify the line "heartbeatoverride = true" to "heartbeatoverride=true". Before editing the document, please ensure that you've killed Rise Player by either running ./stop from /rvplayer, or by use sudo killall java and sudo killall chrome.
Photo of Anonymous

Anonymous

  • 170 Points 100 badge 2x thumb
Ok, removing the spaces appears to be working :)

However, the heartbeat is obviously not working. I've already seen a Chrome "Aw, snap" page in my 20 minutes of testing, but I guess that's a separate issue.

FYI, "base.port = 9449" in RisePlayer.properties *needs* a space or else it doesn't work.

Thank you very much for quick attention on this.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
No problem! Let us know if you need any further help.

I'm going to set the status of this question to answered. If you have any other questions relating to heartbeat, please start a new thread so we can give it individual attention.