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 <top (required)>'
/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 `<main>'
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!
This issue needs assistance from Motorola folks.
Lets wait to hear from them.
Thank you.
Kutir Mobility
Points: 0
You voted ‘up’
Is there a better way to escalate this issue with Motorolla?
Points: 0
You voted ‘up’
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.
Points: 0
You voted ‘up’
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
Points: 0
You voted ‘up’
Tested this morning (Oct 23rd CEST) and is working correctly for me using the standard v5.0.2 gem.
~Pietro
Points: 0
You voted ‘up’
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 <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Domain Name: RHOHUB.COM
Registry Domain ID: 1521254938_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Update Date: 2014-07-11 13:23:48
Creation Date: 2008-09-24 18:16:14
Registrar Registration Expiration Date: 2016-09-24 18:16:14
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: abuse@godaddy.com
Registrar Abuse Contact Phone: +1.480-624-2505
Domain Status: clientTransferProhibited
Domain Status: clientUpdateProhibited
Domain Status: clientRenewProhibited
Domain Status: clientDeleteProhibited
Registry Registrant ID:
Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 14747 N Northsight Blvd Suite 111, PMB 309
Registrant City: Scottsdale
Registrant State/Province: Arizona
Registrant Postal Code: 85260
Registrant Country: United States
Registrant Phone: +1.4806242599
Registrant Phone Ext:
Registrant Fax: +1.4806242598
Registrant Fax Ext:
Registrant Email: RHOHUB.COM@domainsbyproxy.com
Registry Admin ID:
Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 14747 N Northsight Blvd Suite 111, PMB 309
Admin City: Scottsdale
Admin State/Province: Arizona
Admin Postal Code: 85260
Admin Country: United States
Admin Phone: +1.4806242599
Admin Phone Ext:
Admin Fax: +1.4806242598
Admin Fax Ext:
Admin Email: RHOHUB.COM@domainsbyproxy.com
Registry Tech ID:
Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 14747 N Northsight Blvd Suite 111, PMB 309
Tech City: Scottsdale
Tech State/Province: Arizona
Tech Postal Code: 85260
Tech Country: United States
Tech Phone: +1.4806242599
Tech Phone Ext:
Tech Fax: +1.4806242598
Tech Fax Ext:
Tech Email: RHOHUB.COM@domainsbyproxy.com
Name Server: NS51.DOMAINCONTROL.COM
Name Server: NS52.DOMAINCONTROL.COM
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
Last update of WHOIS database: 2014-10-22T18:00:00Z
--------
☺ ➜ 7.1 whois rhomobile.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: RHOMOBILE.COM
Registrar: GODADDY.COM, LLC
Whois Server: whois.godaddy.com
Referral URL: http://registrar.godaddy.com
Name Server: NS31.DOMAINCONTROL.COM
Name Server: NS32.DOMAINCONTROL.COM
Status: clientDeleteProhibited
Status: clientRenewProhibited
Status: clientTransferProhibited
Status: clientUpdateProhibited
Updated Date: 11-jul-2014
Creation Date: 03-sep-2008
Expiration Date: 03-sep-2016
>>> Last update of whois database: Wed, 22 Oct 2014 18:45:34 GMT <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Domain Name: RHOMOBILE.COM
Registry Domain ID: 1517716223_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Update Date: 2014-07-11 13:23:39
Creation Date: 2008-09-03 17:55:07
Registrar Registration Expiration Date: 2016-09-03 17:55:07
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: abuse@godaddy.com
Registrar Abuse Contact Phone: +1.480-624-2505
Domain Status: clientTransferProhibited
Domain Status: clientUpdateProhibited
Domain Status: clientRenewProhibited
Domain Status: clientDeleteProhibited
Registry Registrant ID:
Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 14747 N Northsight Blvd Suite 111, PMB 309
Registrant City: Scottsdale
Registrant State/Province: Arizona
Registrant Postal Code: 85260
Registrant Country: United States
Registrant Phone: +1.4806242599
Registrant Phone Ext:
Registrant Fax: +1.4806242598
Registrant Fax Ext:
Registrant Email: RHOMOBILE.COM@domainsbyproxy.com
Registry Admin ID:
Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 14747 N Northsight Blvd Suite 111, PMB 309
Admin City: Scottsdale
Admin State/Province: Arizona
Admin Postal Code: 85260
Admin Country: United States
Admin Phone: +1.4806242599
Admin Phone Ext:
Admin Fax: +1.4806242598
Admin Fax Ext:
Admin Email: RHOMOBILE.COM@domainsbyproxy.com
Registry Tech ID:
Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 14747 N Northsight Blvd Suite 111, PMB 309
Tech City: Scottsdale
Tech State/Province: Arizona
Tech Postal Code: 85260
Tech Country: United States
Tech Phone: +1.4806242599
Tech Phone Ext:
Tech Fax: +1.4806242598
Tech Fax Ext:
Tech Email: RHOMOBILE.COM@domainsbyproxy.com
Name Server: NS31.DOMAINCONTROL.COM
Name Server: NS32.DOMAINCONTROL.COM
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
Last update of WHOIS database: 2014-10-22T18:00:00Z
Points: 0
You voted ‘up’
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).
Points: 1
You voted ‘up’
Also - if you do not want to build from Master, you can modify your Rakefile in the rhodes-5.0.2 folder:
Search for
and change
to
Points: 0
You voted ‘up’
Log in to post comments