AI Companion fails at 20% loading

How did you try Greg?

On your PC, click Connect> Companion This will elicit a QR code on your PC screen.
On your Android, click your Android MIT AI2 Companion icon.
When Companion appears STOP a second and tick the Use Legacy Connection check box; and only then use the blue scan QR code button and scan the QR code.

MIT is having sever server issues and is acquiring new server hardware. This work around avoids the 20% issue it appears for all but you. You say it does not work for you.

Same problem. Legacy unchecked, it hangs at 20 percent. Indefinitely, it appears. Legacy checked--I get some connection error message. Fairly quickly.

Time to go to lunch.

Hi, I am having the same problem as Greg and Richard. I have tried a few methods with the following outcome.

Stuck at 20%:

  1. Chrome + MIT Companion
  2. Chorme + Bluestack using MIT Companion
  3. Firefox + MIT Companion
  4. Using another windows Laptop, Chrome + MIT Companion
  5. Tried scanning with another phone, Chrome + MIT Companion

Loading bar will load until around 80+% or 90+%, and get stuck at the last download png or wav file. However, for games without any download required, the loading bar will not even appear at all while the MIT Companion will be stuck at the enter code page forever:

  1. Chrome + Legacy MIT Companion
  2. Chorme + Bluestack using Legacy MIT Companion
  3. Firefox + Legacy MIT Companion

Hi SteveJG,

I have done as you described. Still same problem.

Thanks for taking the time,

Greg

Just for reference, I too have the 20% problem. Tried using Chromebook + Companion app. Also android tablet. Also legacy. No luck. I gotta believe the hardware server story is the correct one.

Sorry work arounds are not working for some of you. Work arounds do work for evidently some and myself (in Texas) See Unable to Connect to Companion with AI Companion

The following ameliorate the MIT server issue (for some)

  • check Use Legacy Connection on Companion before scanning the QR code
  • using the emulator. Yes it works.
  • using the USB connection option
  • using the MIT code.appinventor alternative server also is affected.
  • compiling your app and testing. Tedious but several users say it works. :frowning:

MIT is trying to fix the issue going so far as to replace existing server hardware. This may take some time. Please be patient; eventually the server will be back to normal.

The issue for some of you may be your existing Project having issues. You can test this by creating a simple Project (place a Button on a form) and using Companion with Legacy checked.

Seems to be a bit on and off, one minute it won't connect (legacy ticked) then next minute (or a few minutes later) connects just fine.

1 Like

I have no problems with USB connection at all (Firefox / Chrome).

1 Like

When I scan the QR code it says "20 Establishing secure connection". But then it stops there and doesn't proceed. Please fix this problem

Have you tried above solutions ?

Hey Gerg did your issue got fix?I am also facing the same issue and my student as well.i used to take classes for MIT and its going tough for me to explain the concepts with out showing the output please help me if it resolved.

@ZEBA_ROOHI [
The MIT server is still having technical issues. We do not know how long this will take to fix however there are several relatively easy ways to continue developing despite the MIT server issues.

  • check Use Legacy Connection on Companion before scanning the QR code. Checking works for most developers and will get you past the 20% loading issue.
  • use the emulator. Yes the emulator works.
  • use the USB connection option
  • compile your app and test. Tedious but several users say it works. :frowning: If you are not an advanced user, I do not recommend this.

Try these options and tell us which work.

MIT is trying to fix the server issue, MIT is replacing existing server hardware. This work may take some time. This might not be fixed for several days. Please be patient; eventually the server will be back to normal. However most developers can continue to use App Inventor using Companion with Legacy checked or one of these other options until full service is restored.

Hi Zeba,

I saw SteveJG replied already. I have not gotten it to work, and I too am stuck with my students who cannot test their final projects as they code. Sounds like we wait. I have had a little bit of intermittant success by checking the "use legacy connection" box, but not much.

Greg

Legacy checked makes a difference. It hangs at 92 percent as opposed to 20 percent.

I am trying to get emulator to work. Going to roll back to a known working app, give it another try.

Hello !
Since today without having made any changes, I have encountered a connection problem between http://ai2.appinventor.mit.edu/ and my phone
As a precaution, I reinstalled the application on my PC, try using the Use Legacy Connection mode, nothing to do the transfer hangs at 20% "20 Establishing Secure Connection"
Can you tell me how to find the functioning of APPInventor.
Thank you
Stéphane

App Inventor 2 is a Web application. It is not installed on your PC.

App Inventor is functioning now. It is not functioning normally because of a massive server issue MIT is trying to repair. Developers can use App Inventor now in several different ways as described in the above posts using Companion with the Legacy box ticked, using the emulator etc.

App Inventor is now using alternative servers until the main server problem is fixed. These alternate servers do not work normally but do work using the work arounds.

How long will the problem persist? Sorry, we do not know. This could last all week or be fixed in hours. :cry:

Four options to try:

  1. Legacy mode → works for me
  2. USB connection → works for me
  3. http://code.appinventor.mit.edu/ (with Legacy mode) → works for me
  4. AI2Offline (Companion or USB). → works for me
    (Note: The package of the generated apps was changed from "appinventor.ai_" to "com.")
Option 1-2

Since all options work for me, others should be able to do the same - at least with one of these options.

1 Like

If I try Companion without "Legacy" checked, it hangs at 20 percent. Indefinitely. Legacy checked? Much different, hangs at 92 percent. Indefinitely.

The emulator is so slow I do not know if it is working or my app is hosed. It never gets to the opening screen of my app--which it absolutely does if I can get Companion past 20/92. Which happens once in a while. Good part of the time, it cannot find "aiStarter". Sometimes, it does. I have zero confidence in this solution. Haven't used it before, so don't know quite what to expect. It seems to work (slowly) with simpler trial, debugged, apps.

As far as USB connection. My device I am using for debug doesn't have a driver. I have other devices that might. I am getting fed up with dead ends.

Color me dead in the water, for all practical purposes.

It would be nice to have some idea when this might be fixed. Or, if.

Have you tried the options in a different browser: Firefox/Chrome/etc...

Good suggestion. I use Chrome, it has worked. In the past, I concluded Edge did not. It may have been Edge's problem, may have been mine.

I will give Firefox a try. I have it loaded, don't use it much.

Thanks.
Desperate in San Diego