Error code 4294967295

Your Windows build number: (Type ver at a Windows Command Prompt) 19609 What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to repr...

For all those that tried all solutions above and could not solve the issue. In my case it turned out that my WSL2 virtual disk was corrupted. Probably happened after executing wsl --shutdown.

After some investigation, I managed to fix it with these steps.

1. Install another Linux distro in WSL 2 mode

You must run some linux commands and since you can’t launch your current distro, you must install another one. In case you want to install the same version (for example, Ubuntu 20.04), check this: Manually download Windows Subsystem for Linux distro packages. For this example I used Ubuntu 20.04.

Remember to set that new distro to WSL 2 version. Also, remember to terminate completely your broken distro. Sometimes, even if it’s not running, the WSL process still retains the VHDX file open. I recommend to run wsl --shutdown to ensure all distros are closed before continuing.

2. Launch the new distro and install libguestfs_tools and a generic kernel.

Libguestfs is a set of tools that will allow you to mount and repair your corrupted WSL2 VHDX drive. Install it in ubuntu with this: sudo apt-get install libguestfs-tools linux-image-generic

3. Locate your corrupted WSL2 drive

Your WSL2 distro drive is usually located in the folder where your distro is installed. The file you want to find is named «ext4.vhdx». You will need to know its full path in a linux format. In my case I had my Ubuntu distro installed in a custom folder in the D: drive so my path was /mnt/d/wsl/ubuntu/ext4.vhdx.

Make a backup of your vhdx file in another folder, just in case.

4. Repair your VHDX drive

Once you know the path of your drive, run this command to list the filesystems in your VHDX file: sudo virt-list-filesystems /mnt/d/wsl/ubuntu/ext4.vhdx

It should give you the name for the mount, in my case it was /dev/sda.

Then you are ready to repair the drive. Run this command to start a new recovery linux VM where you’ll be able to repair your virtual drive: sudo virt-rescue -a /mnt/d/wsl/ubuntu/ext4.vhdx

Then in the new command prompt of that VM, run this command, using the name of the mount you found earlier: e2fsck -y /dev/sda

It should repair several things in your drive. Once it is done, run the command exit so it will sync all changes and exit the repair VM.

At this point, if all repairs went OK, your distro should be able to start again.

This seems to fix my vhdx.ext4, but can not start distro, however. The / were badly corrupt, either /home folder. This is my vscode dev environment. So play around with wsl —unregister, wsl —import, mistakenly delete the vhdx.ext4.
Finally, fresh install by running Ubuntu.exe, and rsync my source from vcs.

Are you frustrated with the error code 4294967295 displayed in Windows 11? It mainly occurs when the users are trying to start the Windows Subsystem for Linux. While installation of WSL is easy and hassle-free and can be done with a single command, problems can still arise, leading to the WSL process to exit or close. This post will talk about how you can fix the situation where the WSL process exited with code 4294967295 in Windows 11.

WSL process exited code 4294967295

Why Does the WSL Process Exit with Code 4294967295 Occur?

Some users have reported the occurrence of the error code 4294967295 while trying to start Windows Subsystem for Linux. The message on the screen display states

A connection attempt failed because the connected party did not properly respond after a period of time, or an established connection failed because the connected host failed to respond.

Several users have reported that the error code appears when they browse the Linux distro with the Window File Explorer. Failure to access the distribution leads to this issue. It is largely a network problem, and can, fortunately, be resolved with multiple solutions.

There are several solutions you can apply to resolve the WSL error code 4294967295 on Windows 11/10:

  1. Reset Winsock
  2. Stop or Restart Hyper-V
  3. Uninstall DNSCrypt
  4. Disable/Enable WSL & Virtual Machine Platform

You will need to use an admin account to execute these suggestions.

1] Reset Winsock

reset winsock

Winsock is an excellent API that deals with the output and input requests related to internet applications in the system. Resetting Winsock has reportedly resolved the issue for many users. You can also try it out. These are the steps –

  • Open Windows Search (Win + S)  and type WT
  • Once Windows Terminal appears, Right-click on it and select Run as administrator from the drop-down menu.
  • In the terminal,  type netsh winsock reset and hit Enter.
  • Now, Restart the PC.

After that, you need to observe if the issue has been resolved or not.

2] Stop or Restart Hyper-V Service

Hyper-V is a hardware virtualization tool from Microsoft. It enables the users to create and successfully run a virtual machine. In order to run other OS on the Windows Subsystem for Linux natively, the presence of a Hyper-V is essential. However, to fix this issue, you can try restarting or stopping the Hyper-V.

To do so, follow the steps below:

  • Open the Run prompt, type services, and press Shift + Enter to launch the Windows Services
  • Locate HV Host Service
  • Right-click on it and choose to restart  If it’s not running, start it.

3] Uninstall DNSCrypt

DNSCrypt is a software that authenticates and encrypts communications between the OpenDNS and the user. It prevents spying or obtaining data from one’s system without their knowledge. It boosts the security and privacy of the computer. However, in some cases, DNSCrypt can cause the error code 4294967295. In that case, you must uninstall DNSCrypt and see if the problem is resolved.

Follow the steps below that will help you to do so:

  • Go to Windows Settings > Apps and locate DNSCrypt
  • Click on the tree-dot menu next to DNSCrypt and select Uninstall from the drop-down. Follow the on-screen instructions.

Alternatively, you can use uninstaller.exe to remove the program. Follow the steps below:

  • Find the DNSCrypt installation folder in C:Programs files or C:Program files(x86).
  • Once you find it, scroll below and locate uninstaller.exe. Click on it and follow the steps after to uninstall DNSCrypt from the system.

4] Disable/Enable WSL & Virtual Machine Platform

Another excellent way to fix the error code 4294967295 is to disable and then re-enable WSL on the system. You don’t have to worry about thinking that the data from the computer will get erased. Take a look at the steps you need to follow –

  • Type WT in the Windows search bar. Right-click on it and select Run as administrator.
  • Once Windows Terminal is open, type the following command and execute it:
DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart

DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart
  • Restart the computer.
  • After the PC starts, you need to go to the Windows Terminal again and execute the following commands:
DISM /online /enable-feature /featurename:VirtualMachinePlatform /norestart

DISM /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

Restart the PC and see if the problem is resolved or not.

Error code 4294967295 appears when users attempt to use the Windows Subsystem for Linux. The network issue, though frustrating, can be resolved with multiple fixes. You can try any or all of the methods mentioned above to handle the problem. However, if the issue still remains, you must get in touch with a professional.

How do I know if WSL is installed?

While you can check in the features list, the easiest way to figure it out is to type WSL in the run prompt and press the Enter key. If there is no error, and you can see a terminal open up which looks like Linux, then you have WSL.

Is WSL enabled by default?

No. You can use the wsl --install command on any terminal available in Windows to install it. Once enabled, you can then install any of the Linux flavors from Microsoft Store.

Вы разочарованы кодом ошибки 4294967295, отображаемым в Windows 11? В основном это происходит, когда пользователи пытаются запустить подсистему Windows для Linux. Хотя установка WSL проста и удобна и может быть выполнена с помощью одной команды, все же могут возникнуть проблемы, приводящие к завершению или закрытию процесса WSL. В этом посте речь пойдет о том, как можно исправить ситуацию, когда процесс WSL завершался с кодом 4294967295 в Windows 11.

Код завершения процесса WSL 4294967295

Почему процесс WSL завершается с кодом 4294967295?

Некоторые пользователи сообщают о появлении кода ошибки 4294967295 при попытке запустить подсистему Windows для Linux. Сообщение на экране дисплея гласит

Попытка подключения не удалась, потому что подключенная сторона не ответила должным образом через некоторое время, или установленное соединение не удалось, потому что подключенный хост не ответил.

Несколько пользователей сообщили, что код ошибки появляется при просмотре дистрибутива Linux с помощью проводника Windows. Отсутствие доступа к дистрибутиву приводит к этой проблеме. В основном это сетевая проблема, и, к счастью, ее можно решить с помощью нескольких решений.

Есть несколько решений, которые вы можете применить для устранения кода ошибки WSL 4294967295 в Windows 11/10:

  1. Сбросить Винсок
  2. Остановить или перезапустить Hyper-V
  3. Удалить DNSCrypt
  4. Отключить/включить WSL и платформу виртуальных машин

Вам нужно будет использовать учетную запись администратора для выполнения этих предложений.

1]Сбросить Winsock

сбросить винсок

