thinkORo opened a new issue, #540:
URL: https://github.com/apache/iceberg-python/issues/540

   ### Apache Iceberg version
   
   0.6.0 (latest release)
   
   ### Please describe the bug 🐞
   
   I've create a .pyiceberg.yaml file with the following content:
   
   ```
   catalog:
     default:
       s3.endpoint: https://localhost:9199
       s3.access-key-id: iceberg
       s3.secret-access-key: iceberg123
       s3.region: us-east-1
       type: sql
       uri: postgresql+psycopg2://iceberg:iceberg123@localhost:5432/iceberg
   ```
   
   My code is like this:
   
   ```
   from pyiceberg.catalog import load_catalog
   import pyarrow.parquet as pq
   
   catalog = load_catalog('default')
   df = pq.read_table("yellow_tripdata_2023-01.parquet")
   
   catalog.create_namespace("demo")
   table = catalog.create_table(
       "demo.taxi_dataset",
       schema=df.schema,
       location="s3://iceberg",
   )
   ```
   If I'd change the location from s3 to any location on my local drive (like: 
/tmp/iceberg) everything works fine. But with S3 I'd get the following error:
   
   ```
   OSError: When getting information for key 
'metadata/00000-97670b6c-f2c1-45a0-8026-b47087f28abe.metadata.json' in bucket 
'iceberg': AWS Error NETWORK_CONNECTION during HeadObject operation: curlCode: 
60, SSL peer certificate or SSH remote key was not OK
   ```
   
   I didn't find any solution to handle this issue. Could one please give me 
some advices?


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to