-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoint URL not utilized for external S3 resources #902
Comments
Thanks for the report @kellrott . This is a known issue and this is the issue:
Basically this was added because there was an issue that the owner of the S3 bucket actually didn't have access to the S3 objects uploaded into the buckets. That being said, this particular canned ACL is not supported on the IBM buckets. Currently unsure of the resolution other than pointing people to use older verisons of the synapseclient (2.3.1). (unfortunately...) |
I had been using older versions of synapseclient (2.3.1) but recently an attempt to install the older version is failing. I'm not sure which dependency(ies) have a new releases that causes conda and pip to fail to install. Do you have record of the version of python, pandas, boto, etc that are compatible with 2.3.1? |
@JenniferShelton Apologies, I must have missed this message!
We just onboarded an engineer to help with the client, I'll be sure to re-visit this issue again as we will eventually reach a point where Python 3.9 EOL. For more transparency, here is the Jira ticket internally to track this work: https://sagebionetworks.jira.com/browse/SYNPY-1198 |
@thomasyu888 I'm still seeing this issue in 4.5.0, and the above JIRA ticket is not available to view externally. |
Thanks for reporting this - we have not made versions >2.3.1 of the client allow for downloads within this project. I hope to look into finding a resolution for this long standing issue in 2025. Apologies for the inconvenience |
Bug Report
Github issues is reserved for bug report. If you have a question, please don't use this form.
Instead, please ask your question on the Synapse Help Forum.
Operating system
Linux
Client version
Output of:
Description of the problem
Expected behavior
Actual behavior
Based on reading of the code, it would appear that the issues is at
https://github.com/Sage-Bionetworks/synapsePythonClient/blob/develop/synapseclient/core/upload/upload_functions.py#L198
The call to create the upload function:
Has the second argument, the
endpoint_url
, hard coded to None. This needs to be configured, the same way it is done at https://github.com/Sage-Bionetworks/synapsePythonClient/blob/develop/synapseclient/client.py#L1830 where theS3ClientWrapper.download_file
is provided theendpoint_url
from the file handle.The text was updated successfully, but these errors were encountered: