Discuss Scratch

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?

Hi! I'm TheCloudDev
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?

There can be multiple reason behind this error:

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
source

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)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
TheCloudDev
Scratcher
100+ posts

Connection Aborted Error

Chiroyce wrote:

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?

There can be multiple reason behind this error:

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
source

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.
I'm running 3.9.5

Hi! I'm TheCloudDev
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

wvj wrote:

run the program on replit and you won't get this error
I 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…)

Hi! I'm TheCloudDev
Chiroyce
Scratcher
1000+ posts

Connection Aborted Error

Why can't you make a replit account?







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Maximouse
Scratcher
1000+ posts

Connection Aborted Error

wvj wrote:

run the program on replit and you won't get this error
Isn't learning how to set up a server locally important if you want to be a web developer?


This is Maximouse's signature. Learn more about signatures.
Raihan142857
Scratcher
1000+ posts

Connection Aborted Error

Maximouse wrote:

wvj wrote:

run the program on replit and you won't get this error
Isn't learning how to set up a server locally important if you want to be a web developer?
Agreed. replit is generally pretty slow anyway.

I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?










TheCloudDev
Scratcher
100+ posts

Connection Aborted Error

Chiroyce wrote:

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)


Hi! I'm TheCloudDev
TheCloudDev
Scratcher
100+ posts

Connection Aborted Error

Maximouse wrote:

wvj wrote:

run the program on replit and you won't get this error
Isn't learning how to set up a server locally important if you want to be a web developer?
I'm running the server with the command “py main.py”. Are they any other ways?

Hi! I'm TheCloudDev

Powered by DjangoBB