Comments (13)
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.
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.
issue remains on 2.0.6
from amnezia-client.
Please attach logs or send directly via telegram https://t.me/amnezia_vpn_en
from amnezia-client.
the problem is that service does not create any logs, it just fails to start
from amnezia-client.
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.
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.
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.
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.
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.
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.
Приложение не устанавливается. (AmneziaVPN_2.0,8,3_*64,exe - Системная ошибка. Не удается продолжить выполнение кода, поскольку система не обнаружила MSVCP140,dll. Для устранения этой проблемы попробуйте переустановить программу) - Неоднократно переустанавливал, но всё равно не работает. Что делать?
from amnezia-client.
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)
- Support for non-systemd linux distributions.
- Please fix bool type field UDP from ios_controller.mm
- Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS
- Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS
- Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS
- No internet connection on Arch Linux HOT 3
- Custom Split tunneling
- debug IpcClient::init failed on Mac OS M3 after reboot HOT 4
- Feature Request: Connect Using Domain
- Feature Request: Local proxy-only mode HOT 1
- Feature Request: remote control support via Tasker/Automate on Android
- Only 255 AmneziaWG configs (users) can be created
- Non-interactive installation
- Can I use an .ovpn config file with login/password for connection via the AmnesiaWG Windows App?
- Images build problem HOT 1
- Split tunnelling in IOS and MacOS for applications
- Plugins for web browsers
- AmnesiaWG protocol stalls every few days, other protocols work great.
- Error: 1000 HOT 1
- Auto update desktop apps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amnezia-client.