Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Connection Aborted Error
- TheCloudDev
-
Scratcher
100+ posts
Connection Aborted Error
So I made a python server to interact with the scratch cloud servers, and I keep getting this error after around a minute of starting the server. (I'm running it in the integrated terminal in VSCode)

What do I do?

What do I do?
- Chiroyce
-
Scratcher
1000+ posts
Connection Aborted Error
Yep, I know this bug. It happens mostly due to your OS or antivirus. It happened to me as well on Windows 7. I'd recommend using replit.com for cloud based projects. Does this help?
What version of python are you using? Run this in command prompt
Make sure you're using a version of Python that is equal to or greater than 3.9.5.
This problem was fixed for a person by updating Python.
There can be multiple reason behind this error:source
Presence of anti-virus softwares.
Firewall blocking the ports.
Network Configuration.
Problem can be caused by CORS.
Due to enabling of HTTP keep-alive connections
What version of python are you using? Run this in command prompt
python --version
Make sure you're using a version of Python that is equal to or greater than 3.9.5.
This problem was fixed for a person by updating Python.
Last edited by Chiroyce (May 26, 2021 13:55:58)
- TheCloudDev
-
Scratcher
100+ posts
Connection Aborted Error
Yep, I know this bug. It happens mostly due to your OS or antivirus. It happened to me as well on Windows 7. I'd recommend using replit.com for cloud based projects. Does this help?I'm running 3.9.5There can be multiple reason behind this error:source
Presence of anti-virus softwares.
Firewall blocking the ports.
Network Configuration.
Problem can be caused by CORS.
Due to enabling of HTTP keep-alive connections
What version of python are you using? Run this in command promptpython --version
Make sure you're using a version of Python that is equal to or greater than 3.9.5.
This problem was fixed for a person by updating Python.
- wvj
-
Scratcher
1000+ posts
Connection Aborted Error
run the program on replit and you won't get this error
- TheCloudDev
-
Scratcher
100+ posts
Connection Aborted Error
run the program on replit and you won't get this errorI don't have replit
If I send you the code later, can you run it for me? (You'll have to enter your own scratch credentials…)- Maximouse
-
Scratcher
1000+ posts
Connection Aborted Error
run the program on replit and you won't get this errorIsn't learning how to set up a server locally important if you want to be a web developer?
- Raihan142857
-
Scratcher
1000+ posts
Connection Aborted Error
Agreed. replit is generally pretty slow anyway.run the program on replit and you won't get this errorIsn't learning how to set up a server locally important if you want to be a web developer?
- TheCloudDev
-
Scratcher
100+ posts
Connection Aborted Error
Why can't you make a replit account?I don't want to. I've heard replit is also very slow and the servers keep crashing.
Last edited by TheCloudDev (May 27, 2021 04:25:24)
- TheCloudDev
-
Scratcher
100+ posts
Connection Aborted Error
I'm running the server with the command “py main.py”. Are they any other ways?run the program on replit and you won't get this errorIsn't learning how to set up a server locally important if you want to be a web developer?
- Discussion Forums
- » Advanced Topics
-
» Connection Aborted Error




