I cannot test my project through the companion application in the codes.

When I scan the QR code, it tries to connect, but after a while the application closes, so I cannot test my application. I tried it in different browsers but there was no difference. please help me.