If I disable wireguard, the project runs without any problems. This means that you have to configure the timeout in every cURL call in your code. AFAIK this is NOT true: 'cURL has an indefinite timeout by default and does not obey the defaultsockettimeout INI setting. The default value is 60, the unit is seconds. If you are not familiar with the location of your php.ini file or not comfortable with editing the file yourself, most hosting companies will make this change for you. PHP's CURL uses the php.ini setting defaultsockettimeout. Pgsql -with-pgsql=/usr/local/pgsql & docker-php-ext-install pdo_pgsql To increase the cURL Timeout, we suggest changing your defaultsockettimeout value in the php.ini file to 60 or more. Step 2/7 : RUN apk add -no-cache libzip-dev icu-dev postgresql-dev bash coreutils tzdata & docker-php-Įxt-install zip & docker-php-ext-configure intl & docker-php-ext-install intl & docker-php-ext-configure Instead of cracking your head with rebuilding cURL and configuring it with c-ares, it might be worth a try to test whether a server is reachable first and then initiate cURL: ping -c 1 &>/dev/null & cURL. Or I get another problem, the script just freezes at this point. Verifying lock file contents can be installed on current platform. Here is the full error textĬreating funeral_api-phpi-cli_run … done Installing dependencies from lock file (including require-dev) Now, when I try to start the project in docker, I get either freeze or “SSL connection timeout” error. But I have moved to another server with wireguard installed and go online through the remote server. I have a local project, as well as wireguard, up to some time there was no problem. Good evening, I have a problem with docker using wireguard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |