Good evening, I have a problem with docker using wireguard. I have a local project, as well as wireguard, up to some time there was no problem. But I have moved to another server with wireguard installed and go online through the remote server.
Now, when I try to start the project in docker, I get either freeze or “SSL connection timeout” error. Here is the full error text
Creating funeral_api-phpi-cli_run … done Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
In CurlDownloader.php line 365:
curl error 28 while downloading https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json:
SSL connection timeout
Or I get another problem, the script just freezes at this point.
Step 2/7 : RUN apk add --no-cache libzip-dev icu-dev postgresql-dev bash coreutils tzdata && docker-php-
ext-install zip && docker-php-ext-configure intl && docker-php-ext-install intl && docker-php-ext-configure
pgsql -with-pgsql=/usr/local/pgsql && docker-php-ext-install pdo_pgsql
—> Running in 82e20492676e fetch
*****/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
If I disable wireguard, the project runs without any problems.
I was advised to change mtu value for wireguard and also tried this tip
But nothing helped me.
How can I solve the problem and what caused it?
On the local
Ubuntu 20.04 Docker 20.10.21 Wireguard v1.0.20200513 (default settings)
On the server
Ubuntu 20.04
Wireguard v1.0.20200513 server