solid-server-matrix
Use when a Solid client works against one server but fails against another, diagnosing CSS, ESS, NSS, WAC versus ACP, DPoP strictness, missing Type Indexes, ETag differences, notifications, or misleading browser CORS errors.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- solid-server-matrix
- description
- Use when a Solid client works against one server but fails against another, diagnosing CSS, ESS, NSS, WAC versus ACP, DPoP strictness, missing Type Indexes, ETag differences, notifications, or misleading browser CORS errors.
03 SKILL.md 正文
Quick reference
<!-- AUTHORED-BY Codex GPT-6 -->
<!-- AUTHORED-BY Codex GPT-5 -->
Diagnose Solid server differences
Probe capabilities at runtime. Hostname tables are hints, not a protocol contract.
High-value differences
| Area | Community Solid Server | Enterprise Solid Server | node-solid-server |
|---|---|---|---|
| Access control | Usually WAC | ACP | WAC |
| Type Index seed | Do not assume; apps often create/link it | Probe | Historically seeded; probe |
| ETags | Normally available | Normally available | May be absent |
| Notifications | Solid Notifications Protocol | Probe advertised services | Legacy Updates-Via WebSocket |
| DPoP | Strict enough to expose malformed iat/proofs |
Different tolerance and UMA behavior | Legacy/non-conformant edges |
Detection workflow
- Read the resource's
Link: ...; rel="acl", fetch the linked document, and identify WAC (acl:) versus ACP (acp:) from RDF. Never guess.acl/.acrpaths. - Inspect an unauthenticated protected response's
WWW-Authenticatefor the advertised auth scheme and parameters. - Discover notifications through resource/storage description links; fall back to
Updates-Viaonly for the legacy path. - Record whether reads/writes return ETags and branch explicitly when conditional writes are unavailable.
- Read the WebID/profile for Type Index links; if genuinely absent, create and link them without overwriting an unreadable existing resource.
Common diagnoses
- CSS rejecting “iat is not recent enough”: ensure DPoP
iatis epoch seconds and remove duplicate auth layers. 500on legacy PUT: send an explicit content type.- Empty Type Index on CSS: bootstrap it; the server does not enforce the convention.
- Container redirect or broken relative IRIs: normalize the trailing slash.
- Browser “CORS” message: inspect the underlying 401 and proxy-exposed headers before changing CORS policy.
- Reload loses auth: restore from the DPoP-bound refresh credential rather than relying only on memory or an IdP cookie.
Test at least one WAC and one ACP deployment for access-control work, and retain targeted legacy coverage only where supported interoperability requires it.
Agent persona
When this work is delegated to a sub-agent, spawn the solid-app-builder persona from
.claude/agents/solid-app-builder.md — it routes through this skill.
Orchestration: .claude/agents/solid-app-orchestration.md.
<!-- AUTHORED-BY Codex GPT-6.1-Sol -->
Solid server matrix
Solid is a protocol with several independent server implementations, and they diverge in ways the spec permits or doesn't yet pin down. An app written and tested against one server silently depends on that server's behaviour. This skill is the differential model: identify which server you're on, then branch.
It assumes the house stack from AGENTS.md:
@solid/reactive-authentication (auth, DPoP), @jeswr/fetch-rdf (fetch+parse),
@solid/object + @rdfjs/wrapper (typed RDF), n3. Never @inrupt/*,
@ldo/*, or hand-built triples. RDF mutations go through TermWrapper
subclasses. This skill diagnoses server behaviour; it does not change the
client libraries.
Local two-instance setup (one WAC, one ACP CSS) is in AGENTS.md §"Servers — develop, test, release". Exercise both from day one.
The implementations
| Short | Full name | Maintainer | Status |
|---|---|---|---|
| CSS | Community Solid Server | Ruben Verborgh / university lab | Active, spec-tracking; house default for local dev |
| ESS | Enterprise Solid Server | Inrupt | Active, commercial; backs Inrupt PodSpaces |
| NSS | node-solid-server | Solid community | Legacy — preceded CSS, non-conformant in places; avoid for new work |
Authorship + "ACL implemented for NSS, ACP on ESS" confirmed: forum/bridging-solid-with-peergos/5494. "NSS isn't an Inrupt product, it is a legacy community project that preceded CSS": forum/usage-of-as-uri/6462.
The canonical list of what is deployable and deployed is solidproject.org/users/get-a-pod. It names six self-hostable implementations — CSS, ESS, Trinpod, Manas, NSS, and PHP Solid Server — of which this matrix characterises the three you will meet at a hackathon (CSS / ESS / NSS); treat the other three as "detect at runtime" (next section).
Hosted providers (get-a-pod, June 2026 × solid/catalog catalog-data.ttl)
| Provider | Operator | Region | Implementation (per catalog) |
|---|---|---|---|
solidcommunity.net |
Solid Project | UK | Pivot (CSS remix) + SolidOS |
Inrupt Pod Spaces (storage.inrupt.com) |
Inrupt | US, EU, APAC | ESS |
*.inrupt.net |
Inrupt | — | NSS (legacy) — community knowledge, not in catalog |
Data Pod (datapod.igrant.io) |
iGrant.io | EU | NSS |
redpencil.io |
redpencil.io | EU | CSS |
solidcommunity.au |
Solid Community AU | Australia | not in catalog |
solidweb.me |
Meisdata | EU | CSS + SolidOS |
teamid.live |
Meisdata | EU | Pivot + SolidOS (catalog status: Exploration) |
solidweb.app |
Meisdata | EU | not in catalog |
solidweb.org |
Solid Grassroots | EU | NSS + SolidOS (catalog status: Exploration) |
trinpod.eu / trinpod.us |
Graphmetrix | EU / US | Trinpod |
use.id |
Digita | EU | CSS |
localhost:3000 (default config) |
you | — | local CSS (this repo's AGENTS.md) |
Most hosted pods run CSS or its Pivot remix — but two get-a-pod providers run legacy NSS
(Data Pod, solidweb.org), so the NSS column of the matrix is live, not historical. Use the
table as the first guess, then confirm at runtime (next section); never branch on the
hostname alone. The final-stage test matrix in AGENTS.md §Servers is exactly this provider
list.
Compatibility matrix
Branch on these. Each cell carries evidence or is marked [unverified].
| Dimension | CSS | ESS | NSS (legacy) |
|---|---|---|---|
| Auth | Solid-OIDC + DPoP, strict | Solid-OIDC + DPoP | Older WebID-OIDC; non-conformant discovery [u] |
DPoP iat unit |
Rejects ms — needs seconds¹ | Tolerates anything (ms, 0, future) ¹ | unverified |
DPoP ath enforcement |
Required on protected-resource requests ¹⁰ | Required by RFC 9449; observed omissions are non-conformant ¹⁰ | Same requirement; enforcement unverified |
UMA as_uri in WWW-Authenticate |
Implemented (per thread) ² | Yes — UMA-compliant ² | No ² |
| Access control | WAC (.acl) default ³ |
ACP (.acr) ³ |
WAC (.acl) ³ |
| Type-index auto-seed | No — app must create + link ⁴ | unverified (commonly seeded) [u] | NSS historically seeds [u] |
| Content-Type required on write | strict per protocol ⁵ | strict | 5.x: 500 without it ⁵ |
| ETag reliability | available | available [u] | Not supported ⁶ |
| Notifications | Notifications Protocol / WebSocketChannel2023 ⁷ |
@inrupt/solid-client-notifications (ESS-only) ⁸ |
legacy wss:// channel ⁸ |
| Large-container listing | slow at scale (LDP) [u] | slow at scale [u] | very slow; glob OOMs; no SPARQL ⁹ |
[u] = unverified in this trawl. Footnotes:
- DPoP proof
iatmust be seconds since epoch (Math.floor(Date.now()/1000)), not ms. ESS "doesn't appear to check the IAT at all"; CSS rejects with400 invalid_dpop_proof / "iat is not recent enough". forum/.../dpop-rejects-iat-on-community-solid-server/7444. The house auth lib (@solid/reactive-authentication) gets this right — if you hit it, suspect a second auth layer you added (AGENTS.md §Authentication). - ESS "returns a UMA-compliant
WWW-Authenticateheader with anas_uriparameter on unauthenticated requests"; NSS does not; CSS has since implemented it. forum/usage-of-as-uri/6462. - WAC on NSS+CSS, ACP on ESS: forum/bridging-solid-with-peergos/5494, forum/solid-servers-and-custom-ontologies/7208. Deployment count (March 2026 community survey): WAC 13 implementations / 11 live; ACP 4 / 1.
- CSS does not provision type-index / preferences / inbox: "things like typeIndexes and preferences and even the inbox are not available." TBL, asked whether apps should create them: "Yes" … "The same place they are now." forum/data-discovery-on-community-solid-server/4695. Convention, not server-enforced: "a type index is not enforced by the server, it requires each app to enforce the type index." forum/solid-interop-in-practice/7701.
- "Version 5.x NSS currently gives a 500 error for attempts to create a resource
without a content-type … it is actually invalid to try to create a resource
without a specified content-type."
forum/handling-duplicate-file-names/2016.
Also: force
Content-Typeon Turtle writes or it is parsed as N3: forum/create-a-acl-with-solid-file-client/1538. - "ETags are not supported in node-solid-server."
forum/state-of-the-art-for-querying-large-containers/3320.
Implication for the conditional-PUT write path: NSS may give you no ETag, so
If-Matchis unavailable — handle anulletag (AGENTS.md §Writing data). - WebSocketChannel2023 type IRI
http://www.w3.org/ns/solid/notification#WebSocketChannel2023: spec. Discovery viaLink rel="describedby"(resource) /rel="…#storageDescription"(storage): Solid Notifications Protocol. - "currently
@inrupt/solid-client-notificationsonly works with ESS"; NSS uses an older websocket "and I don't know if it will be ported." Do not adopt that Inrupt lib (banned stack); use plain WebSocket + discovery. forum/does-solid-client-notifications-only-works-with-ess-pods/5401. - 1411 documents: container GET "takes more than a second", loading all ~3 min; glob "500 error (probably … out-of-memory)"; "SPARQL is still not supported". forum/state-of-the-art-for-querying-large-containers/3320. That thread's OP worked around it by local caching, not sharding — sharding is a design recommendation, not a quoted fix.
- On protected-resource requests, RFC 9449 requires
ath: the base64url-encoded SHA-256 hash of the ASCII access token. The resource server MUST require it and verify that it matches the presented token, alongside the proof signature,htm/htu, freshness, andcnf.jktbinding. Reject both missing and incorrect hashes. Token-endpoint proofs, which do not present an access token, omitath. See RFC 9449 §7 and §4.2. Some deployed clients have been observed omittingath, and some servers accepting that omission. Those are interoperability defects, not permission to weaken validation. Fix the client's proof generator; never bypass resource server token binding to accommodate it.
Runtime detection — what am I talking to?
Don't trust the hostname. Probe the live server.
1. Access-control language (WAC vs ACP). GET (or HEAD) the resource and read
its Link: <…>; rel="acl" header — never guess the URL. Then fetch that document
and inspect it: WAC documents use acl: (AclResource/Authorization); ACP
documents use acp: (AccessControlResource/Policy/Matcher). The local ACP
CSS instance in AGENTS.md advertises Link: <…/.acr>; rel="acl". Parse only
through @solid/object's typed classes; convert with wacToAcp / acpToWac —
never hand-parse the Turtle.
2. Auth model (Solid-OIDC + UMA). Hit a protected resource unauthenticated and
read WWW-Authenticate. An as_uri= parameter → UMA flow (ESS). Absent → plain
Solid-OIDC. Parse the header with the content-type-style approach, not regex
guessing.
3. Notifications. GET the resource and the storage root; look for
Link rel="describedby" (resource-level subscription service) and
rel="…/solid/terms#storageDescription" (storage-level). Fetch the description,
read the offered notify:channelType; branch CSS-modern (WebSocketChannel2023)
vs NSS-legacy (wss://). Discovery, not hardcoded endpoints.
4. ETag presence. First write returns the ETag (or doesn't, on NSS). If null,
skip If-Match and accept last-write-wins, or refuse to write — your call, but
detect it; don't assume an ETag exists.
"Where does this app's data live?" — decision tree
For a hackathon or first integration:
- Local CSS, in-memory (AGENTS.md). Two instances, WAC + ACP. Disposable, pristine on restart, both auth languages from day one. Default for build/iterate.
- solidcommunity.net (hosted CSS) — real-network smoke test, WAC. Community service, no SLA. On the auth issuer list.
- Inrupt PodSpaces (ESS) — the only place you exercise ACP + UMA
as_uriin production. On the auth issuer list. Catches WAC-only code that breaks on ESS. - NSS / inrupt.net — only if you must interop with a legacy pod. Expect non-conformant OIDC discovery, no ETags, 500-without-Content-Type. New work: avoid.
Rule: if it works on CSS and ESS, it works almost everywhere; testing one alone hides the WAC↔ACP and DPoP-strictness divergences above.
Pitfalls
Split broker and resource server
The NOTES broker/RS deployment uses a WebID whose solid:oidcIssuer points to a separate
broker, which federates to Keycloak. Do not assume the issuer is the storage host or that a
CSS-only host map describes this deployment. See the
client issuer pitfalls.
Its RS strictly checks resource-request DPoP ath; use the suite proof helpers and verify
the access-token hash. Token-endpoint proofs omit ath (compatibility footnote 10 above).
Loopback address versus public URL
If https://localhost:3000 fails with ECONNREFUSED (or a tool reports status 000) while
127.0.0.1 connects, check whether localhost resolves to ::1 but the RS binds IPv4 only.
Route the connection to IPv4 while retaining localhost in the request URL and TLS SAN/SNI;
raw Node TLS connections to 127.0.0.1 may need servername: "localhost".
In the source deployment the certificate and PSS_TOKEN_AUDIENCE use
https://localhost:3000; changing the request URL to the IP breaks that deployment's checks.
DPoP htu binds the actual target URI (without query/fragment), not the socket address or
the access-token audience alone. Do not turn this local hostname lesson into a general
byte-for-byte audience/URL equality rule. See the
testing callout.
Common misdiagnoses
- "CORS error." Most browser-reported CORS failures on Solid are really a
401 surfaced as CORS, or a reverse proxy in front of self-hosted CSS
stripping
Access-Control-Allow-*/-Expose-Headers(notably the auth andLocationheaders). Solid mandates permissive CORS by design — security rests on WAC/OIDC, not origin. Check the actual status and the proxy before chasing CORS config. The canonical working proxy snippet was not found in the forum trawl (it lives in CSS GitHub Discussions) — unverified here. (forum/cors-error-in-solidserver/6549, forum/noobie-question-isnt-it-really-bad-to-mandate-permissive-cors/3439) - "Auth works on PodSpaces, breaks on CSS with
iat is not recent enough." A DPoP proof carryingiatin ms. ESS tolerates it, CSS rejects it. See footnote 1. 403on PATCH right after writing an ACL. URI-unsafe characters — notably a colon:— in the resource name break ACL matching (encoded-vs-unencoded mismatch). Rename to URI-safe characters. forum/error-403-for-patch-after-creating-document-acl/3426.- Type-index reads return nothing / writes have nowhere to go. CSS didn't seed the index; your app must create-and-link it. Footnote 4.
500on PUT. NSS 5.x with noContent-Type. Always send it. Footnote 5.- Session dropped after navigation/reload. A hard reload drops in-memory tokens;
full-page reloads destroy the auth context. Use client-side navigation; the house
auth lib re-runs
prompt=nonesilently while the IdP cookie lives (AGENTS.md §Authentication). forum/losing-session-when-going-to-different-page-after-login/5077. - Container request 301-redirects / relative IRIs resolve wrong. Missing trailing
slash. Container URLs end in
/; the IdP/login URL is not the container URL. forum/basic-question-about-url-to-use-when-making-a-request/4605.
04 同仓库更多 Skills
storage-conformance
Work on @jeswr/storage-conformance, the shared storage conformance suite package in the Solid SDK workspace.
fetch-rdf-engine-tests
Maintain fetch-rdf's real Node WASM parser integration tests without introducing a reverse engine dependency in fetch-rdf.
alpha
Use when checking fixtures, including folded YAML descriptions.
widget
Use when testing package skills: YAML quoting works.
web-seo
Use when improving technical and entity SEO for a modern personal, portfolio, documentation, or marketing site, including crawlable HTML, canonical metadata, sitemap and robots, Person/ProfilePage JSON-LD, Core Web Vitals, and honest ranking expectations.
solid-wac
Use when implementing or auditing Solid server WAC authorization, ACL creation and inheritance, auxiliary-resource escalation, method-to-mode mapping, 401 versus 403 challenges, WAC-Allow, or defensive typed ACL parsing with @solid/object and @rdfjs/wrapper.