* Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars
@ 2014-06-24 12:47 Vincent B.
2014-06-24 13:15 ` Torsten Bögershausen
0 siblings, 1 reply; 3+ messages in thread
From: Vincent B. @ 2014-06-24 12:47 UTC (permalink / raw)
To: git
I discovered an issue while trying to clone a git repo over an IPv6 link-local address:
[vb@nerenyi ~/code/ocaml-llnet]% LANG=C git clone "http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo"
Cloning into 'repo'...
fatal: unable to access 'http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo/': Failed to connect to fe80::226:c6ff
:fe50:efa0 port 3307: Connection refused
It tries to connect to port 3307, and not 33075, strangely.
Cheers,
Vincent Bernardoff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars
2014-06-24 12:47 Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars Vincent B.
@ 2014-06-24 13:15 ` Torsten Bögershausen
2014-06-24 13:19 ` Vincent B.
0 siblings, 1 reply; 3+ messages in thread
From: Torsten Bögershausen @ 2014-06-24 13:15 UTC (permalink / raw)
To: Vincent B., git
On 06/24/2014 02:47 PM, Vincent B. wrote:
> I discovered an issue while trying to clone a git repo over an IPv6 link-local address:
>
> [vb@nerenyi ~/code/ocaml-llnet]% LANG=C git clone "http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo"
>
> Cloning into 'repo'...
> fatal: unable to access 'http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo/': Failed to connect to fe80::226:c6ff
> :fe50:efa0 port 3307: Connection refused
>
> It tries to connect to port 3307, and not 33075, strangely.
>
> Cheers,
>
> Vincent Bernardoff
Which OS are you using ?
what does
git --version
give?
And what does this do ?
GIT_CURL_VERBOSE=1 LANG=C git clone "http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars
2014-06-24 13:15 ` Torsten Bögershausen
@ 2014-06-24 13:19 ` Vincent B.
0 siblings, 0 replies; 3+ messages in thread
From: Vincent B. @ 2014-06-24 13:19 UTC (permalink / raw)
To: Torsten Bögershausen, git
On 24/06/2014 15:15, Torsten Bögershausen wrote:
> Which OS are you using ?
>
> what does
> git --version
> give?
>
> And what does this do ?
>
> GIT_CURL_VERBOSE=1 LANG=C git clone "http://[fe80::226:c6ff:fe50:efa0%wlan0]:33075/repo"
>
My mistake, actually:
As per RFC6874, IPv6 URI with zones have to be encoded [::%25zone] and not [::%zone]. It is working now.
Thanks,
Vincent
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-24 13:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 12:47 Unable to clone a repo over an IPv6 link local address: port got trimmed to 4 chars Vincent B.
2014-06-24 13:15 ` Torsten Bögershausen
2014-06-24 13:19 ` Vincent B.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).