Why can't I read from an S3 bucket but I can connect to it?

I've got some trouble reading Parquet data from an S3 server. I can connect to the bucket, but all attempts to read data fail. Why is this happening?

The most common cause for this issue is timeouts. Your failed reads produce a stack trace that should contain a message like:

did not complete before the specified timeout

This indicates that the operation takes longer than what is allowed. Deephaven's S3Instructions object allows you to specify a timeout for both reading from and writing to S3. You can increase the timeout by setting the read_timeout and write_timeout parameters to a higher value. The default for both is 2 seconds.

Note

These FAQ pages contain answers to questions about Deephaven Community Core that our users have asked in our Community Slack. If you have a question that is not in our documentation, join our Community and we'll be happy to help!