This is my Agent Setup:
- Running a Headless Android Emulator in the Azure Linux VM
- Running a Headless Agent in the same VM.
To register the agent with Testproject.io, i ran this command and it get registered successfully.
./testproject-agent register -a agantName -t API_KEY
Now if try to mirror the Emulator screen from Testproject.io agent page,It’s failing with following error:
Couldn't connect to agent of device (emulator-5554)
Only screen mirroring is not working. But I’m able to run test cases without any issues. Even I’m able to see screen shots for failed test cases from TP’s website.
To confirm this issue is not related to VM,I did the same setup on my Local Laptop, I’m able to view the Emulator Screen without any issue.
Can you help me on why its not working when comes to VM?