Giter VIP home page Giter VIP logo

Comments (13)

boscogh avatar boscogh commented on May 31, 2024 2

I finally got it. Sorry for taking your time, it was a dll conflict on my side. I reinstalled VC runtime libs from there
https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
reordered file paths (this may be a no-op), rebooted and now service works just fine, right after windows start.
You probably may consider to distribute the required MSVC libs with your code too :)

it works fine with MSVCP140.dll v14.30.30708.0

from amnezia-client.

pokamest avatar pokamest commented on May 31, 2024 2

Actually it's already distributed with app - you can find vc_redist.x64.exe installer in the app folder. The issue is the app can't determine if vcredist reinstall required.

from amnezia-client.

boscogh avatar boscogh commented on May 31, 2024

issue remains on 2.0.6

from amnezia-client.

pokamest avatar pokamest commented on May 31, 2024

Please attach logs or send directly via telegram https://t.me/amnezia_vpn_en

from amnezia-client.

boscogh avatar boscogh commented on May 31, 2024

the problem is that service does not create any logs, it just fails to start

from amnezia-client.

pokamest avatar pokamest commented on May 31, 2024

What is Windows version? You can try to start service by hands from cmd (with admin privil) by passing argument "-s", service will be launched as regular process, and then you can check if it crashed, or something else.

from amnezia-client.

boscogh avatar boscogh commented on May 31, 2024

C:\WINDOWS\system32>ver
Microsoft Windows [Version 10.0.19044.1466]

C:\Program Files\AmneziaVPN>AmneziaVPN-service.exe -s
2022-01-26 07:41:49 info Started as console application
--started normally as console app--

C:\Program Files\AmneziaVPN>AmneziaVPN-service.exe
2022-01-26 07:55:00 info Started as system service
The service AmneziaVPN-service could not start
--no other logs--

from amnezia-client.

boscogh avatar boscogh commented on May 31, 2024

I use the process as console app, it works just fine (as I said at the beginning). But it's not convinient to run it manually, and
as service it just won't start at all. the errors from event viewer:

  • код 7000 Превышение времени ожидания (10000 мс) при ожидании подключения службы "AmneziaVPN-service".
  • код 7009 Сбой при запуске службы "AmneziaVPN-service" из-за ошибки
    Служба не ответила на запрос своевременно.

same error on 2.0.7

from amnezia-client.

pokamest avatar pokamest commented on May 31, 2024

Btw, it's not possible to start AmneziaVPN-service.exe (without -s arg) as a service from cmd, only system able to launch service.
Another question is why service crashing on your Windows.
You can try to stop and remove service from admin cmd, reboot, and then reinstall app:

sc stop AmneziaVPN-service
sc delete AmneziaVPN-service

from amnezia-client.

boscogh avatar boscogh commented on May 31, 2024

I reinstalled it already several times (multiple 2.0.x realeases).
before 2.0 release, it was working fine, so might be just building flags are different

from amnezia-client.

boscogh avatar boscogh commented on May 31, 2024

Tested on 2.0.8, still the same, even again did that you recommend with stop and delete, reboot and reinstall - nothing changed. Could you please mb create a debug build of service app, so it at least print some trace messages in the log?
I see on stackexchange they say this could be the problem with unhandled exception, so mb make some more catch sections and trace the error too?

from amnezia-client.

R12M avatar R12M commented on May 31, 2024

Приложение не устанавливается. (AmneziaVPN_2.0,8,3_*64,exe - Системная ошибка. Не удается продолжить выполнение кода, поскольку система не обнаружила MSVCP140,dll. Для устранения этой проблемы попробуйте переустановить программу) - Неоднократно переустанавливал, но всё равно не работает. Что делать?

from amnezia-client.

MikadoAndru avatar MikadoAndru commented on May 31, 2024

I finally got it. Sorry for taking your time, it was a dll conflict on my side. I reinstalled VC runtime libs from there https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 reordered file paths (this may be a no-op), rebooted and now service works just fine, right after windows start. You probably may consider to distribute the required MSVC libs with your code too :)

it works fine with MSVCP140.dll v14.30.30708.0

do not choose between the 32bit (x86) or the 64bit (x64), just install both if you have a 64bit (x64) based system.

from amnezia-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.