-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support proxy when sending/receiving events over websocket #15474
Comments
Another possible approach is to use the I lean towards using |
Prefect communicates with the server (self hosted or cloud) over regular http requests and websockets. As of this PR, Prefect supports connecting over an http proxy for websocket communication as well. To enable communication over a proxy, set Note: Your proxy will likely need explicit configuration updates to allow websocket connections. See here for an example with squid. |
Describe the current behavior
Currently, Prefect uses the websockets package to facilitate sending events to the server. A known limitation of this package is that it does not support proxying through HTTP or SOCKS.
While Prefect has always used this package for client-side events, with the introduction of Prefect 3.x, the ability to send and receive events has become more critical to core Prefect functionality. This includes tasks such as recording client-side orchestrated task run data and resolving distributed futures.
Describe the proposed behavior
Users of Prefect who utilize a proxy should be able to access all of Prefect's functionality.
Possible solutions:
Example Use
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: