Rendezvous server

914 views
Skip to first unread message

Andrea Tessadri

unread,
Feb 28, 2014, 4:41:47 AM2/28/14
to app-inventor-o...@googlegroups.com
Hello everybody,
   I cannot connect the companion app to the server.
When I enter the 6 digit code into the companion app. I get a message saying the device cannot reach the URL http://rendezvous.appinventor.mit.
I am working on a PC without internet connectivity and with a Wi-Fi key working as access point.
To overcome the problem I tried to configure a local DNS server to resolve rendezvous.appinventor.mit.edu with the IP address of my PC.
Even if from DNS log I see that the name is properly resolved, the companion app cannot connect to the Dev Server.

On the CMD window from which I have launched the Dev Server I get this message:
INFO: Got /rendezvous but nobody was logged in.

Thank you in advance for your help.

   Andrew

Jos Flores

unread,
Feb 28, 2014, 1:26:43 PM2/28/14
to app-inventor-open-source-dev
There is no way to use the Companion app without an Internet
connection, unless you go in an modify the sources.

If you are using Hossein's App Inventor distribution, you will have to
either use the emulator or the USB connection if you want to use it
fully offline.

cheers,
José
> --
> 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-so...@googlegroups.com.
> To post to this group, send email to
> app-inventor-o...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/app-inventor-open-source-dev.
> For more options, visit https://groups.google.com/groups/opt_out.

Andrea Tessadri

unread,
Feb 28, 2014, 1:43:25 PM2/28/14
to app-inventor-o...@googlegroups.com
Thanks Jose, I will ask my students to make the app and then to download it to the mobile device with USB.
Unfortunately we have in the school only Windows PCs and I've never been able to connect the tablet to PC in debugging mode via USB (Rockchip drivers ...).
Linux is another story, I can connect with ADB via USB, but in the school lab we don't have Linux neither a reliable internet connection.
Keep in touch

  Andrea


You received this message because you are subscribed to a topic in the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/app-inventor-open-source-dev/vuzt9i6x2oo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to app-inventor-open-so...@googlegroups.com.

Yutthana

unread,
Feb 28, 2014, 7:20:12 PM2/28/14
to app-inventor-o...@googlegroups.com

Andrea Tessadri

unread,
Mar 3, 2014, 10:36:03 AM3/3/14
to app-inventor-o...@googlegroups.com
Hi Yutthana,
   I've downloaded and tested the App Inventor 2 server that you have recommended.
Unfortunately I cannot connect as well via Wi-Fi.
The companion app is trying to push the key to connect to the rendez-vous at the port 9987.
I saw the server is listenin, other then 8888 port, also at the port 9990: do you think is that port the one the companion app should connect ?
If yes, how to change it for 9987.

Thanks

   Andrea



On Sat, Mar 1, 2014 at 1:20 AM, Yutthana <kru...@gmail.com> wrote:
www.sourceforge.net/p/ai2u

Yutthana

unread,
Mar 3, 2014, 10:41:54 AM3/3/14
to app-inventor-o...@googlegroups.com
I think you have old emulator in your home folder.
Delete .appinventor in your home folder restart machine and try again.

Yutthana

unread,
Mar 3, 2014, 10:51:37 AM3/3/14
to app-inventor-o...@googlegroups.com
If you use real android device reinstall "MIT AI2 Companion.apk" located in C:\AI2U\Emulator to your device.

Andrea Tessadri

unread,
Mar 4, 2014, 9:36:50 AM3/4/14
to app-inventor-o...@googlegroups.com
Hi Yutthana,
I tried version 1.1, but I saw the connection between Android
device and App Inventor server must be USB.
I wouldn't like to use USB because we don't have a Windows driver for
ADB (Rockchip RK2926), or yes, we have it but it never worked.
We wouldn't like to use the emulator since in the classroom every
student has its own Android device.
So, I expected to find an App Inventor server letting me to connect
over Wi-Fi with rendez-vous, but yours doesn't work, since Companion
Apk is asking for USB connection.

Version 1.0 has a Companion Apk with rendez-vous procedure (code or
QR), but the App Inventor server doesn't reply. I even cannot see the
proper TCP port (9987) open on server side.

Any other suggestion ?
Thanks as well for your time.

Andrea


On 3/3/14, Yutthana <kru...@gmail.com> wrote:
> If you use real android device reinstall "MIT AI2 Companion.apk" located
> in C:\AI2U\Emulator to your device.
>

Andrea Tessadri

unread,
Mar 5, 2014, 3:09:41 AM3/5/14
to app-inventor-o...@googlegroups.com
Hi Yutthana,
   I found a Rendez-vous server here:
The server is listening at port 3000 but it's not clear for me how it send clearance to the App Inv Dev server to let a device to connect to.
Are you able to understand how to setup the environment to have Dev Server + Build Server + Rendez-vous server to work all together ?
Thanks again

   Andrea



On Mon, Mar 3, 2014 at 4:51 PM, Yutthana <kru...@gmail.com> wrote:
If you use real android device reinstall "MIT  AI2 Companion.apk"  located in C:\AI2U\Emulator to your device.

Yutthana

unread,
Mar 5, 2014, 10:42:39 AM3/5/14
to app-inventor-o...@googlegroups.com
I did't found document to make it run on Windows.
But found Readme in your link for the idea.
Rendez-vous is nodejs module if I want to run it locally.
I think I should make nodejs , memcache , nano and couchdb as portable.
Then, mod .yail and .scm to point to local server.

Any other suggestion ? 

Andrea Tessadri

unread,
Mar 6, 2014, 3:33:34 AM3/6/14
to app-inventor-o...@googlegroups.com
Hi Yutthana,
   yes this is what I did and I was able to run rendevous.js on top of node, nano and memcache for Windows.
Anyway even if the server can get properly the key from the Android device, it seems the Dev Server cannot get such key from the database (so it can't get the Android IP address).
What do you mean to change .yail and .scm ?
I am not so confident with it. Could you please better explain which files I should change ?
Thanks again for your cooperation.

  Andrea



--
Reply all
Reply to author
Forward
0 new messages