[Urgent] app.rhohub.com SSL error, prevents me to build locally

// Expert user has replied.
J Junk Ukie 2 years 11 months ago
135 6 0

Hello, yesterday afternoon I wanted to build my project that was building fine before, but I received the following error

CMD: rake token:check
rake aborted!
OpenSSL::SSL::SSLError: hostname does not match the server certificate
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rest-client-1.7.2/lib/restclient/request.rb:413:in `transmit'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rest-client-1.7.2/lib/restclient/request.rb:176:in `execute'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rest-client-1.7.2/lib/restclient/request.rb:41:in `execute'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rest-client-1.7.2/lib/restclient.rb:65:in `get'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/lib/build/rhohub/base.rb:42:in `check'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/lib/build/rhohub/subscription.rb:5:in `block in check'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/lib/build/rhohub/base.rb:6:in `catch_all'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/lib/build/rhohub/subscription.rb:4:in `check'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:482:in `block (2 levels) in check_update_token_file'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:429:in `rhohub_make_request'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:481:in `block in check_update_token_file'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:475:in `each'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:475:in `check_update_token_file'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/gems/rhodes-5.0.2/Rakefile:670:in `block (2 levels) in '
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `eval'
/Users/[user]/.rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `'
Tasks: TOP => token:check => token:read
(See full trace by running task with --trace)
Connecting to https://app.rhohub.com
RET: 1
Error in build application. Build is terminated.

When I open Safari or Chrome for https://app.rhohub.com I see that certificate has an error. See attached image. I'm using MacOS 10.9.5 and RhoMobile Studio 5.

Please help. Thank you!

Please register or login to post a reply

6 Replies

R Robert Galvin

We are aware of this issue and are working on a resolution (on both the server side and Rhodes side). You will encounter this depending on your development environment (particularly around versions of Ruby and SSL libraries).

For now, you can download the Master Rhodes and build from that (by changing the sdk path in your build.yml). Then you can override the cloud server in either rhobuild.yml or build.yml with the following entry:

cloud:
  server_url:
  - https://rms.rhomobile.com/api/v1

We will also be releasing 5.0 Service Pack very soon that will also contain this fix (as well as others).

R Robert Galvin

Also - if you do not want to build from Master, you can modify your Rakefile in the rhodes-5.0.2 folder:

Search for

$server_list = [
and change

$server_list = ['https://app.rhohub.com/api/v1', 'https://appstaging.rhohub.com/api/v1']
to

$server_list = ['https://rms.rhomobile.com/api/v1', 'https://rmsstaging.rhomobile.com/api/v1']

J Jon Tara

Seems strange that RhoMobile would use GoDaddy registration and private/proxy registration.

A non-anonymous registration with a more-mainstream registrar would inspire more confidence.

The immediate problem, though, is that the certificate installed on rhohub.com is for rhomobile.com.

☹ ➜  7.1 whois rhohub.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: RHOHUB.COM
   Registrar: GODADDY.COM, LLC
   Whois Server: whois.godaddy.com
   Referral URL: http://registrar.godaddy.com
   Name Server: NS51.DOMAINCONTROL.COM
   Name Server: NS52.DOMAINCONTROL.COM
   Status: clientDeleteProhibited
   Status: clientRenewProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Updated Date: 11-jul-2014
   Creation Date: 25-sep-2008
   Expiration Date: 25-sep-2016

>>> Last update of whois database: Wed, 22 Oct 2014 18:43:32 GMT

J Junk Ukie

I went to rhomobile/rhodes · GitHub and noticed that source has been updated to fix that. How do I install latest gem from source?

The instructions on the website say to run gem install rhodes but I don't think that would work.

Thank you

J Junk Ukie

My temporary solution was to find text https://app.rhohub.com and then make appropriate change that would fix the issue.

I fixed the issue by making a change in Rakefile at line 556 by replacing https with http. I realize that is not secure for the token, but I have to finish my work with the build.

K Kutir Mobility

This issue needs assistance from Motorola folks.
Lets wait to hear from them.

Thank you.
Kutir Mobility

CONTACT
Can’t find what you’re looking for?