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

Failure listing buckets when response is missing Content-Type header #16892

Open
miruritira opened this issue Feb 21, 2025 · 4 comments
Open
Assignees
Labels
s3 AWS S3 Protocol Implementation

Comments

@miruritira
Copy link

miruritira commented Feb 21, 2025

cyberduck_error.log

Describe the bug
Error when listing buckets.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to server does not show the available buckets.

Desktop (please complete the following information):

  • Windows 10
  • Cyberduck 9.1.2

Log Files

Caused by: java.lang.NullPointerException
	at org.jets3t.service.impl.rest.httpclient.RestStorageService.listAllBucketsImpl(RestStorageService.java:1462) ~[Cyberduck.Core.DLL:0.9.38]
	at org.jets3t.service.StorageService.listAllBucketsImpl(StorageService.java:1408) ~[Cyberduck.Core.DLL:0.9.38]
	at org.jets3t.service.StorageService.listAllBuckets(StorageService.java:591) ~[Cyberduck.Core.DLL:0.9.38]
	at org.jets3t.service.S3Service.listAllBuckets(S3Service.java:1446) ~[Cyberduck.Core.DLL:0.9.38]
@dkocher dkocher self-assigned this Feb 21, 2025
@dkocher dkocher added the s3 AWS S3 Protocol Implementation label Feb 21, 2025
@dkocher
Copy link
Contributor

dkocher commented Feb 21, 2025

The error is caused because of a missing Content-Type header in the response from the server.

@dkocher dkocher changed the title NPE error when listing buckets - Cyberduck 9.1.2 Failure listing buckets when response is missing Content-Type header Feb 21, 2025
@miruritira
Copy link
Author

Thanks @dkocher, can I workaround this issue not having access to the server?

@dkocher
Copy link
Contributor

dkocher commented Feb 25, 2025

Thanks @dkocher, can I workaround this issue not having access to the server?

There is currently no workaround.

@miruritira
Copy link
Author

Are you planning to fix o default a content-type in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants