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

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

Closed
1 task
sebma opened this issue Oct 9, 2024 · 3 comments
Assignees
Labels
bug This issue is a bug. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. s3

Comments

@sebma
Copy link

sebma commented Oct 9, 2024

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

@sebma sebma added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Oct 9, 2024
@adev-code adev-code self-assigned this Oct 10, 2024
@adev-code adev-code added investigating This issue is being investigated and/or work is in progress to resolve the issue. s3 p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Oct 10, 2024
@adev-code
Copy link

Hello @sebma, thanks for reaching out. I have replicated the same setup and I was not able to reproduce the same issue. Could you provide debug logs of the behavior? You can get debug logs by adding —debug to the command you have entered, and redacting any sensitive information. Thank you.

@adev-code adev-code added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Oct 10, 2024
@sebma
Copy link
Author

sebma commented Oct 11, 2024

@adev-code Thank you for your time.

My problem is now solved, I was missing the execute group permission (chmod g+x) on the S3 root dir.

@sebma sebma closed this as completed Oct 11, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. s3
Projects
None yet
Development

No branches or pull requests

2 participants