Winsock — это отличный API, который обрабатывает выходные и входные запросы, связанные с интернет-приложениями в системе. Сообщается, что сброс Winsock решил проблему для многих пользователей. Вы также можете попробовать это. Это шаги —

  • Откройте поиск Windows (Win + S) и введите WT
  • Когда появится терминал Windows, щелкните его правой кнопкой мыши и выберите «Запуск от имени администратора» в раскрывающемся меню.
  • В терминале введите netsh winsock reset и нажмите Enter.
  • Теперь перезагрузите компьютер.

После этого вам нужно наблюдать, была ли проблема решена или нет.

2]Остановите или перезапустите службу Hyper-V.

Hyper-V — это инструмент аппаратной виртуализации от Microsoft. Это позволяет пользователям создавать и успешно запускать виртуальные машины. Для запуска других ОС в подсистеме Windows для Linux необходимо наличие Hyper-V. Однако, чтобы решить эту проблему, вы можете попробовать перезапустить или остановить Hyper-V.

Для этого выполните следующие действия:

  • Откройте приглашение «Выполнить», введите services и нажмите Shift + Enter, чтобы запустить службы Windows.
  • Найдите службу хоста HV
  • Щелкните его правой кнопкой мыши и выберите «Перезагрузить». Если он не запущен, запустите его.

3]Удалить DNSCrypt

DNSCrypt — это программное обеспечение, которое аутентифицирует и шифрует обмен данными между OpenDNS и пользователем. Это предотвращает шпионаж или получение данных из системы без их ведома. Это повышает безопасность и конфиденциальность компьютера. Однако в некоторых случаях DNSCrypt может вызывать код ошибки 4294967295. В этом случае необходимо удалить DNSCrypt и посмотреть, решена ли проблема.

Следуйте приведенным ниже инструкциям, которые помогут вам в этом:

  • Перейдите в «Настройки Windows» > «Приложения» и найдите DNSCrypt.
  • Нажмите на древовидное меню рядом с DNSCrypt и выберите «Удалить» в раскрывающемся списке. Следуйте инструкциям на экране.

Кроме того, вы можете использовать uninstaller.exe для удаления программы. Выполните следующие действия:

  • Найдите папку установки DNSCrypt в C:Programs files или C:Program files (x86).
  • Найдя его, прокрутите вниз и найдите файл uninstaller.exe. Нажмите на нее и следуйте инструкциям, чтобы удалить DNSCrypt из системы.

4]Отключить / включить WSL и платформу виртуальных машин

Еще один отличный способ исправить код ошибки 4294967295 — отключить, а затем снова включить WSL в системе. Вам не нужно беспокоиться о том, что данные с компьютера будут стерты. Взгляните на шаги, которые вам нужно выполнить —

  • Введите WT в строке поиска Windows. Щелкните его правой кнопкой мыши и выберите «Запуск от имени администратора».
  • После открытия терминала Windows введите следующую команду и выполните ее:

DISM/online/disable-feature/featurename:VirtualMachinePlatform/norestart DISM/online/disable-feature/featurename:Microsoft-Windows-Subsystem-Linux/norestart

  • Перезагрузите компьютер.
  • После запуска ПК нужно снова зайти в Терминал Windows и выполнить следующие команды:

DISM/online/enable-feature/featurename:VirtualMachinePlatform/norestart DISM/online/enable-feature/featurename:Microsoft-Windows-Subsystem-Linux/norestart

Перезагрузите компьютер и посмотрите, решена ли проблема или нет.

Код ошибки 4294967295 появляется, когда пользователи пытаются использовать подсистему Windows для Linux. Проблема с сетью, хотя и разочаровывающая, может быть решена с помощью нескольких исправлений. Вы можете попробовать любой или все методы, упомянутые выше, для решения проблемы. Однако, если проблема не устранена, необходимо обратиться к специалисту.

Как узнать, установлен ли WSL?

Хотя вы можете проверить список функций, самый простой способ выяснить это — ввести WSL в командной строке и нажать клавишу Enter. Если ошибки нет, и вы видите открытый терминал, похожий на Linux, то у вас есть WSL.

WSL включен по умолчанию?

Нет. Вы можете использовать команду wsl —install на любом терминале, доступном в Windows, чтобы установить его. После включения вы можете установить любую из разновидностей Linux из Microsoft Store.

Код завершения процесса WSL 4294967295

