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..

Hi guys, here another problem that i get since yesterday permanently. As every day i check what ther

giovanni.piemontese
giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi guys, here another problem that i get since yesterday permanently.
As every day i check what there is new from spryker packages or symfony... just composer update.
I run just this command:
docker/sdk cli COMPOSER_MEMORY_LIMIT=-1 composer update --dry-run

Since yesterday i get the following random network errors:

 [Composer\Downloader\TransportException]                                                                                                                                                          
  The "<http://repo.packagist.org/p/symfony/security%24785a52e7567f7d354c6f18a5e80c26cf96feb4448bffb57b51cb7330944eb975.json>" file could not be downloaded: php_network_getaddresses: getaddrinfo f  
  ailed: Try again                                                                                                                                                                                  
  failed to open stream: php_network_getaddresses: getaddrinfo failed: Try again

or

[Composer\Downloader\TransportException]                                                                                                                                                          
  The "<http://repo.packagist.org/p/spryker/sales-split%24f4c9df810e405786b5408b045641efbc1b3bcea049b6f728d012295b9f00a955.json>" file could not be downloaded: php_network_getaddresses: getaddrinf  
  o failed: Try again                                                                                                                                                                               
  failed to open stream: php_network_getaddresses: getaddrinfo failed: Try again 

What happend? Is related to docker cli container or not?
Thanks in advance.

Comments

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Does it work from host?

    I assume it is just network issues.

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    After restart my MAC seems to work again. Sorry!

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    @ULYHPR789
    after restart my MAC and re.mount the project volume it seem that everything works... but not composer update

    docker/sdk cli COMPOSER_MEMORY_LIMIT=-1 composer update
    *** DEVELOPMENT MODE
        1/13:   <http://repo.packagist.org/p/provider-archived$3697269ca25457f978038344090fb22062cf99884235ae92d4648acef0c6f8f7.json>
        2/13:   <http://repo.packagist.org/p/provider-latest$b33d8ff35a6a0424a0bc4e095d4494cc87eaeea9b0057218cb7c29e310a27a3f.json>
        3/13:   <http://repo.packagist.org/p/provider-2019$6e1ec29d59563101c3c53dc4d2898a3614f9efb1b3574e787b37abfb2926fe3d.json>
        4/13:   <http://repo.packagist.org/p/provider-2020-01$56c86452761f4c820048f2fa2f77bb0523e7a6d857c7822abfb3c947630ae2de.json>
        5/13:   <http://repo.packagist.org/p/provider-2019-04$c7bd4afc04848538e4d17ece960a85d3b091523b407714307d4f79e37a4d2fa1.json>
        7/13:   <http://repo.packagist.org/p/provider-2019-07$df0f8421157e2f9ec95f6c57a8728cd157e1b69fc64cf3bafb1b926b6c83de88.json>
        7/13:   <http://repo.packagist.org/p/provider-2015$8ee360af8eb5689fb0019963516ea115a2831375ff0259f1f85e6f74fdeb75d7.json>
        8/13:   <http://repo.packagist.org/p/provider-2019-10$93f41f0db021273d24d45604a02e804bd8d67b17c375e2165795a60e86cd1f8c.json>
        9/13:   <http://repo.packagist.org/p/provider-2016$33517fc38493a0f5c834d596ea49ceec9a8f904ab2100ceb407dc5c7183671f4.json>
        10/13:  <http://repo.packagist.org/p/provider-2014$22a52d54cc272e5eceb188e31470023f2351fcda77b7d62e9b190ed51cf929f4.json>
        11/13:  <http://repo.packagist.org/p/provider-2013$58921f57832f12f69efcd1c0bdcf5d2a200e1523da09fe8268862aab72c82c1d.json>
        12/13:  <http://repo.packagist.org/p/provider-2018$4a6f179499cb4345cdf615e5545bd24805b047ff4ddca6fac2d680cc74f5cd52.json>
        13/13:  <http://repo.packagist.org/p/provider-2017$0c0263c7d645953938814f2d300929d5d6703cd762dab4fa2b509646e00719ac.json>
        Finished: success: 13, skipped: 0, failure: 0, total: 13
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    /usr/local/bin/execute.sh: line 7:     8 Killed                  bash -c "${COMMAND}"
    

    --dry-run was succesfull....
    Can u help me? Is maybe related to less memory to docker? (i have configured 4GB)

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    Im Host local works without problem (naturally i have to run with option --ignore-platform-reqs)

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    Killed 
    

    probably by resource limits.
    It is possible that 4 GB is not enough

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    But our guys with MacBookPro13 have 4GB and everything is fine.

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes. i configured 6gb and seems to be enough now..

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited March 2020

    I wonder what would it be needed later when we would have 1k+ modules.

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes.. i asked me self... but the problem i think is symfony.. not spryker vendor package

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 πŸ§‘πŸ»β€πŸš€ - Cadet

    maybe

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Spryker has 700+ modules now. I doubt we use so many from symfony.

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Anyway that’s quite another topic. )))