What to do about "the cache artifact for <hash> was too large to upload within the timeout" #407
Replies: 2 comments 1 reply
-
I have same issue... AWS setup with Lambda behind ELB with cert and S3 as storage |
Beta Was this translation helpful? Give feedback.
-
It looks like the timeout warning comes from the let api_client = APIClient::new(
format!("http://localhost:{}", port),
Some(Duration::from_secs(200)),
None,
"2.0.0",
true,
)?; impl APIClient {
/// Create a new APIClient.
///
/// # Arguments
/// `base_url` - The base URL for the API.
/// `timeout` - The timeout for requests.
/// `upload_timeout` - If specified, uploading files will use `timeout` for
/// the connection, and `upload_timeout` for the total.
/// Otherwise, `timeout` will be used for the total.
/// `version` - The version of the client.
/// `use_preflight` - If true, use the preflight API for all requests.
pub fn new(
base_url: impl AsRef<str>,
timeout: Option<Duration>,
upload_timeout: Option<Duration>,
version: &str,
use_preflight: bool,
) -> Result<Self> { |
Beta Was this translation helpful? Give feedback.
-
what controls this message?
is there an environment variable to set?
Beta Was this translation helpful? Give feedback.
All reactions