While trying to start their Windows Subsystem for Linux, users have been experiencing the error code 4294967295. The associated error message suggests that the connection failed because Windows, being the host, failed to respond.

Windows Subsystem for Linux Error Code 4294967295

As per some user reports, this error code usually comes up when you are trying to browse your Linux distro using the Windows File Explorer and it fails to access the distribution out of nowhere with the error message “Attempt to access invalid address”.

As such, in this article, we are going to show you how to resolve the error message mentioned above so just follow through.

As it turns out, while using Windows Subsystem for Linux can usually be pretty easy as you can install WSL via a single command now, there are still, undoubtedly, some issues with the platform that can make the experience a bit troublesome such as the “An error occurred mounting one of your file systems” error message.

Fortunately, the problem in question can be resolved quite easily via a few different methods that we are going to be mentioning down below. Therefore, without any further ado, let us get right into it. 

Run Windows Subsystem for Linux as Administrator

The first thing that you should do when you encounter the problem in question is to run WSL as an administrator. As it turns out, in some cases, it may be unable to start properly due to some permissions issues or due to the interference of a background process which can be resolved by running WSL with administrative privileges. To do this, follow the instructions that have been given down below:

  1. First of all, make sure that WSL is closed. Open up the Task Manager and close any ongoing WSL processes. 
  2. Then, open up an elevated command prompt by opening up the Start Menu and searching for cmd. On the right hand side, click on the Run as administrator option provided.
    Running Command Prompt as an Admin
  3. Once the command prompt window is open, start WSL by entering “wsl” in the command prompt without quotation marks. 
  4. See if that fixes the problem for you. 

Shutdown WSL

As it turns out, in some cases, the Linux distribution that you have installed may not be shut down properly from the previous use and ends up causing issues the next time you wish to start it up. In such a scenario, what you can do is manually terminate and shut down the distribution and then start it up. This can be achieved by two simple commands, follow the instructions down below to know-how:

  1. To start off, you are going to need to open up an elevated command prompt window. Do this by opening up the Start Menu, and then searching for cmd. Click on the Run as administrator option provided on the right.
    Running Command Prompt as an Admin
  2. With the command prompt window open, type in the “wsl –terminate distroName” command without quotation marks. Make sure to replace the distroName keyword with the name of your distro. If you are not sure as to what your distro is named precisely, use the “wsl –list” command. 
  3. Once you have terminated the distribution, see if the problem still pops up. 
  4. Alternatively, you can also use the “wsl –shutdown” command to completely shut down WSL. 
  5. Once WSL is powered off, you can start up your distro using the “wsl -d distroName” command. Make sure to replace distroName with the name of your installed distro here as well.

Re-enable WSL

In some scenarios, you can resolve the error in question by simply re-enabling WSL on your system. This has been reported by a user who was facing a similar issue and it turned out to help many more. Disabling WSL for a while won’t erase your data from your system so you do not have to worry about that. To do this, follow the instructions down below:

  1. First of all, open up an elevated command prompt window by searching for it in the Start Menu.
    Running Command Prompt as an Admin
  2. Once you have the command prompt window open, type in the following commands one by one:
    DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart 
    DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

    Disabling Windows Subsystem for Linux
  3. With that done, go ahead and restart your system.
  4. Once your PC boots up, type in the following commands to enable WSL: 
    DISM /online /enable-feature /featurename:VirtualMachinePlatform /norestart 
    DISM /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

    Enabling Windows Subsystem for Linux
  5. See if the issue has been resolved. 

Change Hypervisor Launch Type to Auto

A hypervisor is essentially software that allows you to create and run virtual machines. In order for Windows Subsystem for Linux to install and run other operating systems natively, it has to use a hypervisor. This is where the Windows Hypervisor Platform comes in which is a requirement for installing WSL. 

As it turns out, you can get around the problem in question by simply setting the launch type of hypervisor to auto using the bcdedit command. Follow the instructions down below to do this:

  1. To start off, open up an elevated command prompt window.
  2. In the command prompt window, copy and paste the following command and then hit Enter: 
    bcdedit /set hypervisorlaunchtype auto

    Setting Hypervisor Launch Type to Auto
  3. With that done, perform a restart and see if the issue has been resolved. 

Reset Winsock

