Hi all, I’ve just upgraded to Prefect 3. I’ve spun...
# ask-community
p
Hi all, I’ve just upgraded to Prefect 3. I’ve spun up a brand new environment, upgraded to Python 3.11.9, but no matter what I do, I am unable to “simply” run the flows as I used to. I guess this is now what is called the ephemeral server, but I keep running into
RuntimeError: Timed out while attempting to connect to ephemeral Prefect API server.
Even a minimal example doesn’t work:
Copy code
from prefect import flow

@flow
def test():
    print("Hello")

test()
I am on 2GHz Quad Core i5, with 16 GB memory…
n
that above example should work. can you give logs that you're seeing when you hit a timeout?
p
Not much more than the above. There is one line saying the server is starting, then the code hits the error above.
image.png
I now figured out the following: I am able to run the flow when manually executing it in the environment. It seems the issue is with
debugpy
when triggering from the VS Code debugger… Weird because it always worked before. Not sure what the issue is.