> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.19/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tposs/6.19/troubleshooting/log-message-codes.md).

# Log message codes

Each log message that TPOSS prints may contain a code number for the error or warning. Here is the list of possible code numbers with description and recommendations that you can apply:

| Code | Description |
|---|---|
| 1000 | Informational code that does not require any action. |
| 1001 | TPOSS is in a critical state due to one or more of its sub-systems repeatedly failing. Possible causes include too high rate of database errors, connection failures to NATS, or failures in TPOSS internal subsystems. Check the status of the connected NATS and database instances, and review the TPOSS logs, especially entries immediately preceding this message. |
| 1002 | Database connection pool was restarted or terminated. This may impact TPOSS ability to connect to the database. Check the status of the database to which TPOSS is connected. |
| 1003 | Failure of an event triggered by the TPOSS [HTTP API](https://docs.cennso.com/components/tposs/6.19/api-reference/api.md) call. For some API calls, in addition to the main API handler, TPOSS attaches event handlers. For example, when creating a balance, TPOSS may try to change the state of a service session to `Online`. You may see this log message if one of these event handlers fails, which may be caused by TPOSS having problems connecting to external systems. Check the status of external systems and the data that TPOSS receives from the HTTP API calls. |
| 1004 | TPOSS database connection pool is too busy for the current load. This may be caused by issues with the MySQL database, invalid configuration, or insufficient system resources. Check the **db_requests_query_rtt** and **db_requests_queue_rtt** [metrics](https://docs.cennso.com/components/tposs/6.19/observability/metrics.md) for more information. In addition, you can check and tune the TPOSS database connection pool settings, such as **database.connections** and **database.queue_target**. For more information, see the [Database settings](https://docs.cennso.com/components/tposs/6.19/configuration/db.md) document. |
| 1005 | A handler for an incoming RADIUS/Diameter/HTTP request failed to handle the request. This may happen when one of TPOSS internal sub-systems fails. Such log messages usually contain the details of the failed request and the stack trace of the handler. If such errors happen often, check the logs and submit a ticket with attached logs. |
| 1006 | A TPOSS instance failed to use the Kubernetes API. As a result, TPOSS instance may not be able to join the TPOSS cluster and handle incoming requests. Check the status of your Kubernetes cluster. Additionally, check if Kubernetes [roles and role bindings](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#api-overview) for TPOSS are set up correctly and if TPOSS is allowed to use `list` and `get` APIs for StatefulSet objects. |
| 1007 | A charging handler for incoming RADIUS/Diameter/HTTP request failed to handle the request. This may be caused by issues with the MySQL database or service sessions in an unexpected state. The log message usually includes details of the failed request and the stack trace of the handler. If such errors happen often, check the logs and submit a ticket with attached logs. |
| 1008 | TPOSS failed to initialize some metrics, most likely those related to the number of objects within the database. This may lead to the inaccuracy or absence of some metrics. If metrics are missing, read the [Metrics troubleshooting guide](https://docs.cennso.com/components/tposs/6.19/troubleshooting/metrics.md). |
| 1009 | Failed to allocate an IP or encountered a generic failure of an IP pool. These issues typically prevent the TPOSS instance from managing IP addresses. The impact depends on what exactly failed — it could range from a single IP allocation to the failure of an entire IP block, potentially affecting the whole IP range. Check the [IP pool configuration](https://docs.cennso.com/components/tposs/6.19/configuration/ip-pools-profiles.md) and report a ticket if the error recurs, even with a potentially correct configuration. |
| 1010 | TPOSS cannot connect to NATS. Check the status of your NATS instance and related [NATS configuration](https://docs.cennso.com/components/tposs/6.19/installation/nats.md). If the NATS instance is healthy but the error still occurs periodically, check the NATS resource usage and increase it, if insufficient. You may check the **nats_requests_rtt** metric to see how fast NATS is handling requests from TPOSS. |
| 1011 | No active RADIUS server available for sending Disconnect request. "Active" means that TPOSS tried to send outgoing RADIUS requests for a given network session but didn't get a response. As a result, duplicate network sessions may persist in TPOSS, since they can't be properly terminated with the outgoing RADIUS Disconnect request. Check the health of the RADIUS endpoints TPOSS uses to send outgoing RADIUS requests. |
| 1012 | No suitable IP pool found for a network session. Check the configuration of IP pools and profiles. For more information, see the [Service profiles and IP pools](https://docs.cennso.com/components/tposs/6.19/configuration/ip-pools-profiles.md) configuration guide. |