Winsock is an important API that handles the input/output requests for internet applications in Windows. As it turns out, users have reported that resetting the Winsock Catalog has fixed the problem for them, so you can try doing the same. To do this, follow the instructions down below:

  1. First of all, open up an elevated command prompt by searching for it in the Start Menu.
    Running Command Prompt as an Admin
  2. Then, in the command prompt window, type in the following command and press Enter:
    netsh winsock reset

    Resetting Winsock
  3. With that done, go ahead and restart your computer.
  4. Once your PC boots up, see if the issue is still there.

Reinstall Docker Desktop (if applicable)

Finally, if none of the above methods has fixed the problem for you and you are using Docker Desktop, you can try reinstalling it in order to fix the issue. This has also been reported by a user with a similar issue who was using Docker Desktop. As it turns out, to get around the error message, go ahead and uninstall Docker Desktop from your computer. With that done, perform a system restart. Once your PC boots up, install Docker Desktop again and see if the issue has finally been fixed.

Photo of Kamil Anwar

Kamil Anwar

Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.

I am trying to create my first react project and trying a tutorial. I am basing my webpack config off of that sample project, however when I run webpack, I get an error. Here is the npm-debug log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\daford\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'production' ]
2 info using npm@3.8.6
3 info using node@v5.10.0
4 verbose run-script [ 'preproduction', 'production', 'postproduction' ]
5 info lifecycle nestlepronourish@1.0.0~preproduction: nestlepronourish@1.0.0
6 silly lifecycle nestlepronourish@1.0.0~preproduction: no script for preproduction, continuing
7 info lifecycle nestlepronourish@1.0.0~production: nestlepronourish@1.0.0
8 verbose lifecycle nestlepronourish@1.0.0~production: unsafe-perm in lifecycle true
9 verbose lifecycle nestlepronourish@1.0.0~production: PATH: C:UsersdafordAppDataRoamingnpmnode_modulesnpmbinnode-gyp-bin;C:UsersdafordProjectsnestlepronourish.v2node_modules.bin;C:Program Filesnodejs;C:Ruby21-x64bin;C:cygwin64bin;C:ProgramDataOracleJavajavapath;C:Program Files (x86)PythonScripts;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Program Files (x86)AMD APPbinx86_64;C:Program Files (x86)AMD APPbinx86;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)ATI TechnologiesATI.ACECore-Static;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft Visual Studio 9.0Common7IDEPrivateAssemblies;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server90Toolsbinn;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)QuickTimeQTSystem;C:Program Files (x86)GitExtensions;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program FilesMicrosoft SQL Server110ToolsBinn;C:Ruby21-x64bin;C:Ruby21-x64/lib/ruby/gems/2.1.0;C:HashiCorpVagrantbin;C:gitflow;C:Program Files (x86)MySQLMySQL Fabric 1.5 & MySQL Utilities 1.5;C:Program Files (x86)MySQLMySQL Fabric 1.5 & MySQL Utilities 1.5Doctrine extensions for PHP;C:Program Files (x86)Bitvise SSH Client;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesTortoiseSVNbin;C:Program FilesJavajdk1.8.0_77bin;C:Program FilesJavaapache-maven-3.3.9bin;C:Program Filesnodejs;C:Program Files (x86)PythonScripts;C:Program Files (x86)Python;C:Program Files (x86)Microsoft VS Codebin;C:UsersdafordAppDataLocalProgramsPythonPython35-32;C:UsersdafordAppDataRoamingnpm
10 verbose lifecycle nestlepronourish@1.0.0~production: CWD: C:UsersdafordProjectsnestlepronourish.v2
11 silly lifecycle nestlepronourish@1.0.0~production: Args: [ '/d /s /c', 'webpack -p' ]
12 silly lifecycle nestlepronourish@1.0.0~production: Returned: code: 4294967295  signal: null
13 info lifecycle nestlepronourish@1.0.0~production: Failed to exec production script
14 verbose stack Error: nestlepronourish@1.0.0 production: `webpack -p`
14 verbose stack Exit status 4294967295
14 verbose stack     at EventEmitter.<anonymous> (C:UsersdafordAppDataRoamingnpmnode_modulesnpmlibutilslifecycle.js:239:16)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at EventEmitter.emit (events.js:185:7)
14 verbose stack     at ChildProcess.<anonymous> (C:UsersdafordAppDataRoamingnpmnode_modulesnpmlibutilsspawn.js:24:14)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at ChildProcess.emit (events.js:185:7)
14 verbose stack     at maybeClose (internal/child_process.js:850:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid nestlepronourish@1.0.0
16 verbose cwd C:UsersdafordProjectsnestlepronourish.v2
17 error Windows_NT 6.1.7601
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\daford\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "production"
19 error node v5.10.0
20 error npm  v3.8.6
21 error code ELIFECYCLE
22 error nestlepronourish@1.0.0 production: `webpack -p`
22 error Exit status 4294967295
23 error Failed at the nestlepronourish@1.0.0 production script 'webpack -p'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the nestlepronourish package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     webpack -p
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs nestlepronourish
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls nestlepronourish
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

I have tried searching but cannot figure out what the issue is. My npm version is 3.8.6 and my node version is 5.10.0

I am just starting so I only have a Hello World React compoment so far.

Thanks in advance.

I’m using WSL1 on Windows 11 Pro (Version 21H2 — Experience: Windows Feature Experience Pack 1000.22000.527.0). It’s been working fine for months, but then recently I have been unable to get it to start.

Normally I’ll start a terminal either in Windows or inside of VS Code, and essentially the same thing happens in either. After 1-4 mins of no prompt, I get an error:

Ubuntu-20.02 terminated with exit code 4294967295

Occasionally it simply says:

"Server execution failed"

Or

The I/O operation has been aborted because of either a thread exit or an application request.

[process exited with code 4294967295]

If I check Windows Powershell, it indicates that WSL has stopped:

PS C:Userscutups> wsl -l -v
  NAME            STATE           VERSION
* Ubuntu-20.04    Stopped         1

I did recently do some Windows updates, and it did seem to correlate with those.

Update for Microsoft Windows KB5010414
Update for Microsoft Windows KB5010474
Update for Microsoft Windows KB5009469
Security Update for Microsoft Windows KB5010386

However I rolled them back and the problem was not resolved. The only other change I made around the same time was uninstalling a MacAfee Antivirus trial that had expired.

Any tips?

Troubleshooting information & steps:

  • Verified that I am not running through a proxy server or VPN
  • Restarted the machine — no impact
  • Ran netsh winsock reset as administrator from Powershell, then reboot. This worked on first attempt. After having to restart the machine for another reason, WSL would not start again. I tried the same method and it did not work. So unfortunately it hasn’t be a reproducible fix. After an additional restart, I was able to restart WSL, but it immediately output An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
  • Remove From My Forums

 locked

Failed to deploy web package to App service — error msdeploy.exe failed with return code:4294967295

  • Question

  • User-1195270965 posted

    trying to deploy a package with images and hitting this. Image size is 1k. If i remove images folder from the package all seems fine.

    Failed to deploy web package to App Service.

    Error: (11/10/2017 12:50:03 AM) An error occurred when the request was processed on the remote computer. Error: Could not find a part of the path ‘D:homesitewwwrootimagespropertiesPanelIconsdarkchevron.svg’. at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode
    errorCode, String maybeFullPath) at Microsoft.Web.Deployment.FileStreamEx.CreateInstance(String path, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, Nullable`1 fileLength) at Microsoft.Web.Deployment.FilePathProviderBase.Add(DeploymentObject
    source, Boolean whatIf) at Microsoft.Web.Deployment.DeploymentObject.AddChild(DeploymentObject source, Int32 position, DeploymentSyncContext syncContext) at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentObject destParent, DeploymentObject
    sourceObject, Int32 position) at Microsoft.Web.Deployment.DeploymentSyncContext.SyncDirPathChildren(DeploymentObject destRoot, DeploymentObject sourceRoot) at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject
    source) at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source) at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject source) at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject
    dest, DeploymentObject source) at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject source) at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject
    sourceObject) at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId, String syncSessionId) at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentAsyncData
    asyncData, Nullable`1 passId, String user, String siteName) Error count: 1.

    Error: C:Program FilesIISMicrosoft Web Deploy V3msdeploy.exe failed with return code: 4294967295

