Uncaught Exception Prevents Addon Updates When DNS Fails to Resolve Google Analytics.

Uncaught Exception Prevents Addon Updates When DNS Fails to Resolve Google Analytics.

avatar

The network I connect to at work blacklists DNS resolution of certain domains for some kind of security reason. I have no control over this.

When I attempt to check for updates of RDM, the main application succeeds in verifying and downloading any new version of the application and the update completes as intended. When it checks for updates for any Addons, RDM errors out with an uncaught exception of the type TryToGoOfflineException after it attempts to send an analytics tracking request to www_google-analytics_com of some kind. If I throw some kind of MITM like Fiddler into the mix and return a mocked 200 HTTP response for that request, the actual download of the addons package and the subsequent installation completes as expected. I'm assuming then, that if the failure of the analytics tracking request was properly handled, the application wouldn't mind and we could all go on our merry way, despite you not receiving some analytics from the usage of your application.

Attached is a screenshot of the error window that occurs, which is copied in full below.

edit: my apologies. I was sure I was posting this in the bug report forum, but apparently I failed.

Devolutions.RemoteDesktopManager.Business.TryGoOfflineException: The remote name could not be resolved: 'www.google-analytics.com' ---> System.Net.WebException: The remote name could not be resolved: 'www.google-analytics.com'

at System.Net.HttpWebRequest.GetResponse()

at Devolutions.RemoteDesktopManager.Business.GoogleTracking.FireTrackingEvent(TrackingRequest request)

at Devolutions.RemoteDesktopManager.Managers.TrackingManager.TrackAddOnDownload(AddOnInfo addOnInfo)

at Devolutions.RemoteDesktopManager.Managers.AddOnManager.InstallAddOn(Guid addOnID, Boolean uninstall)

--- End of inner exception stack trace ---

All Comments (2)

avatar

Hello,

Thank you for the error report. Indeed we will make sure that google analytics is not blocking you from downloading an add-on.

Regards

David Hervieux

avatar

Hello,

Some changes have been made internally and it should fix your issue. It will be available in the next beta version.

Regards,

Hubert Mireault