How do I resolve "read timeout on endpoint URL" during a bulk upload to Panther?
Issue
When trying to run a bulk upload to Panther, timeout errors such as the following occur:
Error: [root]: failed to upload to backend: Read timeout on endpoint URL: "https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/panther-analysis-api/invocations"
What can I check to ensure that I am using asynchronous bulk uploads?
Resolution
This issue can occur when you are not running the asynchronous version of upload. To ensure that you are running the asynchronous version of upload, please check that you are:
- Using Panther Analysis Tool (PAT) version 0.22.0 or newer
- Using an API Token with
Bulk Upload
permissions - Not using the
--no-async
argument on theupload
command
Cause
Bulk upload and timeout issues can occur when you are not running the asynchronous version of upload.