Skip to content

Conversation

@dariocurr
Copy link

Hi, I am Dario, a developer at BuildNN. First of all, thank you for your work!

Today I was trying to connect to minio using S3FileSystem.
So I tried endpoint_override="localhost:9000" as suggested in your documentation, but I got the following error:

File "pyarrow/error.pxi", line 114, in pyarrow.lib.check_status
OSError: When creating bucket 'test-bucket': AWS Error [code 99]: curlCode: 35, SSL connect error

After some tries, I discovered that the protocol prefix is required (e.g. http:\\), so when I use endpoint_override="http://localhost:9000" everything works just fine.

I guess then that the documentation is not updated

Signed-off-by: Dario Curreri <dariocurr@gmail.com>
@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@dariocurr dariocurr changed the title [MINOR] fix docs and comment [MINOR] Fix docs and comment for S3FileSystem May 26, 2022
@dariocurr dariocurr changed the title [MINOR] Fix docs and comment for S3FileSystem [MINOR] Fix docs and comment for pyarrow.fs.S3FileSystem May 26, 2022
@dariocurr dariocurr changed the title [MINOR] Fix docs and comment for pyarrow.fs.S3FileSystem [MINOR] [python] Fix docs and comment for pyarrow.fs.S3FileSystem May 27, 2022
@dariocurr dariocurr changed the title [MINOR] [python] Fix docs and comment for pyarrow.fs.S3FileSystem [MINOR] [Python] Fix docs and comment for pyarrow.fs.S3FileSystem May 27, 2022
@dariocurr dariocurr changed the title [MINOR] [Python] Fix docs and comment for pyarrow.fs.S3FileSystem [MINOR] [Python Docs] Fix docs and comment for pyarrow.fs.S3FileSystem May 30, 2022
@pitrou
Copy link
Member

pitrou commented May 30, 2022

After some tries, I discovered that the protocol prefix is required (e.g. http:\\), so when I use endpoint_override="http://localhost:9000" everything works just fine.

It is not. You can actually use endpoint_override="localhost:9000". The issue here is that Minio is listening in non-encrypted mode, so you must also pass scheme="http".

@dariocurr dariocurr closed this May 30, 2022
@dariocurr
Copy link
Author

Thanks for the clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants