Skip to content

Issues running a Prefect flow on a corporate network (TCP_MISS/503) #19579

@matganzala

Description

@matganzala

Bug summary

Hi everyone,
I built a Selenium-based scraping workflow and I'm orchestrating it using Prefect. Everything works fine when I'm outside the corporate network, but when I try to run the flow inside the corporate environment it fails.

While checking the Prefect server logs and the proxy backlog, I found this entry:

TCP_MISS/503 2368 GET http://10.14.202.234:4200/api/admin/version

My Prefect server is started with:

prefect server start --host 10.14.202.234 --port 4200

It looks like the corporate proxy/firewall might be blocking internal communication between the agent and the server.

Has anyone faced something similar?
Do I need additional configuration to run Prefect behind a corporate proxy? Any tips on how to properly expose / allow traffic to the API endpoints?

Thanks in advance!

Version info

Prefect version 3.6

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions