Documentation

Guides, tutorials, and frequently asked questions

Connect a NAS to Crate over WebDAV, and See Which Check Failed

Frequently asked questions

Can Crate connect to a NAS over WebDAV?
Yes. It discovers WebDAV servers over Bonjour, and brands like Nextcloud, Synology and QNAP appear as presets under the protocol.
What happens before a connection is saved?
A connection test runs first, reporting DNS, port, authentication, directory listing and write permission as five separate checks. Nothing is written to the Keychain and no record is created on that run.
Why does the test report five separate items?
Because "connection failed" does not tell you what to fix. Crate points at which of the five failed and what to do about it, and the checks after it are marked "Not run" rather than turning red alongside it.
What kinds of location can Crate connect to?
A folder on this device, a cloud drive, or a network share at home over WebDAV.
Will Crate accept the self-signed certificate my NAS ships with?
That is worth knowing before you debug your Wi-Fi. Most NAS appliances ship a certificate the system does not trust, and the failure it produces looks exactly like an unreachable server. Whether Crate can accept yours depends on the server, so treat the certificate as a thing to check rather than a thing to rely on.
Does the test write to my NAS, and can I connect one that is read-only?
The explicit test writes one small probe file and deletes it, and skips the write entirely if it cannot delete it afterwards. A read-only share is still connectable: listing a directory is what makes a place usable, so a failed write check does not block saving. Pull-to-refresh uses a read-only probe that writes nothing.

The short answer

Yes — Crate connects to a NAS over WebDAV and discovers the box over Bonjour, so you usually do not type an address at all. Nothing is saved until a connection test has run, and that test reports five checks separately — name resolution, port, authentication, directory listing, write permission — with the real measured value next to each one. When something breaks, it names the step that broke and says what to change, instead of saying "connection failed". A read-only share is legitimate: being able to list a directory makes a place usable, so a failed write check does not block saving.

Crate is built around that idea: if another manager bounced you off a NAS, what to check first is which step failed, not which logo you pick.

Why you are here after the first attempt

The one design goal of the connect flow is to make failure attributable. Market products collapse this screen into "connection failed", which leaves you guessing: is the address wrong, is the NAS off, is the password expired, does this server not speak WebDAV at all? Those are four problems with four different fixes, so one message for all four means blind retries. The check is therefore not a spinner — it runs before the save button does anything, reads out what it measured, and the copy under a failure gives the conclusion, then the action, then the technical truth in monospace, because plain words alone cannot be googled and jargon alone cannot be understood.

What the five checks actually do

The five checks are a fixed sequence and also a dependency chain: if one step fails, the ones after it were never run, labelled "Not run" rather than painted red. Five red rows tell you to fix five things; one red row and four grey rows tell you to fix one thing.

The attribution does not come from five separate probes. The root directory is listed once and that single result is split into the first four rows — a resolved hostname, a reachable port with its round-trip time, the authentication scheme actually accepted, and the item count returned. The fifth row is the only extra request: a small file written and then deleted. and if the server will not delete it, nothing is written at all.

The same reasoning explains why there is one elapsed time at the top rather than a duration per row: the rows come from a single request, so per-row timings would be invented. A passing run reads 5 / 5, "All checks passed", and the real elapsed time.

Pull-to-refresh uses a cheaper probe that only lists: refreshing status is not the moment to write and delete twenty files a day on someone's server. The attribution logic is the same, so a refresh can never disagree with the test.

Self-signed certificates are the real reason a NAS "won't connect"

Most NAS appliances ship a self-signed certificate — a Synology box issues from Synology Inc. CA, which is not in the system trust store. The stock networking stack rejects that at the TLS handshake and reports a generic transport failure. The result is a phone standing in the same room as the server displaying "cannot connect", with you starting to debug your Wi-Fi.

This is why the certificate question belongs at the front of the connect flow rather than in a help page. It is a failure that looks like a network failure, and the two send you to completely different places to look.

The general rule Crate applies is narrow on purpose: a certificate the system does not trust is only acceptable when the server is one you have deliberately pointed the app at yourself, and the app will not silently downgrade trust on the open internet.

On the public internet none of that applies: a bad certificate is refused, and cleartext http to a non-local host is refused outright, because a NAS password is not something to put on a postcard. A certificate failure is also never folded into "unreachable" — one sends you to install a certificate, the other to check the cable.

