RSConnect Quickstart Issue

Tried several troubleshooting tips (see below), but to no avail. Currently stuck at loading state when launching RSConnect from landing page.

Attempted:

  1. license activation using the offline-activation app
  • Success; got license for RSConnect
  1. Trouble with getting to Connect interface, also VirtualBox idiosyncracies
  • Log output as follow:
rstudio@rstudio-quickstart:~$ curl -I https://www.rstudio.com/
HTTP/2 200
server: nginx
date: Mon, 23 Sep 2019 22:06:39 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
vary: Accept-Encoding
x-pingback: https://www.rstudio.com/xmlrpc.php
link: <https://www.rstudio.com/wp-json/>; rel="https://api.w.org/"
link: <https://www.rstudio.com/>; rel=shortlink
x-cacheable: SHORT
vary: Accept-Encoding,Cookie
cache-control: max-age=600, must-revalidate
x-cache: HIT: 125
x-pass-why:
x-cache-group: normal
accept-ranges: bytes

rstudio@rstudio-quickstart:~$ cat /etc/rstudio-quickstart/version
onfig -a
sudo /u20190507-033722sr/lirstudio@rstudio-quickstart:~$ ifconfig -a
udio-server/bin/licensenp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
e-ma        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::a00:27ff:fe9c:9893  prefixlen 64  scopeid 0x20<link>
nager        ether 08:00:27:9c:98:93  txqueuelen 1000  (Ethernet)
        RX packets 564  bytes 102637 (102.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 643  bytes 479766 (479.7 KB)
 status
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 368  bytes 42146 (42.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 368  bytes 42146 (42.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

rstudio@rstudio-quickstart:~$ sudo /usr/lib/rstudio-server/bin/license-manager status
t/rstudio-connect/bin/license-manager status
sudo /opt/rstudio-pm/bin/license-manager statusRStudio License Manager 1.2.1335-1

-- Local license status --

Trial-Type: Verified
Status: Expired
Has-Key: No
Has-Trial: No
License-Scope: System

-- Floating license status --

License server not in use.
rstudio@rstudio-quickstart:~$ sudo /opt/rstudio-connect/bin/license-manager status
RStudio License Manager 1.2.502-1

-- Local license status --

Trial-Type: Verified
Status: Evaluation
Days-Left: 46
License-Scope: System

-- Floating license status --

License server not in use.
rstudio@rstudio-quickstart:~$ sudo /opt/rstudio-pm/bin/license-manager status
RStudio License Manager 1.2.1329-3

-- Local license status --

Trial-Type: Verified
Status: Expired
Has-Key: No
Has-Trial: No
License-Scope: System

-- Floating license status --

License server not in use.

I noticed that rstudio-pm and rstudio-server status is Expired. Does this mean I also have to get the license (.xml) for both to get RSConnect to work?

  1. Restarted the QuickStart a couple of times; cleared browser history and powered off VM. Also did re-import *.ova a few times, with generate new MAC address as per guide for Windows.

Look forward to some guidance.

Thanks.

Very interesting!! Thanks for reaching out!! If Connect is what you're focused on, you don't need to worry about RStudio Server Pro or RStudio Package Manager. However, you may unfortunately need to go through the same activation process for each if you do want to take a look at those products.

Did you have to go through the offline activation process because you are on a corporate network? I'm surprised the licenses did not automatically activate for you!

In any case, try the following commands - it looks like Connect may just need to be started?

sudo systemctl status rstudio-connect
sudo systemctl restart rstudio-connect
sudo systemctl status rstudio-connect

Then have a look at the UI to see if it is working:

curl -i http://localhost:5000/rsconnect/
3 Likes

Appreciate the prompt and precise solution!

We'd like to try out the publishing function from RS Server to RS Connect, so will have to request license for the former as well, I suppose.

1 Like

Awesome! So glad to hear that was resolved! Definitely let us know if you run into any more issues!

Does the offline trial activation process work without a license key? If you need our team to provide a key for you, do you have a contact that you've already been in discussion with? If not, feel free to ping sales@rstudio.com, and someone should be able to get you a trial key for the other products!

Apologies for your trouble with the licensing! We are very much hopeful of finding ways to make this process smoother, that way the "QuickStart" can actually be quick :joy:

This really helped; hope it'll get integrated into QuickStart for future testers.

Isn't the offline trial activation process meant to generate the license key, in cases where it doesn't automatically do so (even in internet connection)? In this case, it works, since we verified that license is read by RS Connect.

We're in contact with @rachael already; hope to have a conclusion to our evaluation soon.

Thanks again for RStudio team's help.

1 Like

Awesome! Our pleasure! And yes, we will definitely aim to integrate that work into future QuickStart versions!

Yes, the offline trial activation process is meant to get the trial working. But if it doesn't, we like to use an actual license key as a "fallback method" to make sure we unblock people when licensing is being strange. :slight_smile:

Sorry for the late reply here - I typed this up and forgot to send!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.