q: rhoconnect login & device license

110 views
Skip to first unread message

tom

unread,
Feb 8, 2012, 11:28:47 AM2/8/12
to rhomobile
hi

is it correct to say that everytime a rhodesapp runs tru the
rhoconnect authenticate method one (1) device license gets deducted
from the available licenses?


thx for clarification

tom

unread,
Feb 8, 2012, 12:36:31 PM2/8/12
to rhomobile
another question:

is there a way to set the client_id or pick the cookie or session or
something to specify which user should be logged in into rhoconnect?
to me it seems that it always picks the last one...which is not good
at all in my opinion

thx

tom

unread,
Feb 12, 2012, 4:17:09 AM2/12/12
to rhomobile
could anyone please clarify my questions below?
thx

David Jantzen

unread,
Feb 12, 2012, 11:38:45 AM2/12/12
to rhom...@googlegroups.com
I also am confused by this. Anyone know? Rhoconnect (3.0.6) is telling me that I've run out of available licenses, and calling rhoconnect:reset is aborting with "422 Unprocessable Entity".

--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to rhomobile+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhomobile?hl=en.


Burgess Lars-KDWC48

unread,
Feb 13, 2012, 12:07:39 PM2/13/12
to <rhomobile@googlegroups.com>
Not sure I follow you here, a user is just a pointer to some partitioned data in redis.  A device associates with a user by logging in with specific credentials and establishing a session cookie with the server.  There wouldn't be anything to pick between because the device tells rhoconnect which user it is (by the session cookie it has).

-Lars

tom

unread,
Feb 13, 2012, 12:10:58 PM2/13/12
to rhom...@googlegroups.com
hi & thx

my issue is that everytime the user runs tru the rhoconnect
authetnication method, either a new user or one which has synced
before, everytime gets one license deducted. is that correct?

thx

Burgess Lars-KDWC48

unread,
Feb 13, 2012, 12:18:46 PM2/13/12
to <rhomobile@googlegroups.com>
Each new device that authenticates yes, rhoconnect licenses are per device, not per user.

-Lars

tom

unread,
Feb 13, 2012, 12:27:38 PM2/13/12
to rhom...@googlegroups.com
then there is something wrong:

im testing with only one emulator. 1 backendsystem, multitenant. ergo
a username/pwd combo is used to contain the url/company/user info. im
testing with 2 users on one android emulator.

everytime i go tru the login

usera/companya
usera/companyb
userb/companya
userb/companyb
....
usera/companya
usera/companyb
userb/companya
userb/companyb
.....

it deducts one license. i am using userpartition

not sure why it decrements #licenses.


sorry for the trouble

,

On Mon, Feb 13, 2012 at 6:18 PM, Burgess Lars-KDWC48

Burgess Lars-KDWC48

unread,
Feb 13, 2012, 12:37:30 PM2/13/12
to <rhomobile@googlegroups.com>
That sounds correct to me, every time you login with a different user, rhodes wipes the data for the previous user and uses a new license.

-Lars

tom

unread,
Feb 13, 2012, 12:49:40 PM2/13/12
to rhom...@googlegroups.com
ok, if rhoconnect(-devices) are the rhodes(-sessions), then it makes
sense. but in a multitenant backend scenario this is not suitable. not
sure. need to think that over


thx for ur patience!!!

On Mon, Feb 13, 2012 at 6:37 PM, Burgess Lars-KDWC48

Alexander Babichev

unread,
Feb 13, 2012, 2:13:52 PM2/13/12
to rhomobile
You can reset licenses in web console (http://localhost:9292/console/)
by pressing on reset link or delete one or more users.

On Feb 12, 8:38 am, David Jantzen <mr.djant...@gmail.com> wrote:
> I also am confused by this. Anyone know? Rhoconnect (3.0.6) is telling me
> that I've run out of available licenses, and calling rhoconnect:reset is
> aborting with "422 Unprocessable Entity".
>
>
>
>
>
>
>
> On Sun, Feb 12, 2012 at 1:17 AM, tom <tomabr...@gmail.com> wrote:
> > could anyone please clarify my questions below?
> > thx
>
> > On Wed, Feb 8, 2012 at 6:36 PM, tom <tomabr...@gmail.com> wrote:
> > > another question:
>
> > > is there a way to set the client_id or pick the cookie or session or
> > > something to specify which user should be logged in into rhoconnect?
> > > to me it seems that it always picks the last one...which is not good
> > > at all in my opinion
>
> > > thx
>

tom

unread,
Feb 13, 2012, 2:48:02 PM2/13/12
to rhom...@googlegroups.com
thx alex - im aware of that feature.
i was discussing a biz-model with a multitenant backend.

tom

unread,
Feb 15, 2012, 1:19:06 PM2/15/12
to rhom...@googlegroups.com
hi

just wanted to dbl check the rhoconnect-device-counter: i just tested
again with 2 users:
- tom
- admin

this is the flow:

login with tom > sync > logout
>> 9devices available

login as admin > sync > logout
>> 8 devices avail.

login as tom (again) > sync > logout
>> 7 devices available (2 devices registered under tom)

is this correct?

thx

On Mon, Feb 13, 2012 at 6:37 PM, Burgess Lars-KDWC48

Burgess Lars-KDWC48

unread,
Feb 15, 2012, 1:26:57 PM2/15/12
to <rhomobile@googlegroups.com>
Yes

-Lars

tom

unread,
Feb 15, 2012, 2:45:29 PM2/15/12
to rhom...@googlegroups.com
ok. thx

may i ask why? wouldnt it be enough to count licenses by username? so
regardless from where or what device he logs-on, it would be only one
license

scenario1: a person has multiple real devices, hence usage on
different devices 'costs' multiple license.
>> what good woudl it do to have the same data on 2 devices?

scenario2: a person wants to interact with a multitenant backend
(different usernames) in one app (app partition is no choice), on 'his
only' device

i think scenario2 is in a kinda disadvantaged position in terms of
current license-structure, unless im missing sthing. pls enlight
me.thx

thx

On Wed, Feb 15, 2012 at 7:26 PM, Burgess Lars-KDWC48

Reply all
Reply to author
Forward
0 new messages