What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello All, Did anyone experienced `php_network_getaddresses: getaddrinfo failed` issue while `docker
Hello All,
Did anyone experienced php_network_getaddresses: getaddrinfo failed
issue while docker/sdk bootstrap deploy.dev.yml
on WSL2?
=> [stage-0 4/10] COPY --chown=spryker:spryker composer.json composer.lock /data/ 0.1s => ERROR [stage-0 5/10] RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 composer install --no- 36.9s ------ [stage-0 5/10] RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 composer install --no-interaction --optimize-autoloader --no-dev: #12 0.688 Loading composer repositories with package information #12 0.694 Installing dependencies from lock file #12 0.713 Package operations: 7 installs, 0 updates, 0 removals #12 0.717 - Installing spatie/macroable (1.0.0): Downloading (failed) #12 6.229 Downloading (failed) #12 11.74 Downloading (failed) Failed to download spatie/macroable from dist: The "<https://api.github.com/repos/spatie/macroable/zipball/74b0d189ce75142f1706aad834d5a428dfc7c3c3>" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Try again #12 16.74 failed to open stream: php_network_getaddresses: getaddrinfo failed: Try again #12 16.74 Now trying to download from source #12 16.74 - Installing spatie/macroable (1.0.0): Cloning 74b0d189ce #12 36.81 #12 36.81 #12 36.81 [RuntimeException] #12 36.81 Failed to clone <https://github.com/spatie/macroable.git> via https, ssh protocols, aborting. #12 36.81 #12 36.81 - <https://github.com/spatie/macroable.git> #12 36.81 Cloning into '/data/vendor/spatie/macroable'... #12 36.81 fatal: unable to access '<https://github.com/spatie/macroable.git/>': Could not resolve host: [github.com](http://github.com) #12 36.81 #12 36.81 - git@github.com:spatie/macroable.git #12 36.81 Cloning into '/data/vendor/spatie/macroable'... #12 36.81 ssh: Could not resolve hostname [github.com](http://github.com): Try again #12 36.81 fatal: Could not read from remote repository. #12 36.81 #12 36.81 Please make sure you have the correct access rights #12 36.81 and the repository exists. #12 36.81 #12 36.81 #12 36.81 install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]... #12 36.81 ------ executor failed running [/bin/sh -c composer install --no-interaction --optimize-autoloader --no-dev]: exit code: 1
Comments
-
Seems like some local network/DNS problems.
0 -
using a proxy or VPN?
0 -
No proxy nor VPN. just a regular Win10 and WSL2 setup.
0 -
Btw, my
/etc/hosts
file seems to consist of incorrect IPs forhost.docker.internal
andgateway.docker.internal
.
Do you know what IPs should be used there?0 -
Also, do you know what IP (or hostname) should be used in
/etc/resolv.conf
files?0 -
An issue was resolved by resetting to factory defaults in Docker Desktop and re-exposing daemon.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random