Logo
ХелпдескУправление знаниямиБизнесуТарифыЧто такое KCS?Блог
Русский
Личный кабинет
Работа со статьями
© 2023 - 2026 ООО «Свормика». Swarmica - Платформа управления знаниями и ресурсами техподдержки. Версия: 6.1.2

#1497: Error accessing the knowledge base

Отредактирована: сегодня

Symptoms

An error occurred when opening the knowledge base:

Error: Instance not found!

The following error is observed in the logs of the swarmica-helpcenter-1 container:

[app]  ERROR  { status: 400, method: 'GET', url: 'http://django:5000/api/instance/' }

Or:

[app]  ERROR  { status: undefined,  method: 'GET', url: 'https://my.swarmica.tld/api/instance/' }

Solution

To resolve the issue, follow these steps:

  1. Add the django value, separated by a comma, to the DJANGO_ALLOWED_HOSTS variable in the /root/swarmica/.env file, for example:
    DJANGO_ALLOWED_HOSTS=my.swarmica.tld,django.
    
  2. Uncomment the line
    INSECURE_HTTP_SERVER=1
    
  3. Set the value of the variable
    NEXT_PUBLIC_HELPCENTER_SERVER_API_URL=http://django:5000
    
  4. Reload the containers using the command:
    docker compose down && docker compose up -d
    

Cause

The Swarmica server is not accessible to itself through the external network due to network settings.