question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

104 Connection reset by peer while downloading role geerlingguy.php

See original GitHub issue

Bug 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:

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:closed
  • Created 5 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cutwatercommented, Jul 10, 2018

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

1reaction
robertdebockcommented, Jul 3, 2018

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

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found