| Previous | Next |
| NS_E_CACHE_ARCHIVE_CONFLICT | NS_E_CACHE_ORIGIN_SERVER_TIMEOUT |
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND
How to investigate NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND
Where the boundary sits
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND (0xC00D13ED) marks the cache proxy cannot resolve or select the configured origin server. For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, although the visible symptom may be interrupted playback, this HRESULT is raised at an administrative or distribution checkpoint.
For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, the cache/proxy layer first applies policy, then decides whether to serve local content, revalidate it, contact an origin server, proxy it, redirect the client or reject the request. When NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND is returned, those decisions are separate from ordinary player buffering. In a NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND trace, keep the cache key, origin validators and policy decision together. While diagnosing NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, a cache proxy behaves both as a server to the player and as a client to the origin. For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, the decisive question is whether the live object and values match that boundary; the base AllStat description alone does not reveal the object generation, selected plug-in or lower-level failure.
Build a reproducible incident record
| Evidence | Why it matters for NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND |
|---|---|
| Decisive state | origin host, DNS result, selected protocol and upstream URL. |
| Owning object | Record the server, publishing point, playlist, namespace node, plug-in or cache item that returned NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, including its creation or restart time. |
| First lower-level result | Preserve the earliest Win32, socket, COM, parser or plug-in event before the HRESULT; later wrappers can map several causes to NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND. |
| Controlled comparison | Use a known-good object of the same type and vary only the precondition described as “the cache proxy cannot resolve or select the configured origin server”. |
| Security-sensitive data | For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, log identifiers, lengths, hashes and redacted URLs where possible; do not publish passwords, authorization files or unrestricted client data. |
Do not merge nearby HRESULT values
Primary distinction: origin timeout means a selected origin failed to answer in time; not found means selection or name resolution did not yield a usable endpoint.
| Nearby result | Different checkpoint |
|---|---|
NS_E_CACHE_ORIGIN_SERVER_TIMEOUT | Compare its own symbolic boundary and the first failing call; it must not be grouped automatically with NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND. |
NS_E_CACHE_ARCHIVE_CONFLICT | Relative to NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, this neighboring result belongs to another state or validation branch even when the user-visible symptom is similar. |
NS_E_CACHE_NOT_BROADCAST | For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, use the object type and operation sequence to determine which result is authoritative. |
Code-specific failure anatomy
In a representative NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND incident, the server reaches the cache proxy cannot resolve or select the configured origin server and rejects the operation before the caller can safely assume the next stage occurred. The incident record should therefore join origin host, DNS result, selected protocol and upstream URL with the object generation and the exact administrative or protocol request.
A useful negative control is resolve and connect to the exact origin from the cache server account and correct the origin mapping if it is wrong. If that change advances the same NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND call, the result supports this boundary. If NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND remains, return to the first lower-level event instead of broadening the repair.
The tempting but misleading response is testing only from an administrator workstation; the cache server has its own resolver and route. That action does not test the distinction that matters here: origin timeout means a selected origin failed to answer in time; not found means selection or name resolution did not yield a usable endpoint. For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, this distinction is also why monitoring should retain the symbolic name instead of storing only a generic COM failure.
Smallest useful experiment
- Capture
0xC00D13ED,NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, the exact API/administrative action and the first failure timestamp. - Preserve origin host, DNS result, selected protocol and upstream URL.
- For
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, confirm that the object still belongs to the current WMServer, publishing-point or presentation generation. - Perform one isolated experiment: resolve and connect to the exact origin from the cache server account and correct the origin mapping if it is wrong.
- Repeat the original
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUNDoperation through the same protocol and service account; do not substitute a different client-side test. - After
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, verify the expected next state and retain any later HRESULT as a separate pipeline result.
For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, repeat the test with a newly resolved server object; a stale COM pointer can make a correct configuration appear unchanged.
Changes that do not establish the cause
- testing only from an administrator workstation; the cache server has its own resolver and route.
- For
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, a successful ping or local file open is not sufficient proof: the failing service account and Windows Media Services object must perform the same operation. - Do not suppress
NS_E_CACHE_ORIGIN_SERVER_NOT_FOUNDor replace it with a generic “media server error”; retain the symbolic code and owning operation in telemetry.
Verification outcomes
| Retest observation | Interpretation |
|---|---|
The same call still returns NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND | For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, the rejected precondition has not changed, or the caller is still using an old object/configuration generation. |
| The operation advances and a later code appears | The NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND boundary was cleared. After NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, diagnose the new code at its own source, parser, sink, network or client stage. |
| A new object succeeds while the retained object fails | For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, object lifetime or stale context is part of the incident; update lifecycle handling rather than applying a machine-wide repair. |
| Only one publishing point, playlist, cache key or plug-in fails | For NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND, the evidence favors object-specific configuration or content over a server-wide outage. |
Technical references
- Windows Media Server Cache Proxy Functionality
- Creating Cache Proxy Plug-ins
- Windows Media Services HTTP Proxy Server Interaction
- Microsoft HRESULT registry
Close the incident only after NS_E_CACHE_ORIGIN_SERVER_NOT_FOUND clears on a current object.
Looking for a different code? Search another status or error code.