You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "hadim (via GitHub)" <gi...@apache.org> on 2025/02/21 20:43:05 UTC

Re: [I] [Python] AWS Error NETWORK_CONNECTION during HeadObject operation: curlCode: 6, Couldn't resolve host name [arrow]

hadim commented on issue #40539:
URL: https://github.com/apache/arrow/issues/40539#issuecomment-2675503893

   I am seeing the same error. What confuses me is that using `fsspec` directly, everything works fine. Note that I am using a custom S3 provider (scaleway object storage) and so I set a custom endpoint URL in the AWS config file.
   
   ```python
   import fsspec
   import pandas as pd
   
   data_path = "s3://my-bucket/data/datafile.parquet"
   
   # This works fine 🟢
   with fsspec.open(data_path, mode="rb") as f:
       print(f.read(100))
   
   # This fails ❌
   pd.read_parquet(data_path)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org