Why do I get a TrustFailure when using test-cloud.exe on Windows 10

Hi,

I am trying to run a test via the command line.
I am using VS 2017 and I have also installed Mono for windows (64).

To run the test I start Mono and type:

cd\tfs\XamarinDevelopment\SandboxTestAndroid\SandboxTestAndroid

mono D:\tfs\XamarinDevelopment\SandboxTestAndroid\packages\Xamarin.UITest.1.3.8\tools\test-cloud.exe submit D:\Xamarin\MyApk.apk000my.API.Key000 --devices 0bc9c9a6 --series "master" --locale "en_US" --app-name "Sandbox.Android" --user me@there.com --assembly-dir  D:\tfs\XamarinDevelopment\SandboxTestAndroid\SandboxTestAndroid\bin\Debug

When I run this I get the following error:

Negotiating file upload to Xamarin Test Cloud.
Retrying in 10 seconds. Failed to reach server: WebException: Error: TrustFailure (The authentication or decryption has failed.)

I have tried a similar test on my Mac and it uploads OK.
I believe my firewall settings (as specified by Xamarin) are correct.

Can someone explain why I'm getting this and how I can solve it.

Thanks,
Sean

Best Answer

  • SeanConlonSeanConlon USMember ✭✭
    Accepted Answer

    Solution is to remove the word "Mono" from the start of the line :)

Answers

Sign In or Register to comment.