Support Forum: Get Support for Patch My PC Products and Services

Home Updater: Our Free Product for Consumers => Home Updater: Report Bugs and Issues Not Related to Installing Apps => Topic started by: dunron on October 24, 2018, 07:04:32 AM

Title: .NET Framework error behind Sophos XG firewall
Post by: dunron on October 24, 2018, 07:04:32 AM
At startup, I get the following .NET Framework error:

System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.

Windows 10 PC is behind a Sophos XG firewall and the firewall rule contains a "Web policy" to block malicious sites, see:
http://docs.sophos.com/nsg/sophos-firewall/v17.1.3/Help/en-us/webhelp/onlinehelp/index.html#page/onlinehelp/NetworkPolicyEdit_IPv4.html

No matter how I change the policy, the error stays, even with no filtering at all. Only when I remove the Web policy from the firewall rule will PatchMyPC work.

Verbose logging output:
24-10-2018 14:59:06 - Patch My PC Started
24-10-2018 14:59:06 - Checking connection to patchmypc.com
24-10-2018 14:59:06 - Verified connection to patchmypc.com. Status Code: 200
24-10-2018 14:59:06 - Getting latest definitions from patchmypc.com

Any clues? Thank you.
Title: Re: .NET Framework error behind Sophos XG firewall
Post by: dunron on October 24, 2018, 08:19:12 AM
I did some further investigation and tried to manually download the updater xml file. It clearly gets distorted with a Web policy in place, hence the error.

So I think this is a Sophos XG issue and reported it there.

But why is PatchMyPC not using SSL for fetching? Downloading the updater file from https://patchmypc.com/freeupdater/definitions/definitions.xml works fine in both cases.