You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting proxy settings (proxyScheme, proxyHost, proxyPort etc) in Aws::S3Crt::ClientConfiguration and passing these through to a new instance of Aws::S3Crt::S3CrtClient the proxy is used for most operations, but is ignored for operations passed through to crt (get, put).
Expected Behavior
Proxy should be used for all operations
Current Behavior
Proxy is used for the majority of operations, but is not passed through to crt for GET and PUT. For these operations the system proxy (HTTPS_PROXY env) is used instead if set.
Reproduction Steps
Create an instance of Aws::S3Crt::S3CrtClient with proxy set and attempt GET/PUTs
Possible Solution
In S3CrtClient::init other config options are passed through to aws_s3_client_config s3CrtConfig, including tcp and credentials settings, but with no mention of proxy. Hard coding a proxy here seems to make it work for crt operations.
Additional Information/Context
No response
AWS CPP SDK version used
1.11.115
Compiler and Version used
gcc 11.3.1
Operating System and version
Rocky Linux 9
The text was updated successfully, but these errors were encountered:
jmklix
added
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p3
This is a minor priority issue
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 13, 2023
Thanks for creating this issue. I'm glad that you were able to get the proxy working for you by hard coding it. I'm changing this to a feature request as it is not something currently supported by the s3crt client. Please let us know if you are interested in this feature request by 👍 the original issue above.
jmklix
added
feature-request
A feature should be added or improved.
and removed
bug
This issue is a bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
labels
Jul 20, 2023
Describe the bug
When setting proxy settings (
proxyScheme
,proxyHost
,proxyPort
etc) inAws::S3Crt::ClientConfiguration
and passing these through to a new instance ofAws::S3Crt::S3CrtClient
the proxy is used for most operations, but is ignored for operations passed through to crt (get, put).Expected Behavior
Proxy should be used for all operations
Current Behavior
Proxy is used for the majority of operations, but is not passed through to crt for GET and PUT. For these operations the system proxy (HTTPS_PROXY env) is used instead if set.
Reproduction Steps
Create an instance of
Aws::S3Crt::S3CrtClient
with proxy set and attempt GET/PUTsPossible Solution
In
S3CrtClient::init
other config options are passed through toaws_s3_client_config s3CrtConfig
, including tcp and credentials settings, but with no mention of proxy. Hard coding a proxy here seems to make it work for crt operations.Additional Information/Context
No response
AWS CPP SDK version used
1.11.115
Compiler and Version used
gcc 11.3.1
Operating System and version
Rocky Linux 9
The text was updated successfully, but these errors were encountered: