Aria2 Trigger icon

Aria2 Trigger

Trigger on Aria2 events via WebSocket

Aria2 Trigger

AI-generated

Overview

This node triggers workflows based on events from Aria2, a download utility, via a WebSocket connection. It listens for specific download-related events such as download start, pause, stop, completion, and errors. This node is useful for automating actions in response to download status changes, for example, notifying users when a download completes or handling errors automatically.

Use Case Examples

  1. Automatically send a notification when a download completes.
  2. Pause other processes when a download is paused.
  3. Log download errors for troubleshooting.

Properties

Name Meaning
Events The specific Aria2 download events to listen for, such as download start, pause, stop, complete, and error.

Output

JSON

  • event - The type of Aria2 event that triggered the workflow (e.g., downloadStart, downloadComplete).
  • data - The detailed parameters and data associated with the event from Aria2.

Dependencies

  • Requires an Aria2 API WebSocket URL and secret token for authentication, provided via credentials.

Troubleshooting

  • WebSocket connection errors may occur if the Aria2 WebSocket URL or secret token is incorrect or the Aria2 server is unreachable. Verify credentials and network connectivity.
  • If no events are triggered, ensure the selected events match those emitted by the Aria2 server and that the WebSocket connection is successfully established.
  • Errors parsing WebSocket messages may indicate unexpected message formats; check Aria2 server version and compatibility.

Links

Discussion