[Urgent] app.rhohub.com SSL error, prevents me to build locally
Hello, yesterday afternoon I wanted to build my project that was building fine before, but I received the following error
CMD: rake token:check
OpenSSL::SSL::SSLError: hostname does not match the server certificate
/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/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:481:in `block 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 '
Tasks: TOP => token:check => token:read
(See full trace by running task with --trace)
Connecting to https://app.rhohub.com
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!
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:
We will also be releasing 5.0 Service Pack very soon that will also contain this fix (as well as others).
Also - if you do not want to build from Master, you can modify your Rakefile in the rhodes-5.0.2 folder:
$server_list = [
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
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
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.
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.