Replies: 2 comments 1 reply
-
Will resolve the second issue, as for the URL parsing error perhaps try with |
Beta Was this translation helpful? Give feedback.
0 replies
-
@tustvold, thanks! the let (store, path) = parse_url_opts(&url, [("skip_signature", "true")])?; However, the HTTP link still doesn't work. Both HTTP and HTTPS give the following errors: HTTP
HTTPS
Any ideas? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am trying to have a generic interface to read from gs/s3/az/http links using
ObjectStore::get_ranges()
I construct the dynamic ObjectStore like this:
This seems to work great for GCS and HTTP.
However, when I pass a public S3 (HTTP) link like this:
http://s3.amazonaws.com/teapot/filt_mig.sgy
I am getting this error.
AFAIK, based on crate documentation,
object_store
tries to convert this to s3 link internally (there is an example for cloudflare). But not allowing it for S3?It is very likely I am doing something wrong because I am a Rust noob, but just wanted to check with the community.
I also got the s3:// protocol link for the same path, and I get a slightly different error.
I am curious why this is happening? Normally I have to set anonymous access to True when using
s3fs
in Python, but I see no such option inobject_store
. Is this the problem?Beta Was this translation helpful? Give feedback.
All reactions