Skip to content

ls and cp do not work : upload failed: ./screenlog.0 to s3://bucket-test-2/screenlog.0 An HTTP Client raised an unhandled exception: maximum recursion depth exceeded #8963

@sebma

Description

@sebma

Describe the bug

Hi, I cannot ls or cp to new empty bucket, I get a maximum recursion depth exceeded error.

$ cat ~/.aws/config
[default]
endpoint_url = http://x.y.z.t
$

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

I expect to be able to view the new bucket and copy files inside it.

Current Behavior

I get this :

$ du -h screenlog.0
2.1G    screenlog.0
$ aws s3 ls s3://bucket-test-2

maximum recursion depth exceeded
$ echo $?
255
$ aws s3 cp screenlog.0 s3://bucket-test-2
upload failed: ./screenlog.0 to s3://bucket-test-2/screenlog.0 An HTTP Client raised an unhandled exception: maximum recursion depth exceeded
$ echo $?
1
$

Reproduction Steps

$ aws configure
AWS Access Key ID [****************xxxx]:
AWS Secret Access Key [****************yyyy]:
Default region name [None]:
Default output format [None]:
$ cat ~/.aws/config
[default]
endpoint_url = http://x.y.z.t
$

Then I do this :

$ aws s3 ls s3://bucket-test-2

maximum recursion depth exceeded
$ echo $?
255
$ aws s3 cp screenlog.0 s3://bucket-test-2
upload failed: ./screenlog.0 to s3://bucket-test-2/screenlog.0 An HTTP Client raised an unhandled exception: maximum recursion depth exceeded
$ echo $?
1
$

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.18.2 (snap version, classic confinement)

Environment details (OS name and version, etc.)

Ubuntu 22.04.1 LTS

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.s3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions