Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    Getting StartedAdministrator documentationFunctional characteristics
      Technology descriptionarrow
    • Architecture OverviewComponent Description
        Deployment schemesarrow
      • Basic schemeFail-safe schemeTypical Placement in Infrastructure
    System requirements
      Admin Panelarrow
      • Account areaarrow
        • Accountsarrow
        • Account UsersAccount Virtual SendersAccount Database Indexes
        TariffsExternal data configurationLDAPTasksSchedule JobsGlobal Stop ListsWebversion Store Policies
        Settingsarrow
      • Databases
          Accessarrow
        • AdminsAPI tokens
        Notifiers
          MTAarrow
        • Default rulesRetry rulesLock rulesBounce patternsStrategiesKeysISPsPools
      Nodes
        Sendersarrow
      • EmailSMSEvent generatorIntegration with SendsayENS: настройка сендера
        Reportsarrow
      • Audit JournalData Usage
        Toolsarrow
      • ARF decoderURL decoderSMID decoderLicense
      Platform installationarrow
    • Automatic installationManual installationRunning the platform in a Docker container
      Platform configurationarrow
    • Configuration fileDomain settingsLDAP access configurationSending Email via SMTP relayPixel and push domain configurationCluster and Replication SetupSystem notifications configurationProcesses UNIX sockets configurationHTTPS ConfigurationMigrating from MongoDB Community Edition to Percona Server for MongoDBAdding sender IP addressesDeduplication request settingsPostgreSQL database for account dataProxy server settingsKeycloak Integration with AltcraftGetting HTTP service statusesConfiguration MongoDB logs rotation
        Configuration of system constants and directoriesarrow
      • Filtering bot actionsDirectory of gender markers
      Platform maintenancearrow
    • Personnel requirementsPlatform maintenance processesPlatform updatingPlatform service monitoringBackup and recoveryTransferring the platform to a new serverCreating, deleting, and populating tables for statistics in ClickHouseUsage of the aktool utilityUsers and directories engaged by the platform
      Custom channels guidearrow
    • OverviewCreating and configuring a channelEntity field configurationTemplate languageEntities
        Pipesarrow
      • Pipe: Basic ConceptsResultErrorsLogPackUnpackHTTP RequestStore SetStore GetSelectorSQLEventerScheduler
        Pipelinesarrow
      • Pipeline: Basic ConceptsMessageScheduleListenerModerateStop
      Extraarrow
    • System page customizationSend Message IDИнструкция по миграции истории в ClickHouseInstructions for migrating history to ClickHouseUtility for importing push subscriptions to Firebase projectUtility for importing push subscriptions to Firebase project
    Processing HTTP/HTTPS traffic
      Administrator APIarrow
      • Accounts admin apiarrow
        • Restricted accessarrow
        • Account Activation and DeactivationAccount Freeze and Unfreeze
        Get accounts listAdd a new accountDelete the account
        Account usersarrow
      • Update an Existing AccountAdd a new accountDelete a userGet a list of usersSending a Welcome Email
        Nodesarrow
      • Synchronize node MTA configurationGet nodes listGet node MTA statusActivate node MTADeactivate node MTA
        Senders admin apiarrow
      • Create or update AKMTA senderGet AKMTA sender informationAssign account to senderGet senders listDelete senderRestore sender
          Sender queuearrow
        • Get sender queue informationHold sender queueRelease sender queueClear sender queue
        Virtual sendersarrow
      • Get virtual senders listGet virtual sender informationCreate virtual senderUpdate virtual senderClone virtual senderDelete virtual sender
    Documentation Archive
  • Platform configuration
  • Getting HTTP service statuses

Getting HTTP service statuses

Correct balancing of web services requires the user to constantly and accurately transmit the status of processes. IN order to achieve this, special API requests to process status handlers are implemented.

The status requests are as follows:

/${AK-SERVICE-NAME}/health

/${AK-SERVICE-NAME}/readiness

where ${AK-SERVICE-NAME} is a name of the platform service: webcontrol, webadmin, webapi, trkaction, trkwebctrl or cookiesaver.

List of requests​

RequestName of a serviceDescription
GET /webcontrol/healthwebcontrolChecks if the webcontrol service is running
GET /webadmin/healthwebadminChecks if the webadmin
GET /webapi/healthwebapiapiChecks if the webapiapi
GET /trkaction/healthtrkactionchecks if the trkaction
GET /trkwebctrl/healthtrkwebctrlChecks if the trkwebctrl
GET /cookiesaver/healthcookiesaverChecks if the cookiesaver
GET /webcontrol/readinesswebcontrolChecks if the webcontrol service is ready to accept traffic
GET /webadmin/readinesswebadminChecks if the webadmin service is ready to accept traffic
GET /webapi/readinesswebapiChecks if the webapi service is ready to accept traffic
GET /trkaction/readinesstrkactionChecks the trkaction service to see if it is ready to accept traffic
GET /trkwebctrl/readinesstrkwebctrlChecks the trkwebctrl service to see if it is ready to accept traffic
GET /cookiesaver/readinesscookiesaverChecks if the cookiesaver service is ready to accept traffic

Response to request​

Requests of type /health always return the code 200 with the text "OK" in the response.

If there are no problems, /readiness requests return the code 200 and the following response:

{
"status": "OK"
}

If there are any problems, the code 503 (Service not available) and the response will be returned:

{
"status": "FAIL",
"failed": ["<name of an error>"]
}

The following errors can be specified in the "failed" array:

  • started - the service startup has not been completed yet
  • mongo - the service does not have access to Mongo
  • rmq-alive - the service does not have access to RabbitMQ
  • rpc-procrpc - no RPC access to ProcRPC service or ProcRPC service does not have access to Mongo
  • rpc-proctask - no RPC access to ProcTask service or ProcTask service does not have access to Mongo
info

More information about the occured errors can be found in the logs of services.

Last updated on Apr 1, 2026
Previous
Keycloak Integration with Altcraft
Next
Configuration MongoDB logs rotation
  • List of requests
  • Response to request
© 2015 - 2026 Altcraft, LLC. All rights reserved.