bloomreach / bloomreach/s4cmd

How to use proxy?

Open
#151 1 comment 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
1.4k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

Hey, I have a proxy (cnltm),and the proxy is: 192.0.0.2:3128,it do not have username
and user passwd

But when I use s4cmd,It always print error like this:

[Exception] An error occurred (407) when calling the PutObject operation: Proxy Authentication Required
[Thread Failure] An error occurred (407) when calling the PutObject operation: Proxy Authentication Required

I have add some code to use proxy:

from botocore.config import Config as botoconfig

![image](https://user-images.githubusercontent.com/4739622/56867243-b7adf800-6a15-11e9-9c79-3d39153b00c4.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the PutObject request with the supplied botocore Config proxy settings and inspect how s4cmd passes proxy configuration to botocore. Done means establishing whether an unauthenticated proxy is supported and documenting or correcting the behavior behind the HTTP 407 response.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.