Troubleshooting Corrected Reviewed for 1.1.11 · 6 min read

Troubleshoot server connections

What each server message means and what to do: identity prompts, timeouts, rejected passwords and keys, missing shares, and errors while you work on a server.

On this page 14 sections

When a connection fails, the server sheet shows Couldn’t connect, a title that says what went wrong, and advice. The field most likely at fault is outlined in red. Fix it and click Retry. In the messages below, the host and port are the ones you entered.

“Unknown host” or “Server identity changed”

1 Symptom
The sheet shows Unknown host, or Server identity changed in red, with a fingerprint.
2 Possible cause
This is the first time you connect to this SFTP or FTPS server from this Mac, or its key no longer matches the one you trusted before.
3 What to check
Compare the fingerprint with the one the server's administrator gave you.
4 How to resolve
If it matches, click Trust and connect. For Server identity changed, don't continue until the administrator confirms the new fingerprint: it happens when a server is reinstalled, and also when someone intercepts the connection.
The Unknown host sheet for an SFTP server, with the fingerprint, Remember this fingerprint, and Cancel or Trust and connectThe Unknown host sheet for an SFTP server, with the fingerprint, Remember this fingerprint, and Cancel or Trust and connect
The Server identity changed sheet, with the warning, the new fingerprint and the key seen beforeThe Server identity changed sheet, with the warning, the new fingerprint and the key seen before

The host “didn’t respond on port”

1 Symptom
The sheet says the host didn't respond on port followed by the port number.
2 Possible cause
The address resolved, but nothing answered in time.
3 What to check
The service is running on the server, the port is right, and you are on the right network or VPN.
4 How to resolve
Correct the port under Options, or try again once the server is up. For plain FTP or WebDAV over HTTP, click Try TLS or Try HTTPS: some servers only answer encrypted connections.

The host “refused the connection on port”

1 Symptom
The sheet says the host refused the connection on port followed by the port number.
2 Possible cause
The service may be off, or it listens on a different port.
3 How to resolve
Check the port. For plain FTP or WebDAV over HTTP, try Try TLS or Try HTTPS.

“Can’t reach” the host

1 Symptom
The sheet says Can't reach followed by the host.
2 Possible cause
The name doesn't resolve, or there is no route to the server.
3 What to check
The address is spelled right, and both machines are on the same network or VPN.
4 How to resolve
Correct the address in Server, or connect to the right network first.

“The server rejected the username or password.”

1 Symptom
The sheet says The server rejected the username or password. or The server rejected the credentials.
2 Possible cause
The username or password is wrong. Some SFTP servers accept a password only through an interactive prompt, which DockDuck can't answer, and they report it the same way.
3 What to check
Both are right. On an FTP server, some servers accept anonymous with any password. On SMB, accounts without a password can't be reached over the network.
4 How to resolve
Retype them and click Retry. If the SFTP password is right, sign in with an SSH key instead.

A key is rejected or can’t be read

1 Symptom
The sheet says Can't read the SSH key at a path, Couldn't read that SSH key., or The server rejected the credentials. while signing in with a key.
2 Possible cause
The key file isn't at that path, the passphrase is wrong, the key type isn't supported, or the server doesn't have the matching public key.
3 What to check
Key points to the private key, not the .pub file. The username is right.
4 How to resolve
Choose the key file again with the … button, retype the passphrase, and make sure the key is authorized on the server. Ed25519, ECDSA and RSA keys in OpenSSH format are supported.

See SFTP with SSH keys.

“The SSH agent has no keys to offer.”

1 Symptom
Signing in with Agent fails with The SSH agent has no keys to offer.
2 Possible cause
DockDuck found no agent, or the agent holds no keys.
3 What to check
ssh-add -l in Terminal lists your key. If ~/.ssh/config sets IdentityAgent, that agent is the one DockDuck uses.
4 How to resolve
Add your key with ssh-add, or click Use password to switch to a password, or use a key file.

“This server only offers encryption DockDuck doesn’t support.”

1 Symptom
Connecting to an SFTP server fails with this message.
2 Possible cause
The server and DockDuck have no encryption method in common. The server is probably very old.
3 How to resolve
Updating the server's SSH software, or enabling newer ciphers on it, lets DockDuck connect.

The folder or share “wasn’t found”

1 Symptom
The sheet says The folder or share wasn't found on followed by the host.
2 Possible cause
The share name or path doesn't exist on the server.
3 How to resolve
Check Share or Path. On Windows, it's the share name set in the folder's sharing settings, not the folder's path.

“That’s not a valid server address.”

1 Symptom
The sheet shows this before trying to connect.
2 Possible cause
Server holds something DockDuck can't read as a host.
3 How to resolve
Enter a host name or IP address, optionally with a port (host:2222) or a share (\\NAS\Photos).

FTPS messages

1 Symptom
FTP with TLS fails with This server doesn't offer TLS on this port. or This server only accepts transfers that reuse the secure session, and only over TLS 1.3.
2 Possible cause
The server refused TLS on that port, or it requires a TLS setup DockDuck can't combine.
3 How to resolve
Check the port. For the second message, ask the server's owner to allow TLS 1.2 or to turn off session reuse, or use SFTP.

See FTP and FTPS.

“The connection was lost.”

1 Symptom
A server tab stops loading with The connection was lost.
2 Possible cause
The server or the network dropped the session.
3 How to resolve
DockDuck keeps connections alive and reopens them when a server drops them. If the tab still can't load, click the server in the sidebar to reconnect.

Errors while working on a server

MessageWhat it means
The server doesn’t let this account do that here.Your account lacks permission in that folder.
The server couldn’t do that. The disk may be full, the folder may not be empty, or the name may be taken.The server refused without saying why; these are the usual reasons.
That item is no longer on the server.Someone moved or deleted it. Reload the folder.
The server didn’t allow it. The item may be missing, protected or in use.An FTP server refused the request.
The server is out of space.Free space on the server.
This server doesn’t report permissions for its items.Shown in Get Info › Sharing: the server lists no permissions, so there is nothing to change.

If an edited file can’t be sent back, DockDuck shows Couldn’t save with the file’s name. Click Try Again, or Show Copy to find the local copy with your changes.

If the problem persists

  • In the sheet, click Show technical detail to see the raw error and its code, such as DD-NET-60. Copy detail copies both.
  • Click the note at the bottom of the window to read what DockDuck did while connecting, and copy it.
  • Write to support from Settings › About › Contact support, and paste the detail you copied.
Still stuck? Write to us with what you tried. We read every message.