[Cyberduck-trac] [Cyberduck] #9579: iRODS zone name is not stored in bookmark
Cyberduck
trac at trac.cyberduck.io
Fri Jun 3 06:05:25 UTC 2016
#9579: iRODS zone name is not stored in bookmark
-----------------------------+-----------------
Reporter: carsten.jahn | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: irods | Version: 5.0
Severity: normal | Keywords:
Architecture: Intel | Platform:
-----------------------------+-----------------
I can connect to our internal iRODS instance directly after the creation
of a new bookmark, using a .cyberduckprofile file that I created. The
.cyberduckprofile file looks like this:
{{{
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Protocol</key>
<string>irods</string>
<key>Vendor</key>
<string>irods</string>
<key>Description</key>
<string>irods</string>
<key>Port Configurable</key>
<true/>
<key>Hostname Configurable</key>
<true/>
<key>Default Hostname</key>
<string>--our hostname--</string>
<key>Region</key>
<string>bhctestZone</string>
<key>Default Port</key>
<string>1247</string>
<key>Username Placeholder</key>
<string>(STANDARD|PAM:)iRODS username (use PAM:username)</string>
<key>Password Placeholder</key>
<string>irods password</string>
</dict>
</plist>
}}}
When I close cyberduck and start it again, I'd like to connect using the
bookmark that it created automatically.
Double-clicking the bookmark leads to the display "Connection opened" with
the right server name in the Windows tray bar. However, the connection is
not really opened and the cyberduck.log says:
{{{
2016-06-03 07:35:19,845 [background-1] FATAL
ch.cyberduck.core.threading.SessionBackgroundAction - Failure running
background task. zone is null or empty
java.lang.IllegalArgumentException: zone is null or empty
at
org.irods.jargon.core.connection.IRODSAccount.instance(IRODSAccount.java:113)
at
ch.cyberduck.core.irods.IRODSSession.login(IRODSSession.java:136)
at
ch.cyberduck.core.KeychainLoginService.authenticate(KeychainLoginService.java:69)
at
ch.cyberduck.core.LoginConnectionService.authenticate(LoginConnectionService.java:214)
at
ch.cyberduck.core.LoginConnectionService.connect(LoginConnectionService.java:204)
at
ch.cyberduck.core.LoginConnectionService.check(LoginConnectionService.java:139)
at
ch.cyberduck.core.LoginConnectionService.check(LoginConnectionService.java:146)
at
ch.cyberduck.core.threading.SessionBackgroundAction.connect(SessionBackgroundAction.java:218)
at
ch.cyberduck.core.threading.SessionBackgroundAction.call(SessionBackgroundAction.java:183)
at
ch.cyberduck.core.threading.BackgroundCallable.call(BackgroundCallable.java:51)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
at
ch.cyberduck.core.threading.NamedThreadFactory$1.run(NamedThreadFactory.java:58)
at java.lang.Thread.run(Thread.java:955)
}}}
Checking the bookmark file: the zone (stored as "region" in cyberduck) is
really not there, so this explains the error.
{{{
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Protocol</key>
<string>irods</string>
<key>UUID</key>
<string>24269464-8666-4b86-be63-733758c42f1e</string>
<key>Hostname</key>
<string>---ourhostname---</string>
<key>Port</key>
<string>1247</string>
<key>Username</key>
<string>PAM:---myusername---</string>
<key>Access Timestamp</key>
<string>1464932044361</string>
</dict>
</plist>
}}}
Can you fix cyberduck please, so that it saves the zone ("region") info in
the bookmark as well?
I tested with 5.0 and the previous release of Cyberduck.
BTW, ideally the zone ("region") would be configurable as a user option.
But multiple .cyberduckprofile files for multiple zones should work as
well.
Thanks+Regards,
Carsten
--
Ticket URL: <https://trac.cyberduck.io/ticket/9579>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list