please help "unhandled exeception in script"

ulastr 21 Reputation points
2022-09-08T15:43:46.533+00:00

i just reinstall my windows and when trying play online games such as battlefield 2042 after a while i get this message and return to desktop.
i have no idea what is that error. ı get so worry about this i tried everything all the drivers and windows are updated. i tried again reinstall my windows but nothing changed. i used this pc more than 2 years i didnt recieve such an error before.

my specs
asus dark hero 570
amd 5950x (stock)
3800 mhz gskill cl 14 16*2 ddr 4 rams
asus strix 3090 oc (stock)
1200watt psu

Error screen says

Failed to execute script 'Binary Stub' deu to unhandled exception: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>

Traceback (most recent call last):
File "urllib\request.py", line 1317, in do_open
File "http\client.py", line 1229, in request
File "http\client.py", line 1275, in _send_request
File "http\client.py", line 1224, in endheaders
File "http\client.py", line 1016, in _send_output
File "http\client.py", line 956, in send
File "http\client.py", line 1392, in connect
File "ssl.py", line 412, in wrap_socket
File "ssl.py", line 853, in _create
File "ssl.py", line 1117, in do_handshake
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Binary Stub.py", line 58, in <module>
File "<string>", line 136, in <module>
File "<string>", line 1, in <module>
File "<string>", line 58, in init
File "<string>", line 103, in MSPM_Main
File "urllib\request.py", line 222, in urlopen
File "urllib\request.py", line 525, in open
File "urllib\request.py", line 543, in _open
File "urllib\request.py", line 503, in _call_chain
File "urllib\request.py", line 1360, in https_open
File "urllib\request.py", line 1319, in do_open
urllib.error.URLError: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>

my windows edition.

Edition Windows 11 Pro
Version 21H2
Installed on ‎7.‎09.‎2022
OS build 22000.918
Experience Windows Feature Experience Pack 1000.22000.918.0

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,364 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.2K Reputation points MVP
    2022-09-08T16:54:51.56+00:00

    If you think the operating system is broken then some option here.
    https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5

    --please don't forget to upvote and Accept as answer if the reply is helpful--


4 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP
    2022-09-08T15:50:54.39+00:00

    An unhandled exception is an error in the program or application where the code has no appropriate handling exceptions. So you'll need the game developer's help to update the program.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Dave Patrick 426.2K Reputation points MVP
    2022-09-08T17:41:34.117+00:00

    Looks like something is broken related to Python. I'd ask the game developer for help.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  3. Dave Patrick 426.2K Reputation points MVP
    2022-09-08T18:09:54.42+00:00

    Python is a scripting language. Most likely one or more of the games installed it.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  4. ulastr 21 Reputation points
    2022-09-12T07:34:52.49+00:00

    for this issue i reinstalled my windows more than 3 times. At last my i solve the isse i think it was related with updates. i didnt install the latest updates of windows 11 and now everytthing seems stable.

    Mr Patrick thank you for your concern.