Player installation error on a Raspberry Pi

  • 4
  • Question
  • Updated 3 years ago
  • Answered
Rise Vision Player failed to install correctly due to the following error:

Update check failed https://rvaserver2.appspot.com/v2/pla...=

on a raspberry Pi

Has anybody seen this before?
Photo of Robin Richards

Robin Richards

  • 170 Points 100 badge 2x thumb

Posted 5 years ago

  • 4
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Can't say I have run into that one before. Is it possible that URL is being blocked? Can you open it in a browser?
Photo of Robin Richards

Robin Richards

  • 170 Points 100 badge 2x thumb
Actual error message was that the certificate on the server was not activated.
Got around this by removing rvp_get_update from line 1137 of the rvplayer-installer.sh file...
Photo of Jason Maggard

Jason Maggard

  • 2,620 Points 2k badge 2x thumb
Out of curiosity, what distro are you using? The update works fine on my Raspbian build.
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Glad to hear you found a way to correct the issue, but I'm in the same boat as Jason, works like a charm on my build.
Photo of Robin Richards

Robin Richards

  • 170 Points 100 badge 2x thumb
Raspbian wheezy upgraded and updated
Photo of Robin Richards

Robin Richards

  • 170 Points 100 badge 2x thumb
Hmmm, removing the rvp_get_update function call was not a good idea, a lot of other required stuff was not installed at all.

Instead added --no-check-certificate to the wget call within the function body, and now all went well. ( So far... )
Photo of Julio Pajuelo

Julio Pajuelo

  • 92 Points 75 badge 2x thumb
Hi Robin, could you be more specific with change you have done to get it run?
I don.t know where to add this option on player
Photo of Jason Maggard

Jason Maggard

  • 2,620 Points 2k badge 2x thumb
Julio.... Much better to get your certs properly working. Try my instructions below and see if that fixes it for you.
Photo of Julio Pajuelo

Julio Pajuelo

  • 92 Points 75 badge 2x thumb
sudo apt-get install ca-certificates done but no ssl folder on usr
Photo of Jason Maggard

Jason Maggard

  • 2,620 Points 2k badge 2x thumb
Hmmm, they've never been installed anywhere else with that package...

Did you update your repository before installing? FYI, that's standard when installing Debian packages.

Try running:

sudo apt-get update
sudo apt-get install ca-certificates

The first one updates your repo list.
Photo of LED Leisure

LED Leisure

  • 60 Points
Adding my thanks to Robin - similar situation with ca-certificates being installed but seems like that certificate was not (or was invalid).
Adding the --no-check-certificates worked.

Suggest that maybe the installer script might need a tweak to at least explain to novice users what the issue is, or alternatively auto-correct it for the user?
Photo of Jason Maggard

Jason Maggard

  • 2,620 Points 2k badge 2x thumb
Do you have ca-certificates installed?

sudo apt-get install ca-certificates

If you do, make sure that you have your certificates directory in the ~/.wgetrc file

ca_directory = /usr/ssl/certs

/usr/ssl/certs is the default directory for Wheezy... Check and make sure they're there.

The no-check-certificate works, but it leaves you potentially vulnerable to a man in the middle attack.
Photo of Robin Richards

Robin Richards

  • 170 Points 100 badge 2x thumb
Something bizarre going on here...

Started again with a blank sd card,
Installed raspbian latest img download
sudo updated, upgraded, dist-upgraded, installed certificates etc, made sure about the `/.wgetrc file and that the certificates were in the directry specified.
Did this twice, still failed as above.

Julio, as recommended by others in this topic, what I did was not secure or a good idea, but:
On or around line 385 of the rvplayer-installer.sh file,
change
update_content=`wget -O - $update_url` || update_content="" rvp_exit_with_error "Update check failed $update_url"
to
update_content=`wget --no-check-certificate -O - $update_url` || update_content="" rvp_exit_with_error "Update check failed $update_url"
Again, this is not secure and you do so at your own risk.
Photo of Julio Pajuelo

Julio Pajuelo

  • 92 Points 75 badge 2x thumb
Thanks Robin for your instructions. It helped me because i was very frustrated after two weeks trying with certification, different OS, different SD,....
Just my problem now is that after introduce Claim ID or Display ID and click on ADD, nothing happens :(
Let's continue fighting with this.
Photo of Robin Richards

Robin Richards

  • 170 Points 100 badge 2x thumb
Hi Julio,
I had the same problem with nothing happening after clicking ADD, so I figured, as I was editing rvplayer-installer.sh anyway, that I might as well put the CLAIM_ID and / or the DISPLAY_ID where those variables are declared on lines 23 and 24. That worked for me.
Rob
Photo of Julio Pajuelo

Julio Pajuelo

  • 92 Points 75 badge 2x thumb
Sorry Robin because i didn't thank you for your help and answers about this topic. I finally got running on my raspberry. Now i'm playing with RiseVision environment.
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
I just wanted to say thanks VERY much to Robin and Jason so far! I've learned a lot from this thread...
Photo of Ashlee Hunter

Ashlee Hunter

  • 100 Points 100 badge 2x thumb
I want to thank you all as well! I was seeking help on this issue 7 months ago and ended up ditching raspi and went with an Ubuntu install for Rise. We later circled back to try Raspi again; and today I encountered the same issues as before. 

The change in the installer file resolved my issue! (though technically not best practice.) 
You guys are awesome! Thanks so much! 
Photo of James Cardona

James Cardona

  • 102 Points 100 badge 2x thumb
This reply was created from a merged topic originally titled rise vision player not installing on raspberry pi.

Installed Noobs on raspberry pi. everything works great. trying to install rise vision player. it goes through the whole installation, jre 1.7 installed, then checks for the update and errors out.

rise vision player failed to install correctly due to the following error: Update check failed https://rvaserver2.appspot.com/v2/pla...=