Bug 51269 - Local checksum of C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin\4.2.2.6\Designer.zip couldn't be verified
Summary: Local checksum of C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7...
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.4.0 (C10)
Assignee: mag@xamarin.com
URL:
Depends on:
Blocks:
 
Reported: 2017-01-06 13:47 UTC by VBH
Modified: 2017-01-18 21:23 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description VBH 2017-01-06 13:47:24 UTC
I am unable to get mac agent does not fully start.  I tried uninstalling installing Xamarin on both mac and pc
I am the latest running XCode Version 8.2.1 (8C1002).

I also deleted cache from ~/Library/Caches/Xamarin.

Any help is greatly appreciated

==================
Xamarin Information: 0 : [2017-01-06 06:44:07.4518] Xamarin - 4.2.2.6-cycle8+27a9b40
Xamarin.VisualStudio.Activation.AccountManager Information: 0 : [2017-01-06 06:44:07.6179] VS2015 Enterprise
Xamarin.VisualStudio.ActivationManager Information: 0 : [2017-01-06 06:44:07.8061] No license found for iOS
Xamarin.VisualStudio.ActivationManager Information: 0 : [2017-01-06 06:44:07.9663] Running license sync for iOS
Xamarin.VisualStudio.ActivationManager Information: 0 : [2017-01-06 06:44:08.1485] No license found for Android
Xamarin.VisualStudio.ActivationManager Information: 0 : [2017-01-06 06:44:08.3107] Running license sync for Android
Xamarin.VisualStudio.TastyPackage Information: 0 : [2017-01-06 06:44:08.5958] Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage Information: 0 : [2017-01-06 06:44:08.7728] Initialization finished
Xamarin.VisualStudio.Android.XamarinAndroidPackage Warning: 0 : [2017-01-06 06:44:08.9520] Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
Xamarin.VisualStudio.Android.Designer.MonoAndroidDesignerService Warning: 0 : [2017-01-06 06:44:09.3964] An unexpected error occurred trying to initialize Android Designer.
Xamarin.VisualStudio.TastyPackage Information: 0 : [2017-01-06 06:44:09.9588] Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage Information: 0 : [2017-01-06 06:44:10.1354] Initialization finished
Xamarin.VisualStudio.IOS.XamarinIOSPackage Warning: 0 : [2017-01-06 06:44:10.3211] Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.
Xamarin.VisualStudio.ActivationManager Information: 0 : [2017-01-06 06:44:10.5042] Updated license: iOS VSEnterprise
Xamarin.VisualStudio.ActivationManager Information: 0 : [2017-01-06 06:44:10.6806] Updated license: Android VSEnterprise
Xamarin.VisualStudio.IOS.XamarinIOSPackage Information: 0 : [2017-01-06 06:44:10.8634] MDAddinsHash: efbae0e683a0060d2230e91e70c1598abc054845

Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2017-01-06 06:44:15.1075] MacServer State transition from DisconnectedState to SshConnectingState on Varsha-MacBook-Pro.local (10.211.55.2)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:16.2920] Starting connection to Mac 10.211.55.2...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:18.8466] Starting Broker 4.2.2.6 in port 58292...
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2017-01-06 06:44:21.3100] MacServer State transition from SshConnectingState to SshConnectedState on Varsha-MacBook-Pro.local (10.211.55.2)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:21.5212] Connection successfully established with the Mac 10.211.55.2:58292
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2017-01-06 06:44:21.7814] MacServer State transition from SshConnectedState to AgentsStartingState on Varsha-MacBook-Pro.local (10.211.55.2)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2017-01-06 06:44:21.9686] Starting agents on Mac Varsha-MacBook-Pro.local (10.211.55.2)
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:22.7034] Starting Agent IDB 4.2.2.6...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:23.0028] Starting Agent Build 4.2.2.6...
Xamarin.Messaging.Client.Ssh.XmaCommands Error: 0 : [2017-01-06 06:44:24.1363] Local checksum of C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin\4.2.2.6\Designer.zip couldn't be verified
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:24.7967] Installing Agent Designer 4.2.2.6...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:25.7527] Uploading Designer 4.2.2.6 (5984/59787 KB) 10%...
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:26.0464] Agent Build 4.2.2.6 is running
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:26.5779] Uploading Designer 4.2.2.6 (11968/59787 KB) 20%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:27.1105] Uploading Designer 4.2.2.6 (17952/59787 KB) 30%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:27.6433] Uploading Designer 4.2.2.6 (23920/59787 KB) 40%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:28.1721] Uploading Designer 4.2.2.6 (29904/59787 KB) 50%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:28.6896] Uploading Designer 4.2.2.6 (35888/59787 KB) 60%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:29.2184] Uploading Designer 4.2.2.6 (41856/59787 KB) 70%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:29.7503] Uploading Designer 4.2.2.6 (47840/59787 KB) 80%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:30.3095] Uploading Designer 4.2.2.6 (53824/59787 KB) 90%...
Xamarin.Messaging.VisualStudio.MessagingFileManager+UploadFileLogger Information: 0 : [2017-01-06 06:44:30.8743] Uploaded Designer 4.2.2.6 100%
Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2017-01-06 06:44:31.0806] Agent IDB 4.2.2.6 is running
Xamarin.Messaging.Client.Ssh.XmaCommands Error: 0 : [2017-01-06 06:44:34.8361] Local checksum of C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin\4.2.2.6\Designer.zip couldn't be verified
Xamarin.Messaging.VisualStudio.MessagingService Error: 0 : [2017-01-06 06:44:35.0283] Unable to install the Agent 'Designer 4.2.2.6'
Xamarin.VisualStudio.IOS.MacServer Information: 0 : [2017-01-06 06:44:35.2403] The Xamarin Mac Agent could not be fully started. Agents not started: Designer 4.2.2.6. Please check the logs for more details.
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2017-01-06 06:44:35.4395] MacServer State transition from AgentsStartingState to LimitedState on Varsha-MacBook-Pro.local (10.211.55.2)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2017-01-06 06:44:35.6208] Connected to the Mac Varsha-MacBook-Pro.local (10.211.55.2) with Limited support.
Comment 1 Juan Marcelo Tondato 2017-01-09 18:28:32 UTC
Moving to cycle10 to provide a proper solution.

Thanks for reporting!
Comment 2 mag@xamarin.com 2017-01-18 14:48:00 UTC
Hi,

For better diagnostics of this issue, I would need you to please do a few things:

1 - Clean Xamarin Mac Agent local cache, by deleting the entire XMA folder under: %LOCALAPPDATA%\Temp\Xamarin

This is just to check if the cache could have been corrupted, but normally users shouldn't need to delete this cache, since it's something that we use internally to control whether is necessary to re deploy the XMA agents or not. Also, deleting it has no consequences but a full re deploy of the XMA content.

2 - Attach verbose logs in case the error is still there:

If deleting the cache didn't work, please attach both VS and Mac logs, with diagnostics verbosity. To do this, you need to launch VS with the /log argument (devenv.exe /log). Then please do from VS while connected to the Mac: Help > Xamarin > Zip Logs...

3 - Finally and just to know the scenario better, is this something that happens always for you? Did it happen before with other versions? Is it the first version that you install? Any information that you consider useful related to the usage and problem, would be useful.
Comment 3 VBH 2017-01-18 20:47:17 UTC
I did delete %LOCALAPPDATA%\Temp\Xamarin cache but the issue continued.

After upgrade to 4.2.2.11 the issue was fixed.

Thank you for your response!
Comment 4 Jose Gallardo 2017-01-18 21:23:02 UTC
It's great to hear the issue was fixed. Thanks for the update!