> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/mom/troubleshooting/overview.md).

# Overview

Start with the MOM event log, `TwoPintSoftware-StifleR.Mom-Service`. See [Log files](https://documentation.2pintsoftware.com/mom/monitoring-and-reporting/log-files.md).

## The service does not start

Look in the **Application** event log for event 119 with text starting with `StifleR.Mom`.

| Cause                                                | Fix                                                                                      |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| A port is already in use                             | Change the port, or stop the other program                                               |
| The certificate was not found, or has no private key | See [Certificates](https://documentation.2pintsoftware.com/mom/planning/certificates.md) |
| Managed CI mode without a passphrase                 | Set the passphrase, or go back to native mode                                            |

## The BITS job stays in TRANSIENT\_ERROR

| MOM event                             | Cause                                                                                                     | Fix                                                                           |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| 10302                                 | The client does not trust MOM's certificate, or the certificate does not contain the name the client uses | Import the certificate on the client. Use the name that is in the certificate |
| 10300, text contains `ephemeral keys` | The certificate on the MOM server has no stored private key                                               | Install it with its private key, or create a new one                          |

## The BITS job fails with 0x80072F9C

The revocation list (CRL) of the CA is not on the client. Run this elevated on the client:

```
StifleR.ClientApp.exe /MomCrl https://<mom>:8089
```

| Result                  | Fix                                                                |
| ----------------------- | ------------------------------------------------------------------ |
| `Primed`                | The CRLs are now in place. Retry the job                           |
| `CertificateNotTrusted` | Import the root certificate of the CA on the client                |
| `CrlUnavailable`        | The client cannot reach the CRL address, or the CRL is out of date |
| `Revoked`               | Issue a new certificate for MOM                                    |
| `MomUnreachable`        | Check the address, the port and the firewall                       |

See [Certificates](https://documentation.2pintsoftware.com/mom/planning/certificates.md#certificate-revocation-crl).

## Nothing comes from peers

| Cause                                               | Check                                                                                                                                                                  |
| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MOM does not handle the download                    | Event 11090 says why. See [Downloads MOM does not handle](https://documentation.2pintsoftware.com/mom/operations/caching-and-peering.md#downloads-mom-does-not-handle) |
| BranchCache is off on the client                    | Run `netsh branchcache show status` on the client                                                                                                                      |
| No CI was created                                   | Event 10062. In native mode, check that the BranchCache feature is installed                                                                                           |
| The clients are on different networks               | Peers are found on the local network only                                                                                                                              |
| The server the file comes from supports BranchCache | Expected. Clients peer with it directly, without MOM                                                                                                                   |

## A changed setting has no effect

MOM reads its settings when the service starts. Restart the service.

## curl fails with a certificate error

The client does not trust MOM's certificate. Import it, or add `--proxy-insecure` for a test.

## The disk fills up

New downloads through MOM fail while the disk is full. Files MOM already has are still served.

1. Free space. Delete downloads from the `static` folder; see [Deleting content](https://documentation.2pintsoftware.com/mom/reference/data-folders.md#deleting-content). Unfinished downloads in the `temp` folder can be deleted too.
2. Keep it from happening again. Lower the cleanup times, or move the data folder to a larger volume. See [Use less disk](https://documentation.2pintsoftware.com/mom/operations/tuning.md#use-less-disk).

## A download fails with HTTP 416 or 500

| Answer | Cause                                                          | Fix                                                                                                                         |
| ------ | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| 500    | The server does not support range requests and prefetch is off | Turn prefetch on                                                                                                            |
| 416    | MOM's copy does not match the file on the server any more      | Delete the item; see [Data folders](https://documentation.2pintsoftware.com/mom/reference/data-folders.md#deleting-content) |

## Creating a new auto-generated certificate

The auto-generated certificate is valid for one year. To replace it:

1. Stop the service.
2. In `certlm.msc`, delete `TwoPintSoftware MOM Root Certificate Authority` from Trusted Root Certification Authorities.
3. Delete `mom.crt` from `%PROGRAMDATA%\2Pint Software\StifleR.Mom`.
4. Start the service. MOM creates a new certificate.
5. Export the new certificate without its private key and import it on the clients.

Both step 2 and step 3 are needed. Otherwise MOM uses the old certificate again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.2pintsoftware.com/mom/troubleshooting/overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
