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

Requires container listing to connect #8517

Closed
cyberduck opened this issue Jan 22, 2015 · 8 comments
Closed

Requires container listing to connect #8517

cyberduck opened this issue Jan 22, 2015 · 8 comments
Assignees
Labels
bug fixed openstack OpenStack Swift Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

9a602bf created the issue

Beginning with version 4.6.2 (and in 4.6.3) I couldn't connect via openstack/swift anymore.

Error: 
"Listing directory / failed"
Forbidden 403

error.png

CD logs in successfully but doesn't access the predefined "path" directory.

With CD 4.6.1 connection and access works fine.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

This issue was introduced by change aec22fa.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We need to get the container listing to determine the region of the target container. Before the referenced changeset we used the default region in the authentication context which would make the request fail if the container is not in the default region.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

If there is an API to determine the region of a container we could improve the implementation with the requirement to list all containers. We are not aware such an API exists.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

You could workaround this by presetting the Region in a custom profile.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Duplicate in #8959.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Region specific profiles are available from Profiles for a single region.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Regardless of the region specific profile, a container listing is still made. Reopen.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In cb48bde. Make it work when using a single region profile.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed openstack OpenStack Swift Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants