Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

cURL error 28: Resolving timed out #315

Open
2 tasks done
marlonamancio opened this issue Sep 15, 2022 · 2 comments
Open
2 tasks done

cURL error 28: Resolving timed out #315

marlonamancio opened this issue Sep 15, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@marlonamancio
Copy link

Troubleshooting

  • I have attempted to troubleshoot this already

Describe the bug

Hey guys, hope you are doing well today :)

10updocker create is not working as expected. When it gets to the step of downloading WordPress it returns the error below:

Error : time="2022-09-15T18:09:30-03:00" level=warning msg="network wplocaldocker: network.external.name is deprecated in favor of network.name" time="2022-09-15T18:09:30-03:00" level=warning msg="volume wplocaldockerCache: volume.external.name is deprecated in favor of volume.name" Error: RuntimeException: Failed to get url 'https://api.wordpress.org/core/version-check/1.7/?locale=en_US': cURL error 28: Resolving timed out after 10000 milliseconds.

Steps to Reproduce

  1. 10updocker create
  2. Fill in the information as requested
  3. In the WordPress download step, the error occurs

Screenshots, screen recording, code snippet

Captura de tela 2022-09-15 181325

Environment information

  • Device: DellG15 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz - 16GB RAM
  • OS: Windows 11 Home Single Language 22H2 22621.521
  • Docker Desktop v4.12.0
  • WSL: 0.66.2.0 Ubuntu kernel: 5.15.57.1
  • Node v18.9.0
  • NPM 8.19.2
  • curl is already the newest version (7.68.0-1ubuntu2.13)

Code of Conduct

  • I agree to follow this project's Code of Conduct
@marlonamancio marlonamancio added the bug Something isn't working label Sep 15, 2022
@tomalec
Copy link
Contributor

tomalec commented Sep 16, 2022

I faced the same issue on

  • OS: Ubuntu 22.04
  • Docker version 20.10.18, build b40c2f6
  • Docker Compose version v2.10.2

What helped me move one step forward was running

npm i
npm run 10updocker create

from this branch #265

However, now I'm stuck on

⠋ Starting docker containers for test1-test...
 Error : Network test1-test_default  Creating
Network test1-test_default  Created
external volume "wplocaldockerCache" not found

@marlonamancio
Copy link
Author

marlonamancio commented Sep 17, 2022

Hi @tomalec thank you for your insights.

I was able to get around this issue by changing my DNS provider to Google public DNS, after that the error no longer happens in curl when downloading wordpress, but now I'm stuck at DNS_PROBE_FINISHED_NXDOMAIN error in browser, I can't access the installation URL.

I think the 10updocker failed to change the hosts file. I had to change it manually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants