Score:0

issue with composer on staging but not production environment

dk flag

Running composer on staging environment gives me a 400 error. I am wondering if there's a quick fix, because it seems like it's a networking issue, but I am not sure if it has to do with Composer's settings or something else.

hub.com/repos/Ocramius/ProxyManager/zipball/0ac0eb3e8e04c7fa75caaf1a43c5405623abf8f5' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing ocramius/proxy-manager (0.5.2): Cloning 0ac0eb3e8e
  - Installing evenement/evenement (v2.0.0): Downloading (connecting...)    Failed to download evenement/evenement from dist: The 'https://api.github.com/repos/igorw/evenement/zipball/f6e843799fd4f4184d54d8fc7b5b3551c9fa803e' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing evenement/evenement (v2.0.0): Cloning f6e843799f
  - Installing symfony/polyfill-mbstring (v1.19.0): Downloading (connecting...)    Failed to download symfony/polyfill-mbstring from dist: The 'https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b5f7b932ee6fa802fc792eabd77c4c88084517ce' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing symfony/polyfill-mbstring (v1.19.0): Cloning b5f7b932ee
  - Installing mtdowling/jmespath.php (2.6.0): Downloading (connecting...)    Failed to download mtdowling/jmespath.php from dist: The 'https://api.github.com/repos/jmespath/jmespath.php/zipball/42dae2cbd13154083ca6d70099692fef8ca84bfb' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing mtdowling/jmespath.php (2.6.0): Cloning 42dae2cbd1
  - Installing aws/aws-sdk-php (3.161.2): Downloading (connecting...)    Failed to download aws/aws-sdk-php from dist: The 'https://api.github.com/repos/aws/aws-sdk-php/zipball/2703896142f292058ce9d6c9026a9329a89778e0' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing aws/aws-sdk-php (3.161.2): Cloning 2703896142
  - Installing asimlqt/php-google-spreadsheet-client (2.3.7): Downloading (connecting...)    Failed to download asimlqt/php-google-spreadsheet-client from dist: The 'https://api.github.com/repos/asimlqt/php-google-spreadsheet-client/zipball/05527b328b2cf08c4b1992bdb531116305c1b711' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing asimlqt/php-google-spreadsheet-client (2.3.7): Cloning 05527b328b
  - Installing hgregoireauto/phplibs (dev-master 56ce883): Cloning 56ce883e1f
  - Installing katzgrau/klogger (dev-master de2d3ab): Cloning de2d3ab677
  - Installing psr/container (1.0.0): Downloading (connecting...)    Failed to download psr/container from dist: The 'https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing psr/container (1.0.0): Cloning b7ce3b1764
  - Installing php-di/phpdoc-reader (2.1.1): Downloading (connecting...)    Failed to download php-di/phpdoc-reader from dist: The 'https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/15678f7451c020226807f520efb867ad26fbbfcf' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing php-di/phpdoc-reader (2.1.1): Cloning 15678f7451
  - Installing container-interop/container-interop (1.2.0): Downloading (connecting...)    Failed to download container-interop/container-interop from dist: The 'https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing container-interop/container-interop (1.2.0): Cloning 79cbf1341c
  - Installing php-di/invoker (1.3.3): Downloading (connecting...)    Failed to download php-di/invoker from dist: The 'https://api.github.com/repos/PHP-DI/Invoker/zipball/1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing php-di/invoker (1.3.3): Cloning 1f4ca63b9a
  - Installing php-di/php-di (5.4.6): Downloading (connecting...)    Failed to download php-di/php-di from dist: The 'https://api.github.com/repos/PHP-DI/PHP-DI/zipball/3f9255659595f3e289f473778bb6c51aa72abbbd' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing php-di/php-di (5.4.6): Cloning 3f92556595
  - Installing phpmailer/phpmailer (v6.1.8): Downloading (connecting...)    Failed to download phpmailer/phpmailer from dist: The 'https://api.github.com/repos/PHPMailer/PHPMailer/zipball/917ab212fa00dc6eacbb26e8bc387ebe40993bc1' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing phpmailer/phpmailer (v6.1.8): Cloning 917ab212fa
  - Installing phpoffice/phpexcel (1.8.2): Downloading (connecting...)    Failed to download phpoffice/phpexcel from dist: The 'https://api.github.com/repos/PHPOffice/PHPExcel/zipball/1441011fb7ecdd8cc689878f54f8b58a6805f870' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing phpoffice/phpexcel (1.8.2): Cloning 1441011fb7
  - Installing rmccue/requests (v1.7.0): Downloading (connecting...)    Failed to download rmccue/requests from dist: The 'https://api.github.com/repos/rmccue/Requests/zipball/87932f52ffad70504d93f04f15690cf16a089546' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing rmccue/requests (v1.7.0): Cloning 87932f52ff
  - Installing recombee/php-api-client (v2.4.0): Downloading (connecting...)    Failed to download recombee/php-api-client from dist: The 'https://api.github.com/repos/recombee/php-api-client/zipball/6dfb0b6a03acde7688bae878a621e9a0b35a18ed' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing recombee/php-api-client (v2.4.0): Cloning 6dfb0b6a03
  - Installing twilio/sdk (4.11.0): Downloading (connecting...)    Failed to download twilio/sdk from dist: The 'https://api.github.com/repos/twilio/twilio-php/zipball/c538caccdb916bbed59b88f069f5a10d2544a2ff' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing twilio/sdk (4.11.0): Cloning c538caccdb
  - Installing symfony/polyfill-ctype (v1.19.0): Downloading (connecting...)    Failed to download symfony/polyfill-ctype from dist: The 'https://api.github.com/repos/symfony/polyfill-ctype/zipball/aed596913b70fae57be53d86faa2e9ef85a2297b' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from source
  - Installing symfony/polyfill-ctype (v1.19.0): Cloning aed596913b
  - Installing webmozart/assert (1.9.1): Downloading (connecting...)    Failed to download webmozart/assert from dist: The 'https://api.github.com/repos/webmozarts/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a' URL could not be accessed: HTTP/1.1 400 Bad Request
in flag
Is a proxy server involved?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.