Restoring Administrator Console Availability

Unavailability of the administrator console is characterized with the 403 error if mobile platform server work is set up via HTTPS protocol.

NOTE. It is relevant only for Foresight. Mobile Platform 23.12.

To restore administrator console availability:

  1. Add the CSRF_TRUSTED_ORIGINS variable with specifying mobile platform server in the .env configuration file:

CSRF_TRUSTED_ORIGINS = <mobile platform server>

In the <mobile platform server> substitution specify the full URL of mobile platform server or use the mask with DNS server name and protocol.

For example:

CSRF_TRUSTED_ORIGINS = https:// *.domain

  1. Deny access of user to mobile platform server.

  2. Restart Docker containers. To do this, execute commands in the mobile platform server console:

% docker-compose -f docker-compose.standalone.yml down
% docker-compose -f docker-compose.standalone.yml up -d

  1. Allow access of users to mobile platform server.

  2. Open the administrator console via HTTPS protocol.

After executing the operations the administrator console availability is restored.

See also:

System Error Monitoring