question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RemoteDisconnected after Lazarus

See original GitHub issue

Description

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:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cicdwcommented, Sep 15, 2020

Yup, that’s correct

0reactions
thomasfrederikhoeckcommented, Sep 14, 2020

@cicdw ah, so agent submits the job without any errors, but the pod is never started and therefor never contacts the Cloud API?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found