Unable to Connect to Companion App

Hello,

I've just started a new school year teaching at my high school in Ontario, Canada, and am unable to connect to the Companion App on my phone. I'm using iOS on my phone and Chrome on the school's computers. I've also tried using FireFox and Edge on the school's computers. In all cases, the join process stops at "20% Establishing Secure Connection". I haven't tried an Android phone yet, but will tomorrow.

Using the legacy connection option causes our firewall to open a popup saying that its blocked. A year and a half ago, we worked through some issues with Google Read & Write interfering with the companion app joinging process. At that time, using Edge as a workaround was possible: Unable to Connect to Companion App on iOS

Unfortuantely, Edge is no longer a work around. I'm looking at my entire Coding course falling apart here and would greatly appreciate any help!

Thank you in advance,
Greer

As a followup, I am also unable to get the Emulator to work. It shows the following errors then seems to go into an infite loop of OPTIONS /echeck/ and GET /echeck/
Log copied below:

App Inventor version: 30.265.0
Architecture: AMD64

AppInventor tools located here: C:\Program Files\MIT App Inventor

ADB path: C:\Program Files\MIT App Inventor\from-Android-SDK\platform-tools\adb
Bottle v0.12.13 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8004/
Hit Ctrl-C to quit.

127.0.0.1 - - [10/Sep/2024 15:25:05] "OPTIONS /ping/ HTTP/1.1" 200 0
127.0.0.1 - - [10/Sep/2024 15:25:05] "GET /ping/ HTTP/1.1" 200 88
127.0.0.1 - - [10/Sep/2024 15:25:06] "OPTIONS /echeck/ HTTP/1.1" 200 0
127.0.0.1 - - [10/Sep/2024 15:25:08] "GET /echeck/ HTTP/1.1" 200 39
127.0.0.1 - - [10/Sep/2024 15:25:08] "GET /echeck/ HTTP/1.1" 200 39
127.0.0.1 - - [10/Sep/2024 15:25:08] "GET /echeck/ HTTP/1.1" 200 39
127.0.0.1 - - [10/Sep/2024 15:25:08] "OPTIONS /start/ HTTP/1.1" 200 0
AVD exists. Starting emulator...
127.0.0.1 - - [10/Sep/2024 15:25:09] "GET /start/ HTTP/1.1" 200 0
127.0.0.1 - - [10/Sep/2024 15:25:09] "GET /echeck/ HTTP/1.1" 200 39
emulator: Android emulator version 30.3.5.0 (build_id 7033400) (CL:N/A)
127.0.0.1 - - [10/Sep/2024 15:25:10] "GET /echeck/ HTTP/1.1" 200 39
handleCpuAcceleration: feature check for hvf
added library vulkan-1.dll
Failed to open /qemu.conf, err: 2
C:\Program Files\MIT App Inventor\from-Android-SDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005
C:\Program Files\MIT App Inventor\from-Android-SDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument
127.0.0.1 - - [10/Sep/2024 15:25:11] "OPTIONS /echeck/ HTTP/1.1" 200 0

While we wait for more knowledgeable responses, here's the latest news on Companion (Android) and Emulators:

Usually this means that the WebRTC library is failing to negotiate a connection. You can collect some data that will help us advise on next steps.

First, in a fresh Chrome session open chrome://webrtc-internals/ in your browser. Then, in a separate tab attempt to connect to the companion. After it hangs for about 5 seconds at 20%, switch back to the webrtc-internals page, expand the section that says "Create a WebRTC-Internals dump" and then click the button that says "Download the 'webrtc-internals dump'". Please email the downloaded file to me at ewpatton@mit.edu so I can take a look at it.

Thank you for getting back to us so fast! I've done that and sent it off.

I also managed to try it on an Android phone and the same issue occurs.