So I have Webroot branded antivirus that I use but I have found if that is installed even if it is not active it prevents me from installing, running local, creating a site properly or running a created site. I don’t know why but does any one have a work around where I can still have my antivirus so I can protect my computer and also have local working properly? I have also tried contacting local and webroot tech support and didn’t get anywhere but I am also going to try and post on webroot’s form.
Thanks in advance.
Dani
One or two sentence summary of the issue.
Troubleshooting Questions
Does this happen for all sites in Local, or just one in particular?
All of them
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Nope
Replication
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
So I have tried disabling the firewall on both windows 10 and on the antivirus and I have also tried going through the antivirus and making sure that it is allowing local through.
System Details
Which version of Local is being used?
6.1.2
What Operating System (OS) and OS version is being used?
For example: macOS Catalina or Windows 10 Professional
Windows 10 Home
Attach the Local Log. See this Community Forum post for instructions on how to do so:
I am at work and can’t currently do that but I can do it in a couple hours.
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
Can you please provide your Local Log so we can get a better idea of what issues Local is running into? See this Community Forum post for instructions on how to do so:
Hey guys, I might have a similar issue with BitDefender. It was working fine earlier, but recently I couldn’t run, stop or do anything with my Local sites. I tried to uninstall BitDefened and everything is working ok now.
That is exactly the same issue I am having except with webroot. But my thing is I don’t want to not have antivirus installed so I’m trying to find a way to make them work together.
The main error that shows up a few times in the log is the Could not update hosts. error. Here’s the full line:
{"thread":"main","class":"HostsFileService","error":{"code":101},"stdout":{},"stderr":{},"exitCode":101,"level":"error","message":"Could not update hosts.","timestamp":"2021-09-08T23:58:35.932Z"}
Since I don’t have Webroot, I don’t know for sure what to do to unblock this, but after searching through their forums, I found this topic:
That seems to indicate that there’s a setting you can disable which allows applications to edit the hosts file. Maybe there’s some options within Webroot to keep that setting enabled to lock down the Hosts file while at the same time allowing only Local to make those edits?
That seems to be the only thing I can see to get this working so that Local can register new sites for you.
So I finally got some time last night to play around with everything and was able to get it where I could run webroot and local at the same time. I am still having a issue with local running extremely slow. I have gone through the forums and tried everything I could find including changing the one setting in bios so if there is anything you could tell me I would appreciate it.
Can you describe in a little more detail where things are slow? Is it the Local app itself, or is the WordPress site (ie, the WP admin) slow?
Since Webroot is involved, maybe it’s trying to scan all activity that’s going through the networking layer of Windows?
I bring it up because scanning every request could definitely slow things down in multiple places with Local. If you can, could you record a screencast of the slowness you are seeing?
Everything, after I select the site, is slow and it’s the same on both my windows computers including my gaming machine. I did notice that on a mac it seemed to be faster. I have attached youtube links to the screen recording from the mac and a video from my pc, unfortunately, it wouldn’t let me do a screen recording so I had to use my cell phone so sorry for the bad video.
The performance on the Mac is about as fast as Local is in general. The team is working on a few performance related tasks that mostly affect MacOS BigSur, but it won’t likely improve other things.
The main slowness you’re seeing on the Windows machine seems to be related to the site itself. It looks like the site that’s showing is using Elementor and I can definitely see the slowness you mention.
My gut tells me that this is related to Webroot. If I were to guess, Webroot is scanning all requests for everything that the Local site is serving up. Because this is an elementor site, there’s likely quite a bit of images, javascript libraries, and css files that are being included with a page load and are having to be scanned with Webroot.
If you disable Webroot, does the performance of the site improve?
If so, then maybe there’s a setting within that antivirus to ignore scanning of a specific domain, in this case, the domain for the Local site.
I have no problem with the speed on the mac I just used that video to show the difference between it’s speed and the speed on the pc. Even when I completely uninstalled webroot it did not change the speed of the site at all so I don’t think that is the problem. Even if I create a blank site without elementor or any plugins I don’t see a speed difference so I don’t think elementor is the issue.
That’s all good to know! If that’s the case, then it points to something that is related to the overall system.
Performance is tricky, especially with all the different combinations of hardware and software. You might read through this help doc on troubleshooting performance for sites running in Local:
In addition to those items, it’s good to keep in mind the hardware the computer has, as well as the software that’s running alongside Local and the WordPress site.
I’ll try that but even when I run it on my gaming machine you can see a really minor issue and I can run other web design programs like webflow, Adobe XD and dreamweaver without a problem so I don’t think that is the issue.