Skip to content
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

SNOW-1230690 File Transfers to buckets in AWS US GOV and AWS China Partitions fail as they do not support Transfer Acceleration #1072

Closed
sfc-gh-fsalinas opened this issue Mar 12, 2024 · 4 comments
Assignees
Labels
bug Erroneous or unexpected behaviour status-fixed_awaiting_release The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector. status-triage_done Initial triage done, will be further handled by the driver team

Comments

@sfc-gh-fsalinas
Copy link

Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!

  1. What version of GO driver are you using?
    1.7

  2. What operating system and processor architecture are you using?
    Linux x86_64

  3. What version of GO are you using?
    run go version in your console
    1.22.0

4.Server version:* E.g. 1.90.1

8.3.1

  1. What did you do?

While attempting a file upload to a stage using with a bucket from AWS China or AWS US GOV, the following error is received:

Operation error S3: GetBucketAccelerateConfiguration https response StatusCode 400, api error unsupportedArgument: The request contained an unsupported argument.

See https://docs.amazonaws.cn/en_us/aws/latest/userguide/s3.html#feature-diff
https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-s3.html

  1. What did you expect to see?

The file should have uploaded

  1. Can you set logging to DEBUG and collect the logs?

Not needed, the issue is here:

https://github.com/snowflakedb/gosnowflake/blob/master/file_transfer_agent.go#L608-L621

  1. What is your Snowflake account identifier, if any? (Optional)
@sfc-gh-fsalinas sfc-gh-fsalinas added the bug Erroneous or unexpected behaviour label Mar 12, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka self-assigned this Mar 12, 2024
@sfc-gh-dszmolka
Copy link
Contributor

thank you for submitting this issue - you can follow the bugfix effort in the internal tickets ;) but i'll of course also update this thread here too.

@sfc-gh-dszmolka sfc-gh-dszmolka added the status-triage_done Initial triage done, will be further handled by the driver team label Mar 12, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka changed the title File Transfers to buckets in AWS US GOV and AWS China Partitions fail as they do not support Transfer Acceleration SNOW-1230690 File Transfers to buckets in AWS US GOV and AWS China Partitions fail as they do not support Transfer Acceleration Mar 12, 2024
@sfc-gh-dszmolka
Copy link
Contributor

PR for error handling #1073

@sfc-gh-dszmolka sfc-gh-dszmolka added the status-pr_pending_merge A PR is made and is under review label Mar 13, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka added status-fixed_awaiting_release The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector. and removed status-pr_pending_merge A PR is made and is under review labels Mar 14, 2024
@sfc-gh-dszmolka
Copy link
Contributor

PR merged and will be deployed with the upcoming client driver release cycle towards the end of March.

@sfc-gh-dszmolka
Copy link
Contributor

fix released with 2024 March release, version 1.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Erroneous or unexpected behaviour status-fixed_awaiting_release The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector. status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

No branches or pull requests

4 participants