104 Connection reset by peer while downloading role geerlingguy.php
See original GitHub issueBug Report
SUMMARY
Had a problem: impossible to download geerlingguy.php ansible role!
Tried to provision vagrant with ansible. I have a bunch of roles:
- src: geerlingguy.mysql
- src: geerlingguy.php
- src: geerlingguy.nginx
- src: geerlingguy.git
- src: geerlingguy.composer
- src: geerlingguy.rabbitmq
But only when process tries to download geerlingguy.php it fails with message:
- downloading role from https://github.com/geerlingguy/ansible-role-php/archive/3.6.0.tar.gz [ERROR]: failed to download the file: (104, ‘Connection reset by peer’)
STEPS TO REPRODUCE
Just execute single command and you will get it:
ansible-galaxy install geerlingguy.php
Installed software versions: Ubuntu 14.04 LTS Python = 2.7.6 ansible-galaxy = 2.5.4 urllib3 = 1.7.1 pyOpenSSL = 0.13 ndg-httpsclient = 0.5.0 pyasn1 = 0.4.3
EXPECTED RESULTS
Successful installation of mentioned role geerlingguy.php as it was hundreds times before.
ACTUAL RESULTS
Screenshot: http://joxi.ru/DmBDEZIJdyQ9AP?d=1 Text version:
$ ansible-galaxy install geerlingguy.php
- downloading role 'php', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-php/archive/3.6.0.tar.gz
[ERROR]: failed to download the file: (104, 'Connection reset by peer')
[WARNING]: - geerlingguy.php was NOT installed successfully.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
104: Connection reset by peer while reading response header ...
I'm not using php-fpm , I'm just running php-fastcgi by doing php-cgi -b 127.0.0.1:9000 . It's been working without fault for 3 years....
Read more >ansible-galaxy install geerlingguy.php
geerlingguy. php. PHP for RedHat/CentOS/Fedora/Debian/Ubuntu. 4.9 / 5Score. 7247591Downloads ... Tell us about this role. Quality of docs?
Read more >Chapter 8 - Ansible Cookbooks
Apache and mod_php run a PHP-based application that displays the entire stack's ... The first variable tells the geerlingguy.firewall role to open TCP...
Read more >Ansible for DevOps
Create a default virtual server configuration using the box you just downloaded: vagrant init geerlingguy/centos7.
Read more >failed - [Errno 104] Connection reset by peer - Trellis at "Add ...
Original problem. When I run vagrant up I am seeing this. System info: Ansible 2.2.0.0; Vagrant 1.8.7; Darwin Trellis ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@webarchitect609 Thanks for reporting details. It’s unlikely to be web server configuration issue (in context of handling *.php urls), because second installation went successfully. Since we didn’t have any deployments today the issue doesn’t seem to be related with galaxy.
Moreover according to short ansible-galaxy tool log, issue happend when galaxy tried to download archive from github. So it’s possible that the issue is not related to galaxy servers at all.
I assume github may rate limit archive downloads, but it requires additional investigation.
Works for me too, you may try to simply paste the URL in the browser: https://github.com/geerlingguy/ansible-role-php/archive/3.6.0.tar.gz