Aria2 Trigger
AI-generatedOverview
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
- Automatically send a notification when a download completes.
- Pause other processes when a download is paused.
- 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
- Aria2 WebSocket Interface Documentation - Official documentation for Aria2's WebSocket API and event methods.