RemoteDisconnected after Lazarus
See original GitHub issueDescription
Got the following error when running job on k8 agent using cloud. This was before flow itself started
Rescheduled by a Lazarus process. This is attempt 1.
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Expected Behavior
No error as the flow can run.
Reproduction
@task(**base_task_settings())
def numbers_task():
return [1, 2, 3]
@task(**base_task_settings())
def map_task(x):
sleep(2)
return x + 1
@task(**base_task_settings())
def reduce_task(x):
return sum(x)
schedule = CronSchedule(cron="2/30 * * * *", start_date=now)
with Flow("Map-Reduce", schedule=schedule) as mr_flow:
numbers = numbers_task()
first_map = map_task.map(numbers)
second_map = map_task.map(first_map)
reduction = reduce_task(second_map)
if __name__ == "__main__":
mr_flow.run(run_on_schedule=False)
Environment
prefect 0.13.5 with k8 agent and cloud
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
remotedisconnected python - You.com | The Search Engine You ...
RemoteDisconnected is thrown when running az command to ensure managed identity is assigned to a Postgres server. Command Name az postgres server update...
Read more >RemoteDisconnected ('Remote end closed connection without ...
Connection aborted: RemoteDisconnected ('Remote end closed connection without response') after approx 5 mins of inactivity when sending POST.
Read more >Delphi Dev | I've recently discovered an interesting project
I've recently discovered an interesting project - DocFx. This is a free open-source library for producing documentation websites. DocFx natively supports...
Read more >Changes Log - Wireless Communication Library
C++ Edition: fixed bug when Bluetooth Framework crashes on Radio.Open() call with Toshiba Bluetooth driver;; new wclBluetoothRadio.RemoteDisconnect() method.
Read more >Jennifer - - Antiqbook
Berman, Jennifer & Carole Lazarus, Glorafilia The miniature needlepoint ... imaging and illustrates the choices that must be made when images are digitized....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yup, that’s correct
@cicdw ah, so agent submits the job without any errors, but the pod is never started and therefor never contacts the Cloud API?