Skip to content

Connecting to S3 with path style URL in v9.0.1 #16176

@there-it-is

Description

@there-it-is

Describe the bug
No contents of s3 bucket after updating to 9.0.1

To Reproduce
Steps to reproduce the behavior:

  1. Connect with your s3 bucket
  2. S3 bucket gets listed but no folders and files
  3. On clicking on the bucket the message "Reading of the configuration failed" gets shown
  4. In comparison everything works perfect in version 9.0.0 of cyberduck

Expected behavior
All folders and files are visible

Desktop:

  • OS: macOS Sonoma 14.5

Log Files
Getting the message:

2024-07-24 14:59:25,024 [Thread-164] WARN  ch.cyberduck.core.threading.BackgroundCallable - Failure running background task WorkerBackgroundAction{worker=SessionListWorker{directory=Path{path='/mybucket', type=[directory, volume]}}}
java.lang.Exception: null
	at ch.cyberduck.core.threading.BackgroundCallable.<init>(BackgroundCallable.java:38) ~[core-9.0.1.jar:41dce8f1a9acc45a57a1217d4a5e5b7a90c3b70a]
…
Caused by: **java.net.UnknownHostException: mybucket.s3.mydomain.de**
	at java.base/java.net.InetAddress$CachedAddresses.get(Unknown Source) ~[?:?]
	at java.base/java.net.InetAddress.getAllByName0(Unknown Source) ~[?:?]
	at java.base/java.net.InetAddress.getAllByName(Unknown Source) ~[?:?]
	at java.base/java.net.InetAddress.getAllByName(Unknown Source) ~[?:?]
	at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.14.jar:4.5.14]

Additional context
Used with S3 compatible NetApp StorageGRID and not AWS S3.
On opening the bucket cyberduck tries to connect to mybucket.s3.mydomain.de (virtual hosted style) but should instead connect to s3.mydomain.de/mybucket (path-style URL).

Setting "S3 (Deprecated path style requests)" or "S3 (HTTP, Deprecated path style requests)" in the profile makes no difference.

Thanks Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    s3AWS S3 Protocol Implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions