Python with Turtle not working

Problem description

When I use Replit to create a Python program using the Turtle library, the output window does not create the “drawing” and instead pops up with a connection error message. This also occurs when I use the “Python (with Turtle)” template with sample code already written.

I have alreay had my IT department unblock all sites and even “watch” as I run the code to see if all urls are unblocked when the code attempts to run.

Expected behavior

The output window should show the turtle’s “drawing”.

Actual behavior

An error message pops up after a few seconds that reads “There was an erro connecting to the server” along with a Diagnosis that reads “If you see a browser error, it’s possible that your ISP have security settings blocking the URL. Please contact your ISP and ask them to unblock the URL above. Here are the support links for common ISPs:”

Steps to reproduce

Use replit to create a Python (with Turtle) program and run the given sample code.

Browser

Chrome and Edge

OS

Windows 11

Device if mobile

N/A

Plan

free

Please upload screenshots

Have you tried running the code in the Python IDE? It appears that your computer/wifi may not allow that to run. Is this at a school?

1 Like

@RodFriedrich This Repl, correct?
https://replit.com/@RodFriedrich/PeriodicElegantCodeview?v=1#main.py

I forked it and here is what it looks like on my machine (which is expected behavior). I am using a Macbook with Chrome on a personal network. Public coffee shop network worked too when I tested.

My Repl Link: https://replit.com/@SuzyAtReplit/PeriodicElegantCodeview#main.py

I’d recommend testing on other browsers, devices, and networks to help you narrow down the issue. Once you know which component is causing the issue, you can investigate further in that area.

1 Like