The agent is unable to connect to the backup server
This page is intended for administrators whose BeBackup agent cannot reach the server: the connection test fails, or the backup crashes as soon as it starts. It sets out what to check, in order: the address, the port, the firewall, the proxy, then the user account. It applies to BeBackup agent 7. Certificate errors are covered on a separate page.
Symptom
The agent displays this message, with the server name and port:
Connexion au serveur de sauvegarde "…:…" impossible. Veuillez vérifier votre connexion au réseau. Erreur : Code=…
The same message appears in the agent log. The Tester la connexion button in the agent settings also produces it. When the connection succeeds, this button displays Connexion au serveur effectuée avec succès.
Cause
The agent opens a TCP connection to the BeBackup server, on the port specified in its address. The message means that this connection did not go through, or that the server did not respond. The cause almost always lies on the network path: wrong address, closed port, firewall, proxy or a dropped link.
Checks
Carry out these checks in order.
1. The server address
In the agent settings, read the Adresse du serveur field.
- Without a port, the agent uses port
443. - If your server listens on another port, specify it after a colon, for example
sauvegarde.exemple.fr:8443. - The address must be reachable from the workstation. A name that only resolves on the company network will not work from a roaming workstation outside the VPN (Virtual Private Network).
If the field is empty, the agent displays Veuillez renseigner le nom d'hôte du serveur. when saving, or Nom d'hôte non défini. when connecting.
2. The port and the firewall
The connection goes from the workstation to the server. Check that:
- on the workstation side, the local firewall or the network firewall allows outbound connections to the server port;
- on the server side, the firewall and the router allow incoming connections on that same port and forward them to the BeBackup server;
- no other software is occupying that port on the server.
From the workstation, a TCP connection test to the server address and port will settle the matter. For example, under Windows:
Test-NetConnection sauvegarde.exemple.fr -Port 443
If this test fails, the problem lies in the network, not in BeBackup.
3. The proxy
If the workstation has to go through a proxy to reach the Internet, declare it in the agent:
- Open the agent settings, then
Paramètres supplémentaires.... - Tick
Passer par un serveur Proxy. - In the
Paramètres du serveur Proxybox, fill inAdresse du serveurandNuméro du port, thenNom d'utilisateurandMot de passeif the proxy requires authentication.
The agent traverses the proxy via an HTTP tunnel. The proxy must therefore accept CONNECT connections to the BeBackup server port, and not only to port 443 if it is different.
A proxy or an appliance that inspects encrypted traffic may also drop the connection during a backup. In that case, exclude the BeBackup server address from inspection.
4. The user name and password
If the network connection succeeds but the credentials are rejected, the agent displays a different message:
Nom d'utilisateur, mot de passe ou clé de communication incorrect.: the account exists, but the password or the communication key is wrong. CheckMot de passein the agent settings, then the key entered inClé de chiffrement des communications (optionnel) :, underParamètres supplémentaires...: it must match the one on the server. Correct it or clear the field, depending on how your account is configured.Nom d'utilisateur ou mot de passe incorrect.: the server does not recognise this account. CheckAdresse emailin the agent settings.
Other messages you may see when connecting
Le mode maintenance est activé sur le serveur. Pour des raisons de sécurité, ce mode empêche l'utilisation normale du serveur de sauvegarde.: the server was started in maintenance mode. Wait for its administrator to complete the work.Cet agent doit être mis à jour avant de pouvoir se connecter.: install the update offered by the agent.- A message beginning with
Le certificatorLa vérification du certificat du serveur a échoué: refer to the page dealing with certificate errors.
Resolution
Correct whatever the checks have identified. Then:
- Click
Tester la connexion. - Wait for the message
Connexion au serveur effectuée avec succès. - Save the agent settings. Until a modified connection has passed its test, the
Enregistrerbutton remains greyed out and the screen displaysConnexion modifiée : testez-la pour pouvoir enregistrer. - Restart the backup.
If the connection fails during a scheduled backup, the agent restarts the task on its own 15 minutes later, and so on up to 12 attempts in total. A brief network outage therefore requires no action. A backup started manually, either from the agent or from the web interface, is never restarted: you must start it again yourself.
If the problem persists
Contact BeBackup support. Please include:
- the full message, including the
Erreur : Code=…line; - the server address and port used;
- the result of the TCP connection test from the workstation;
- the agent service log,
bbAgent-service.log.
BeBackup is backup built for IT service providers
Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.