CloudDB component

630 views
Skip to first unread message

Hossein Amerkashi

unread,
Dec 28, 2017, 3:54:20 PM12/28/17
to app-inventor-o...@googlegroups.com
Thanks for great update that includes map and cloud db.

We are trying to use CloudDB in our AppyBuilder distribution, but getting socket connection error.

 Should this component work out of box or should we set up special configuration like storage server and or secret keys?

Thanks
Hossein

Hossein Amerkashi

unread,
Dec 30, 2017, 3:35:38 PM12/30/17
to app-inventor-o...@googlegroups.com
Attached is the type of error that I get when I run local instance.
Please let me know if anything should be updated in any of the configuration files.

Thanks,
Hossein.
AppyBuilder.com
foo.png

Jeffrey Schiller

unread,
Dec 30, 2017, 3:51:34 PM12/30/17
to app-inventor-o...@googlegroups.com
Are you running a Redis server? If so, what port are you connecting to? Our default is 6381, but Redis's default is 6379.

-Jeff

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
To post to this group, send email to app-inventor-open-source-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.



--
_______________________________________________________________________
Jeffrey I. Schiller
Information Systems and Technology – MIT App Inventor
Massachusetts Institute of Technology
77 Massachusetts Avenue  Room 32G-530
Cambridge, MA 02139-4307
617.910.0259 - Voice
_______________________________________________________________________

Hossein Amerkashi

unread,
Dec 30, 2017, 3:54:26 PM12/30/17
to app-inventor-o...@googlegroups.com
No, I'm not using Redis server. Should we set up Redis server or can I use MIT AI Redis server for our distribution?


Thanks

On Sat, Dec 30, 2017 at 3:51 PM, Jeffrey Schiller <j...@mit.edu> wrote:
Are you running a Redis server? If so, what port are you connecting to? Our default is 6381, but Redis's default is 6379.

-Jeff
On Sat, Dec 30, 2017 at 3:35 PM, Hossein Amerkashi <kkas...@gmail.com> wrote:
Attached is the type of error that I get when I run local instance.
Please let me know if anything should be updated in any of the configuration files.

Thanks,
Hossein.
AppyBuilder.com

On Thu, Dec 28, 2017 at 3:54 PM, Hossein Amerkashi <kkas...@gmail.com> wrote:
Thanks for great update that includes map and cloud db.

We are trying to use CloudDB in our AppyBuilder distribution, but getting socket connection error.

 Should this component work out of box or should we set up special configuration like storage server and or secret keys?

Thanks
Hossein

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsubs...@googlegroups.com.



--
_______________________________________________________________________
Jeffrey I. Schiller
Information Systems and Technology – MIT App Inventor
Massachusetts Institute of Technology
Cambridge, MA 02139-4307
617.910.0259 - Voice
_______________________________________________________________________

Jeffrey Schiller

unread,
Dec 30, 2017, 4:06:29 PM12/30/17
to app-inventor-o...@googlegroups.com
The MIT AI Redis server can only be used by the MIT distribution because of the secrets we must keep to protect people's privacy.

An experiment that you can do is:

  1. Login to the MIT Distribution and drag a CloudDB component into a project.
  2. Copy the "Token" field out of the CloudDB component (it will have been generated when the component was dragged in) someplace (like an editor) and save it.
  3. Now go to your own distribution
  4. Create (or re-use) a project with the CloudDB component
  5. Set the RedisServer to clouddb.appinventor.mit.edu
  6. Make sure "useSSL" is checked (its the default) and that the RedisPort is 6381
  7. Now take the Token you copied in step [2] and put a % in font of it and enter it into the Token field of the project in your distribution (over-writing whatever may be there).
  8. See if the resulting project works...
-Jeff

Hossein Amerkashi

unread,
Dec 30, 2017, 5:41:48 PM12/30/17
to app-inventor-o...@googlegroups.com
Jeff, Thanks for your input. Still same issue and same error message

-Hossein.
AppyBuilder.com

Hossein Amerkashi

unread,
Jan 3, 2018, 7:29:18 AM1/3/18
to app-inventor-o...@googlegroups.com
Jeff, If I use your approach and use same token, will that cause security issue - meaning all users of our distro will use same token (see your instruction below)
Reply all
Reply to author
Forward
0 new messages