[Errno 104] Connection reset by peer

Was trying to install Daggerfall unity on Fedora 43 and this keeps happening. I’m not sure exactly what is going on, the closest thing I found was related to python. But I don’t think that is the cause.

[Errno 104] Connection reset by peer

Traceback (most recent call last):

File “/usr/lib/python3.14/site-packages/lutris/util/jobs.py”, line 30, in target
result = self.function(*a, **kw)

File “/usr/lib/python3.14/site-packages/lutris/installer/interpreter.py”, line 329, in dispatch
return method(params)

File “/usr/lib/python3.14/site-packages/lutris/installer/commands.py”, line 204, in extract
self._killable_process(extract.extract_archive, filename, dest_path, merge_single, extractor)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3.14/site-packages/lutris/installer/commands.py”, line 537, in _killable_process
with multiprocessing.Pool(1) as process:
~~~~~~~~~~~~~~~~~~~~^^^

File “/usr/lib64/python3.14/multiprocessing/context.py”, line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
context=self.get_context())

File “/usr/lib64/python3.14/multiprocessing/pool.py”, line 215, in init
self._repopulate_pool()
~~~~~~~~~~~~~~~~~~~~~^^

File “/usr/lib64/python3.14/multiprocessing/pool.py”, line 306, in _repopulate_pool
return self._repopulate_pool_static(self._ctx, self.Process,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
self._processes,
^^^^^^^^^^^^^^^^
…<3 lines>…
self._maxtasksperchild,
^^^^^^^^^^^^^^^^^^^^^^^
self._wrap_exception)
^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib64/python3.14/multiprocessing/pool.py”, line 329, in _repopulate_pool_static
w.start()
~~~~~~~^^

File “/usr/lib64/python3.14/multiprocessing/process.py”, line 121, in start
self._popen = self._Popen(self)
~~~~~~~~~~~^^^^^^

File “/usr/lib64/python3.14/multiprocessing/context.py”, line 300, in _Popen
return Popen(process_obj)

File “/usr/lib64/python3.14/multiprocessing/popen_forkserver.py”, line 35, in init
super().init(process_obj)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^

File “/usr/lib64/python3.14/multiprocessing/popen_fork.py”, line 20, in init
self._launch(process_obj)
~~~~~~~~~~~~^^^^^^^^^^^^^

File “/usr/lib64/python3.14/multiprocessing/popen_forkserver.py”, line 51, in _launch
self.sentinel, w = forkserver.connect_to_new_process(self._fds)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^

File “/usr/lib64/python3.14/multiprocessing/forkserver.py”, line 106, in connect_to_new_process
connection.answer_challenge(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
wrapped_client, self._forkserver_authkey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib64/python3.14/multiprocessing/connection.py”, line 970, in answer_challenge
message = connection.recv_bytes(256) # reject large message

File “/usr/lib64/python3.14/multiprocessing/connection.py”, line 222, in recv_bytes
buf = self._recv_bytes(maxlength)

File “/usr/lib64/python3.14/multiprocessing/connection.py”, line 447, in _recv_bytes
buf = self._recv(4)

File “/usr/lib64/python3.14/multiprocessing/connection.py”, line 412, in _recv
chunk = read(handle, to_read)

ConnectionResetError: [Errno 104] Connection reset by peer

Lutris log:
[INFO:2026-01-04 02:24:07,030:application]: Starting Lutris 0.5.19
[INFO:2026-01-04 02:24:07,061:startup]: “card1” is AMD Radeon 890M Graphics (1002:150e 17aa:512f amdgpu) Driver 25.2.7
[INFO:2026-01-04 02:24:23,583:file_box]: Download completed
[INFO:2026-01-04 02:24:25,087:file_box]: Download completed
[INFO:2026-01-04 02:24:25,088:files_box]: All files available
[INFO:2026-01-04 02:24:25,088:installerwindow]: All files are available, continuing install
[INFO:2026-01-04 02:24:25,090:installerwindow]: Launching installer commands
[INFO:2026-01-04 02:24:25,627:application]: Starting Lutris 0.5.19
[INFO:2026-01-04 02:24:25,655:startup]: “card1” is AMD Radeon 890M Graphics (1002:150e 17aa:512f amdgpu) Driver 25.2.7
[ERROR:2026-01-04 02:24:25,731:jobs]: Error while completing task <function ScriptInterpreter._iter_commands..dispatch at 0x7f13ff7fbcc0>: <class ‘ConnectionResetError’> [Errno 104] Connection reset by peer
[ERROR:2026-01-04 02:24:25,738:interpreter]: Last install command failed, show error

1 Like

I’m having the exact same error trying to install osu! (I’m also on Fedora 43). I’ll try to investigate what’s causing this.

1 Like

Same identical issue with me as well. Fedora 43.

EDIT: Fixed it.

Seems like the python3.14 has issue maybe. Figured out that there was probably an import issue on multiprocessing from the error.

I edited ‘/usr/bin/lutris’ which is the python script, and added the following two lines at the beginning where you import the packages.

import multiprocessing
multiprocessing.set_start_method(‘fork’)

It looks like from python3.14 there are some changes from the multiprocessing manual.

I hope they fix this soon.

NOTE: You need to be superuser to edit the file. Also, take care and back up the file before editing.

4 Likes

Does this issue even happened with Lutris Flatpak version?

edit: no

I think it’s to do with the python version. If you have an older one you probably will be okay.

I just installed Lutris, so I won’t be able to comment on the other versions.

Blockquote I edited ‘/usr/bin/lutris’ which is the python script, and added the following two lines at the beginning where you import the packages.
import multiprocessing
multiprocessing.set_start_method(‘fork’)

Confirmed, I had the same issue and this fixed it

instead of " (‘fork’) " use " (‘fork’) "

I had the same issue on CachyOS while trying to install Girls Frontline 2 with the haoplay script, adding the import fixed it for me.

1 Like

Thank you very much, I’ve just formatted my PC and I thought something was wrong with it. After adding those lines of code, Genshin started installing successfully on the first try.

I’m seeing this error as well on a fresh install of CachyOS and Lutris. The solution worked for me as well.
I was getting the error trying to install native client of Hollow Knight via GOG. Tried other native games and they also got the same error code.

This line is crashing my lutris, I’m trying to download NFS:Underground and the Errno 104 appear when installing. When I import the multiprocessing, it opens fine, but this line instantly crashes it

Had the same problem after copy/pasting the lines, markdown is messing with the quotes if you don’t put it in a code block.
Make sure that fork is between two single quotes.
I was trying to install Metroid Planets, and that did the trick for me.

import multiprocessing
multiprocessing.set_start_method('fork')