Hi Team, I am getting these error for the deployme...
# ask-community
a
Hi Team, I am getting these error for the deployment, and the rest of the scheduled flows are getting cancelled. can someone help me understand the issue here?
t
Hi @Akash N I am get the same error. We first started to see it 3 days ago.
Copy code
Response: {'exception_message': 'Internal Server Error'}
For more information check: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500>
And then all future flows are being cancelled.
a
I have sent these error to support
t
When you check the cancel message does it also complain about deployment limit? I have found increasing the limit or removing it makes the flow work again.
a
I dont want my deployement to run it in parallel , so I have set concurrency limit to 1
t
Same. However I needed to to work immediately. Deleting and re-creating the flow also makes it schedule again. Can you update this thread if you hear from them?
a
I did the same for now
Sure I will
They have released a new version which mitigates this issue - https://github.com/PrefectHQ/prefect/issues/17415 To benefit from this new design you'll need to upgrade your Prefect version to 3.4.11 or above. The concurrency context managers (sync link/async link) now have a
lease_duration
keyword argument that allows you to specify the lease length. By default, it's set to 300 seconds. No action is needed beyond upgrading your Prefect version to use leasing in deployment concurrency. (response from support). I have not upgraded yet