Skip to content



Open


Issue created Jan 21, 2020 by Kevin ATCHUTHAN@keatchut

ERROR: Job failed: exit code 4294967295

Summary

I instaled a runner on windows with the docker-windows executor, but it fails everytime after pulling the project, exiting with the code 4294967295

Steps to reproduce

.gitlab-ci.yml


    image: mcr.microsoft.com/windows/servercore:1803
    script:
        - echo hello

Actual behavior

fails eveytime with code 4294967295.

Expected behavior

expected the job to not fail and print hello

Relevant logs and/or screenshots

this is the output of gitlab-runner.exe --debug run.

job log

job=5578 project=184 runner=dcc3f68f
Using Docker executor with image mcr.microsoft.com/windows/servercore:1803 ...  job=5578 project=184 runner=dcc3f68f
Looking for prebuilt image gitlab/gitlab-runner-helper:x86_64-577f813d-servercore1803...  job=5578 project=184 runner=dcc3f68f
Creating user-defined volumes...                    job=5578 project=184 runner=dcc3f68f
Using container "104a3416c7888699441235b056f25b1a46a7593efc3fa8c0e67a8f0b9f41f762" as cache "c:\cache"...  job=5578 project=184 runner=dcc3f68f
Creating build volume...                            job=5578 project=184 runner=dcc3f68f
Using container "a4dd4798a2c94f60031af770620e79f1a6453b1909b4a6b08f97a071334955ea" as cache "c:\builds"...  job=5578 project=184 runner=dcc3f68f
Creating services...                                job=5578 project=184 runner=dcc3f68f
Starting Docker command...                          job=5578 project=184 runner=dcc3f68f
Looking for prebuilt image gitlab/gitlab-runner-helper:x86_64-577f813d-servercore1803...  job=5578 project=184 runner=dcc3f68f
No credentials found for mcr.microsoft.com          job=5578 project=184 runner=dcc3f68f
Looking for image mcr.microsoft.com/windows/servercore:1803 ...  job=5578 project=184 runner=dcc3f68f
Pulling docker image mcr.microsoft.com/windows/servercore:1803 ...  job=5578 project=184 runner=dcc3f68f
Using docker image sha256:8bb7a7199ebc1dc2cbd99ce638fb271031093d092c1469fb4861dda4f66dd643 for mcr.microsoft.com/windows/servercore:1803 ...  job=5578 project=184 runner=dcc3f68f
Waiting for signals...                              job=5578 project=184 runner=dcc3f68f
Executing build stage                               build_stage=prepare_script job=5578 project=184 runner=dcc3f68f
Looking for prebuilt image gitlab/gitlab-runner-helper:x86_64-577f813d-servercore1803...  job=5578 project=184 runner=dcc3f68f
No credentials found for docker.io                  job=5578 project=184 runner=dcc3f68f
Looking for image sha256:98a4cc6bdc6c08105309cafbfb33097098c31239a7555ec426d749145d7d9d47 ...  job=5578 project=184 runner=dcc3f68f
Removed container runner-dcc3f68f-project-184-concurrent-0-predefined-0 with Error: No such container: runner-dcc3f68f-project-184-concurrent-0-predefined-0 (executor_docker.go:885:0s)  job=5578 project=184 runner=dcc3f68f
Creating container runner-dcc3f68f-project-184-concurrent-0-predefined-0 ...  job=5578 project=184 runner=dcc3f68f
Executing on /runner-dcc3f68f-project-184-concurrent-0-predefined-0 the echo "Running on $env:computername via"

  job=5578 project=184 runner=dcc3f68f
Attaching to container 74c5b9b264cd52e4df33fa6abe678f51c2670a0ad140f99416cd5ac80aa944fd ...  job=5578 project=184 runner=dcc3f68f
Starting container 74c5b9b264cd52e4df33fa6abe678f51c2670a0ad140f99416cd5ac80aa944fd ...  job=5578 project=184 runner=dcc3f68f
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=5578 job-log=0-539 job-status=running runner=dcc3f68f sent-log=0-538 status=202 Accepted
Waiting for attach to finish 74c5b9b264cd52e4df33fa6abe678f51c2670a0ad140f99416cd5ac80aa944fd ...  job=5578 project=184 runner=dcc3f68f
Waiting for container 74c5b9b264cd52e4df33fa6abe678f51c2670a0ad140f99416cd5ac80aa944fd ...  job=5578 project=184 runner=dcc3f68f
Appending trace to coordinator... ok                code=202 job=5578 job-log=0-585 job-status=running runner=dcc3f68f sent-log=539-584 status=202 Accepted
Container 74c5b9b264cd52e4df33fa6abe678f51c2670a0ad140f99416cd5ac80aa944fd finished with <nil>  job=5578 project=184 runner=dcc3f68f
Executing build stage                               build_stage=get_sources job=5578 project=184 runner=dcc3f68f
Looking for prebuilt image gitlab/gitlab-runner-helper:x86_64-577f813d-servercore1803...  job=5578 project=184 runner=dcc3f68f
No credentials found for docker.io                  job=5578 project=184 runner=dcc3f68f
Looking for image sha256:98a4cc6bdc6c08105309cafbfb33097098c31239a7555ec426d749145d7d9d47 ...  job=5578 project=184 runner=dcc3f68f
Removed container runner-dcc3f68f-project-184-concurrent-0-predefined-1 with Error: No such container: runner-dcc3f68f-project-184-concurrent-0-predefined-1 (executor_docker.go:885:0s)  job=5578 project=184 runner=dcc3f68f
Creating container runner-dcc3f68f-project-184-concurrent-0-predefined-1 ...  job=5578 project=184 runner=dcc3f68f
Executing on /runner-dcc3f68f-project-184-concurrent-0-predefined-1 the $FF_CMD_DISABLE_DELAYED_ERROR_LEVEL_EXPANSION="false"


job=5578 project=184 runner=dcc3f68f
Attaching to container bf224e582a5b246891d5e16abbb4650be041e914d6e1b8f9b924458a0bee925e ...  job=5578 project=184 runner=dcc3f68f
Starting container bf224e582a5b246891d5e16abbb4650be041e914d6e1b8f9b924458a0bee925e ...  job=5578 project=184 runner=dcc3f68f
Appending trace to coordinator... ok                code=202 job=5578 job-log=0-1268 job-status=running runner=dcc3f68f sent-log=1172-1267 status=202 Accepted
Waiting for attach to finish bf224e582a5b246891d5e16abbb4650be041e914d6e1b8f9b924458a0bee925e ...  job=5578 project=184 runner=dcc3f68f
Waiting for container bf224e582a5b246891d5e16abbb4650be041e914d6e1b8f9b924458a0bee925e ...  job=5578 project=184 runner=dcc3f68f
Submitting job to coordinator... ok                 code=200 job=5578 job-status= runner=dcc3f68f
Container bf224e582a5b246891d5e16abbb4650be041e914d6e1b8f9b924458a0bee925e finished with <nil>  job=5578 project=184 runner=dcc3f68f
WARNING: Job failed: exit code 1                    duration=1m33.798736s job=5578 project=184 runner=dcc3f68f
Appending trace to coordinator... ok                code=202 job=5578 job-log=0-1366 job-status=running runner=dcc3f68f sent-log=1268-1365 status=202 Accepted
Submitting job to coordinator... ok                 code=200 job=5578 job-status= runner=dcc3f68f
Removed container bf224e582a5b246891d5e16abbb4650be041e914d6e1b8f9b924458a0bee925e with <nil>  job=5578 project=184 runner=dcc3f68f
Removed container 51fa82b3ff706c04ee65d654320df7d488f680cc2332efad17ac1373e5151be6 with <nil>  job=5578 project=184 runner=dcc3f68f
Removed container 74c5b9b264cd52e4df33fa6abe678f51c2670a0ad140f99416cd5ac80aa944fd with <nil>  job=5578 project=184 runner=dcc3f68f
WARNING: Failed to process runner                   builds=0 error=exit code 1 executor=docker-windows runner=dcc3f68f

I skipped all the ENV part of the log.

Environment description

config.toml contents

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "Docker runner"
  url = "XXXXXXXXXXXXXXXXXX"
  token = "XXXXXXXXXXXXXXXXX"
  executor = "docker-windows"
  [runners.custom_build_dir]
  [runners.docker]
    tls_verify = false
    image = "mcr.microsoft.com/windows/servercore:1803"
    privileged = false
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["c:\cache"]
    shm_size = 0
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

Used GitLab Runner version

Version:      12.5.0
Git revision: 577f813d
Git branch:   12-5-stable
GO version:   go1.10.8
Built:        2019-11-20T09:14:34+0000
OS/Arch:      windows/amd64

Понравилась статья? Поделить с друзьями:
  • Error code 42000 sqlstate 42000
  • Error code 411
  • Error code 410e unknown bios
  • Error code 409 python
  • Error code 408 стандофф