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

Pre-signed AWS S3 URLs are malformed #10994

Closed
cyberduck opened this issue Mar 17, 2020 · 2 comments
Closed

Pre-signed AWS S3 URLs are malformed #10994

cyberduck opened this issue Mar 17, 2020 · 2 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Mar 17, 2020

08762be created the issue

In the Copy URL menu for files stored in AWS S3, the Pre-signed URL values contain the bucket name twice in the subdomain field. E.g. if your bucket is called mybucket, the URL becomes https://mybucket.mybucket.s3.amazonaws.com/…, causing SSL certificate errors when opened. Manually deleting the redundant subdomain invalidates the signature, so there's no workaround.

Also, HTTPS URL is displayed twice in the menu. The first instance looks good, but the second instance has an additional path component with the bucket name, e.g. https://mybucket.s3.amazonaws.com/mybucket/… thus pointing to an invalid path.


Attachments

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Apr 16, 2020

@dkocher commented

Can you double check you do not have the bucket name included in Server in the bookmark configuration. It should be set to s3.amazonaws.com.

Loading

@cyberduck cyberduck closed this Apr 16, 2020
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 2, 2020

08762be commented

True. That fixed it, thank you!

I was misled by how the AWS console generates URLs with the bucket name included as a subdomain.

Loading

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant