Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdGuard cannot start protection after installing an update #2033

Closed
ameshkov opened this issue Dec 1, 2017 · 5 comments

Comments

@ameshkov
Copy link
Member

commented Dec 1, 2017

This seems to be a typical issue.

I reckon reboot should help to solve it, but it's still a serious problem and we'd better solve it.

Here's what I see in the log file:

WARNING, Adguard, 4, 01.12.2017 12:20:59.895, ApplicationApiClient: Error while calling service method: System.IO.FileLoadException: Could not load file or assembly 'Adguard.Global, Version=6.2.437.2171, Culture=neutral, PublicKeyToken=cc321ba03e90d705' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Affected customers:

  • 1683611
  • 1141520
  • 1683589
  • 1683577
  • 1683614
  • 1683567
@ameshkov

This comment has been minimized.

Copy link
Member Author

commented Dec 2, 2017

There's another type of update issue (seems to be caused by some AV). Customer ID: 699668

Logs:
temp.zip

@ameshkov

This comment has been minimized.

Copy link
Member Author

commented Dec 2, 2017

Guys, I've finally realized what's happening.

We've got a race condition here:

  1. Installer updates AG files on the system startup
  2. At the very same time, AdGuard.exe (the old version of it) is started by the Windows autorun
  3. Installer won't kill that process (as the update is already in progress)
  4. When the installation is finished, it tries to start the new version of AdGuard.exe, but it won't start (detects another instance)

And here we are, AG.exe cannot establish a connection with the service.

@confessor-adguard

This comment has been minimized.

Copy link

commented Dec 5, 2017

Review: pull-requests/103

@adbuker adbuker added the nightly label Feb 27, 2018
@adbuker adbuker reopened this Feb 27, 2018
@adbuker adbuker removed the nightly label Apr 13, 2018
@zebrum zebrum closed this Apr 18, 2018
@Bushido1

This comment has been minimized.

Copy link

commented Apr 18, 2018

adg_logs_6.3.974.3223_0418_1549.zip
The issue still exists.

@ameshkov

This comment has been minimized.

Copy link
Member Author

commented Apr 18, 2018

This is a different one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.