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
Invalid default port used for X-Storage-Url if authentication URI has non default port #6570
Comments
I cannot find this bug looking into the code. Can you verify
|
I tried it with the latest snapshot build (9485) version 4.2.1 with same results. Steps to reproduce:
It appears that Cyberduck tries to use the port of the auth host, despite the fact that Please let me know if you need help reproducing this.... Thanks. |
Because the scheme registry has the default port set for the protocol from the authentication URI, we then use this port as the default port if not port is specified in the storage URI. We will have to fix this in Cloudfiles. |
Pushing a new snapshot build just now for testing. |
Thanks, dkocher! Can you let me know when the snapshot build is ready? I will help verify it. I just did a snapshot build check from Cyberduck, but don't see anything new yet (still on 9485). |
Replying to [comment:7 liemmn]:
Build 9487 is now available. |
Doing a snapshot update from Cyberduck (Windows) still yields 9485. I tried reinstalling Cyberduck to no avail... Any ideas? Thanks. |
Replying to [comment:9 liemmn]:
A new snapshot build for Windows is now available as well. |
Let me know if this fix works for you as I didn't test this myself. |
I updated to build 9488. I got the following NPE before a connection was made to Keystone:
The auth host in this case is csnode.rndd.aw1.hpcloud.net running on port 35357. |
It works! Woohoo! Thanks, again, Dave. Liem |
Use-case involving Openstack Swift and Keystone:
If the X-Storage-Url has an endpoint (https) without specifying the port number (443), Cyberduck will default to using the Keystone's port instead of the 443 default port for https X-Storage-Url endpoint. Per rfc2818, we should default to 443 if an https port is not specified.
Attachments
cyberduck.log
(24.3 KiB)The text was updated successfully, but these errors were encountered: