Andrei
02/06/2025, 2:07 PMMarvin
02/06/2025, 2:07 PMws://
) due to a configuration issue. Here's what you might want to check:
1. API URL Configuration: Ensure that your Prefect server's API URL is set to use https://
instead of http://
. This is crucial for establishing secure WebSocket connections (wss://
).
2. Environment Variables: If you're using self-hosted Prefect, make sure your environment variables are correctly set up. For example, set PREFECT_API_URL
to a secure URL (<https://your-prefect-server.com>
).
3. Reverse Proxy: If you have a reverse proxy (like Nginx or Traefik) in front of your Prefect server, ensure it's correctly configured to handle secure connections and that your ui.api_url
points to the secure external proxy URL.
4. SSL/TLS Configuration: If you're using SSL/TLS, ensure your certificates are correctly configured and trusted by your system. You can set the SSL_CERT_FILE
environment variable to point to your certificate bundle.
For more detailed setup instructions, you can refer to Prefect's documentation on server settings and self-hosting.