Tkinter output not working

Bug description:
I’m using tkinter to create GUI for a project. This GUI used to work just fine until today. The ‘output’ window pops up but has this message:
There was an error connecting to the server
I tried again with some example code and got the same message
I followed the instructions on the message and visit the link it tells me to. REPLIT, not my ISP or browser, gives me a ‘404 not found’ error.
I’ve also tried combinations of refreshing, closing and reopening, and retrying.

Expected vs Current Behavior:
Expected behavior: The GUI displays in the output window.
Current behavior: The output window throws an error I can’t resolve.

Steps to reproduce:

  1. Create a new python project on Replit
  2. Paste some example code into the editor and run it. I used this:
from tkinter import *
master = Tk()
w = Canvas(master, width=40, height=60)
y = int(canvas_height / 2)
w.create_line(0, y, canvas_width, y )
  1. Run the code

Bug appears at this link:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile:

Have you tried clicking Try again (or refreshing) while the program is running?
If that doesn’t work, perhaps the output domain is being blocked by your network. You could try and see if it works on instead.

I tried both of those and they don’t seem to work. I’m led to believe it is an issue with replit because the page is not blocked, its just not found on replit.

I run it, which brings me here

So then I visit the link, which brings me here

So most likely, your network is blocking the domain.
The link provided is outdated and I am no longer sure what the actual domain for output is now.

Thanks! I retryed on my home network and it worked.

It’d probably be something like <REPL_ID>.<REPL_CLUSTER>, no?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.