AVAST getting stuck in a loop

My avast keeps going into a loop when I attempt to update it or turn back on the ability to keep an eye on things running in the background. It keeps asking me the register the program and I keep trying to go for the free version and it keeps looping back to select the version you want after trying to get me to go for a free trial of the pro version. Please help fix this issue.

Here is the install log when I try to install AVAST back onto the system.

2017-04-11 11:21:54Infoinstcont[4864,4868]–
2017-04-11 11:21:54Infoinstcont[4864,4868]2017/04/11 11:21:54 START: Avast installer/updater
2017-04-11 11:21:54Infoinstup[4864,4868]Command: ‘“C:\Users\Kenneth\AppData\Local\Temp_av_iup.tm~a04748\instup.exe” /cookie:mmm_cnt_dlp_000_119_b /edition:1 /ga_clientid:a66aff83-5bb5-41c5-9de0-3d157e557c2f /guid:871a2b6e-7755-46a2-a439-2274a75e1c21 /prod:ais /sfx:lite /sfxstorage:C:\Users\Kenneth\AppData\Local\Temp_av_iup.tm~a04748’
2017-04-11 11:21:54Infoinstup[4864,4868]CPU: Intel(R) Core™ i7-6700K CPU @ 4.00GHz,8
2017-04-11 11:21:54Infoinstup[4864,4868]OS: Windows 7 SP1 x64
2017-04-11 11:21:54Infoinstup[4864,4868]Memory: 10% load. Phys:4194303/4194303K free, Page:4194303/4194303K free, Virt:4091272/4194176K free
2017-04-11 11:21:54Infoinstup[4864,4868]DISKs: C:\ - 46GB free / 119GB total
2017-04-11 11:21:54Infoinstup[4864,4868]Running module version: instup.exe - ‘17.1.3394.0’
2017-04-11 11:21:54Infoinstup[4864,4868]Running module version: Instup.dll - ‘17.1.3394.0’
2017-04-11 11:21:54Infoinstupmutex[4864,4868]The ownership of the fallback mutex has been successfully taken.
2017-04-11 11:21:55Infoguiwizard[4864,4868]Running module version: HTMLayout.dll - ‘3.3.2.1’
2017-04-11 11:21:55Infoguiwizard[4864,4868]Loaded module version: C:\Users\Kenneth\AppData\Local\Temp_av_iup.tm~a04748\HTMLayout.dll - ‘3.3.2.1’
2017-04-11 11:21:55Infoguiwizard[4864,4868]Setup gui was successfully started.
2017-04-11 11:21:55Infoinstupcore[4864,4868]Sfx setup update has started.
2017-04-11 11:21:55Infoservers[4864,4868]Server definition(s) loaded for ‘C:\Users\Kenneth\AppData\Local\Temp_av_iup.tm~a04748\servers.def’: 29 (maintenance:0)
2017-04-11 11:21:55Infoservers[4864,4868]ChooseServer: selected server ‘Download d0211227 AVAST9 Server’ with current url ‘http://d0211227.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:22:10Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://d0211227.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 1
2017-04-11 11:22:10Infoservers[4864,4868]ChooseServer: selected server ‘Download y9663457 AVAST9 Server’ with current url ‘http://y9663457.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:22:27Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://y9663457.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 2
2017-04-11 11:22:27Infoservers[4864,4868]ChooseServer: selected server ‘Download h0637628 AVAST9 Server’ with current url ‘http://h0637628.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:22:40Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://h0637628.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 3
2017-04-11 11:22:40Infoservers[4864,4868]ChooseServer: selected server ‘Download k6375621 AVAST9 Server’ with current url ‘http://k6375621.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:22:54Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://k6375621.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 4
2017-04-11 11:22:54Infoservers[4864,4868]ChooseServer: selected server ‘Download y9663457 AVAST9 Server’ with current url ‘http://y9663457.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:23:11Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://y9663457.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 5
2017-04-11 11:23:11Infoservers[4864,4868]ChooseServer: selected server ‘Download p4085325 AVAST9 Server’ with current url ‘http://p4085325.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:23:24Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://p4085325.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 6
2017-04-11 11:23:24Infoservers[4864,4868]ChooseServer: selected server ‘Download f7031642 AVAST9 Server’ with current url ‘http://f7031642.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:23:42Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://f7031642.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 7
2017-04-11 11:23:42Infoservers[4864,4868]ChooseServer: selected server ‘Download r5525652 AVAST9 Server’ with current url ‘http://r5525652.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:23:59Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://r5525652.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 8
2017-04-11 11:23:59Infoservers[4864,4868]ChooseServer: selected server ‘Download f5136535 AVAST9 Server’ with current url ‘http://f5136535.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:24:16Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://f5136535.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 9
2017-04-11 11:24:16Infoservers[4864,4868]ChooseServer: selected server ‘Download d0211227 AVAST9 Server’ with current url ‘http://d0211227.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:24:33Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://d0211227.iavs9x.u.avast.com/iavs9x/servers.def.vpx’. Next try: 10
2017-04-11 11:24:33Infoservers[4864,4868]ChooseServer: selected server ‘Download z2461313 AVAST9 Server’ with current url ‘http://z2461313.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:24:35Infoservers[4864,4868]ChooseServer: selected server ‘Download h0637628 AVAST9 Server’ with current url ‘http://h0637628.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:24:50Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://h0637628.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 1
2017-04-11 11:24:50Infoservers[4864,4868]ChooseServer: selected server ‘Download t5730298 AVAST9 Server’ with current url ‘http://t5730298.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:25:07Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://t5730298.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 2
2017-04-11 11:25:07Infoservers[4864,4868]ChooseServer: selected server ‘Download t3036159 AVAST9 Server’ with current url ‘http://t3036159.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:25:24Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://t3036159.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 3
2017-04-11 11:25:24Infoservers[4864,4868]ChooseServer: selected server ‘Download j8087387 AVAST9 Server’ with current url ‘http://j8087387.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:25:41Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://j8087387.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 4
2017-04-11 11:25:41Infoservers[4864,4868]ChooseServer: selected server ‘Download w6607332 AVAST9 Server’ with current url ‘http://w6607332.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:25:58Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://w6607332.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 5
2017-04-11 11:25:58Infoservers[4864,4868]ChooseServer: selected server ‘Download z9820048 AVAST9 Server’ with current url ‘http://z9820048.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:26:15Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://z9820048.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 6
2017-04-11 11:26:15Infoservers[4864,4868]ChooseServer: selected server ‘Download p4085325 AVAST9 Server’ with current url ‘http://p4085325.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:26:32Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://p4085325.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 7
2017-04-11 11:26:32Infoservers[4864,4868]ChooseServer: selected server ‘Download t5730298 AVAST9 Server’ with current url ‘http://t5730298.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:26:49Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://t5730298.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 8
2017-04-11 11:26:49Infoservers[4864,4868]ChooseServer: selected server ‘Download w9448963 AVAST9 Server’ with current url ‘http://w9448963.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:27:06Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://w9448963.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 9
2017-04-11 11:27:06Infoservers[4864,4868]ChooseServer: selected server ‘Download v4618535 AVAST9 Server’ with current url ‘http://v4618535.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:27:23Errordldwrap[4864,4868]HttpGet: An error 41227 (0x0000A10B) [Downloader system error] has occured when downloading a file from ‘http://v4618535.iavs9x.u.avast.com/iavs9x/prod-pgm.vpx’. Next try: 10
2017-04-11 11:27:23Infoservers[4864,4868]ChooseServer: selected server ‘Download z2461313 AVAST9 Server’ with current url ‘http://z2461313.iavs9x.u.avast.com/iavs9x’ of type ‘URL_TYPE_DOWNLOAD_PROGRAM’.
2017-04-11 11:27:25Errorpkgengine[4864,4868]LoadLatestProdAndParts: download product file ‘prod-pgm.vpx’ has failed. Status: 41227 (0x0000A10B) [Downloader system error]

Perform a clean installation of the latest version with the offline installer.