How can I solve the "i/o timeout" error during the initial setup of CubeBackup? How can I set up proxy for CubeBackup?
If you encounter an HTTP connection timeout error during the initial configuration of CubeBackup (like the message above), this means your server failed to connect to the Google OAuth service. The most likely cause of this error is that your backup server is behind a proxy server, and the proxy settings have not been added to the CubeBackup configuration file.
To allow CubeBackup to communicate with Google services via a proxy server, please follow the instructions below:
Open the configuration file config.toml, and add HttpProxy="http://<proxy-server-ip>:port" as the first line.
For example, the config.toml should look like this:
HttpProxy="http://192.168.1.100:8080" [Web] Bind=":80"
Starting with version 4.7, the configuration file is located at <installation directory>/etc/config.toml for fresh installations of CubeBackup. For installations upgraded through the console, or versions prior to 4.7, the configuration file is still located at <installation directory>/bin/config.toml.
On Windows, the installation directory is located at C:\Program Files\CubeBackup4 by default.
On Linux, the installation directory is located at /opt/cubebackup by default.
Restart the CubeBackup service using the following command.
Please run this command.
sudo /opt/cubebackup/bin/cbsrv restart
Open a Command Prompt as Administrator, and run this command.
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" restart
Open the Windows PowerShell as Administrator, and run this command.
& "C:\Program Files\CubeBackup4\bin\cbsrv.exe" restart
Please run this command to restart the container.
sudo docker restart <container-name>
If the connection problem persists after the above operations, you can: