Skip to content

Catch and Report Connection Configuration Error #69

@phreed

Description

@phreed

There are cases where the FTS-UI is misconfigured.
There is documentation explaining how to correct the configuration.
Cause the FTS-UI to catch the mis-configuration exception and direct the operator to the appropriate documentation.

Here is one such place where a connection exception is probably caused by such a mis-configuration:

  File "/root/fts.venv/lib/python3.11/site-packages/FreeTAKServer-UI/app/base/routes.py", line 42, in login
    user = requests.get(f"{app.config['PROTOCOL']}://{app.config['IP']}:{app.config['PORT']}/AuthenticateUser", params={"username": username, "password": password}, headers={"Authorization": f"{app.config['APIKEY']}"})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions