Job fails with "Failed to JSON parse a line from worker stream ... Line with invalid JSON data: b''

Solution Verified - Updated -

Issue

  • AAP jobs are failing frequently with error Job reaped due to instance shutdown.
  • Jobs are failing intermittently with the error:
    Failed to JSON parse a line from worker stream. Error: Expecting value: line 1 column 1 (char 0) Line with invalid JSON data: b''

Environment

  • Red Hat Ansible Automation Platform
    • 2.3
    • 2.4
  • Red Hat Ansible Automation Platform On Clouds

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content