> For the complete documentation index, see [llms.txt](https://docs-en.dydu.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-en.dydu.ai/other/security/server-usage.md).

# Server usage

You will find on this page all the information relating to the use of the back-up servers in case of difficulties on the main server.

### General informations

* Queries to the main server can be done when the user begins to enter a question to avoid waiting when checking up the main server;
* In case of errors or unavailability of the main server (APP1), a redirection protocol addressing the request on the backup server (APP2) must implemented. This redirection must be carried out in case of HTTP errors of category 400 (access denied) and 500 (server error);
* It can happen that the main server (APP1) is slowed down but still functional. In this case, it is recommended to place timeouts in order to switch to the backup server;
* There is no back-up server in the pre-production environment;
* If an error occurs during a dialog, a new dialog will be created on the back-up server. There is no continuity;
* Once a dialog has been transferred or initiated on the backup server, it must remain on the same server until the end of the dialog.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-en.dydu.ai/other/security/server-usage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
