Bug 1238745

Summary: git-svn fails if the local machine has global IPv6 address, but can not use it on Internet
Product: [Fedora] Fedora Reporter: Tomáš Hozza <thozza>
Component: subversionAssignee: Joe Orton <jorton>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: chrisw, jbowes, jorton, ooprala, psimerda, pstodulk, tmz, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-10 23:46:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 883152    

Description Tomáš Hozza 2015-07-02 14:00:42 UTC
Description of problem:


Version-Release number of selected component (if applicable):
git-svn-2.4.3-4.fc22.x86_64

How reproducible:
always

Steps to Reproduce:
1. have machine with IPv4 address with access to the Internet
2. have IPv6 global address with no access to Internet
3. run 'git svn clone ...' or 'git svn rebase' in existing cloned repo

Actual results:
$ git svn rebase
Connection refused: Unable to connect to a repository at URL 'http://www.nlnetlabs.nl/svn/dnssec-trigger/trunk': Error running context: Connection refused at /usr/share/perl5/vendor_perl/Git/SVN.pm line 712.

$ git svn clone http://www.nlnetlabs.nl/svn/dnssec-trigger/trunk/
Initialized empty Git repository in /home/thozza/tmp/trunk/.git/
Connection refused: Unable to connect to a repository at URL 'http://www.nlnetlabs.nl/svn/dnssec-trigger/trunk': Error running context: Connection refused at /usr/share/perl5/vendor_perl/Git/SVN.pm line 143.


Expected results:
The git-svn should fallback to IPv4 address (if that is the case)

Additional info:
The script always fails when calling 'Git::SVN::Ra->new($self->url)'

Comment 1 Petr Stodulka 2015-07-07 17:03:06 UTC
Problematic code is part of subversion package. GIT::SVN::Ra calls SVN::Ra which fail.

Reproducer:

$ svn co http://www.nlnetlabs.nl/svn/dnssec-trigger/trunk/


package: subversion-1.8.11-1.fc21.x86_64

Comment 2 Pavel Šimerda (pavlix) 2015-10-10 23:46:02 UTC
This has been reported already.

*** This bug has been marked as a duplicate of bug 1130328 ***