What the connection cannot tell you about your NAS

When the five checks pass, the server's capability matrix is shown before you save. Capabilities are probed at runtime, never assumed from the protocol: assuming WebDAV always supports rename fails the first time someone points it at a home server that never implemented MOVE.

  • Resumable upload — whether an interrupted upload can continue instead of restarting.
  • Server-side rename and move — done on the server without the bytes passing through the phone.
  • Server-side copy — when missing, the row says the copy will relay through this device, rather than quietly downloading a 4 GB file to re-upload it.
  • Change notification — when the server cannot push changes, refresh is pull-to-refresh, and the row says so.

Alongside them: range reads, write, create directory, delete, set modified date, atomic replace, and server-side search. Move earns one specific note — it counts as available if the server declares MOVE or if it can both copy and delete, because those two compose into a move without the data ever touching the phone.

This matrix is the user-visible face of a policy the app obeys everywhere: an action impossible on a server is not rendered at all. A rename option that appears and then errors is worse than no option.

Bonjour discovery, and why one NAS shows up once

Servers advertise WebDAV over Bonjour, and discovery listens for _webdav._tcp and _webdavs._tcp. A Synology box with WebDAV enabled advertises both, on ports 5005 and 5006. Deduplicating by address would list the same machine twice with no way to tell which to tap, so the merge key is the resolved hostname. When both exist the https one wins, because plaintext Basic authentication would put your password on the local network in the clear.

Tapping a discovered row fills in host and port and puts the cursor in the username field, so the only typing left is credentials. Crate sets host, share name and port in a monospaced face, because a lowercase l and a 1 are easy to confuse in a hostname, and gives ports a default rather than leaving them blank.

Two conditions: both devices must be on the same Wi-Fi, and iOS asks for local network permission once — devices appear only after you allow it, which the top of the screen explains rather than leaving as a mystery. If local network scanning is unavailable, the screen says so and manual entry stays usable.

Brand-specific traps in the failure copy

The most valuable line names the brand. A failed authentication step reads, in order: the conclusion — your username or password is wrong; the explanation — the server accepted the connection but rejected these credentials; the specific trap — on Synology, enter the DSM account, not the QuickConnect ID; and finally, in monospace, the real error, something like STATUS_LOGON_FAILURE · NTLMv2.

A wrong-but-accepted login (403, authenticated but no permission) is kept as a different outcome from a rejected one (401). Merging them would have the UI offer "sign in again", which cannot help when the credentials were fine and the ACL was not.

The listing step has its own sharp edges. WebDAV servers must answer PROPFIND with 207 Multi-Status; any other success code, or a 405, means the box is there but is not speaking WebDAV, and it says exactly that instead of "no items found". Listing uses Depth: 1 rather than infinity, because Nextcloud and Synology both disable infinite-depth requests by default and an app that opens with one fails outright on half the servers people actually own.

What Crate does differently

Crate's product argument is that bad reviews of file managers are about reliability, not missing cloud providers — multi-select that stalls, transfers that never finish, transfers that stop when the screen locks. Connect is the first place that argument is testable, so it gets the same treatment: named failures, real measured values, and no button for something the server cannot do.

The honest limits are worth stating. Capability support is the server's, not the app's: if your NAS will not resume an upload, the row says so before you find out. Discovery needs the same network and the same permission, so a NAS on another subnet or behind a VPN will not appear and you type the address by hand. Credentials go to the system Keychain rather than the app's own storage, and removing a place removes only the connection and its saved password — never anything on the server.

Once saved, Crate treats it like any other place: browse it, copy off a file, and watch it finish in the transfer tab.

If you are connecting this in the next ten minutes

You need to know which of five things failed:

  1. Name resolution — the hostname is wrong or unresolvable from this network. Edit the address.
  2. Port — nothing is listening, or the NAS is off. Check the appliance, then the port.
  3. Authentication — the credentials are rejected. Fix the password; on Synology that means the DSM account, not QuickConnect.
  4. Directory listing — you are authenticated but the path is wrong, or the server does not speak WebDAV.
  5. Write permission — you can see it and cannot change it. Crate will still let you save; a read-only library is a fine place to browse from.