Skip to content

object_store timeout #6578

Closed Answered by tustvold
rkimoakbioinformatics asked this question in Q&A
Discussion options

You must be logged in to vote

This works fine on my computer

#[test]
fn test() {
    let runtime = tokio::runtime::Builder::new_current_thread()
        .enable_all()
        .build()
        .unwrap();

    runtime.block_on(async move {
        let store = crate::aws::AmazonS3Builder::new()
            .with_region("us-east-1")
            .with_bucket_name("testbucket")
            .with_skip_signature(true)
            .build()
            .unwrap();

        let mut stream = store.get(&Path::from("testfile.txt")).await;
        dbg!(&stream);
    })
}

And prints a 403 permission denied

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@tustvold
Comment options

@rkimoakbioinformatics
Comment options

@tustvold
Comment options

Answer selected by rkimoakbioinformatics
@rkimoakbioinformatics
Comment options

@rkimoakbioinformatics
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants