git - Why is Ubuntu machine not being able to access Github? -
i can curl
, wget
google.com , other sites using https (not of them though).
github 1 of them. following commands don't work on ubuntu 14.04 machine:
this hangs indefinitely
/usr/local/bin/git ls-remote git://github.com/sstephenson/rbenv.git -h refs/heads/v0.4.0
this results in: curl: (35) unknown ssl protocol error in connection github.com:443
curl https://github.com
this results in: resolving github.com (github.com)... 192.30.252.130 connecting github.com (github.com)|192.30.252.130|:443... connected. unable establish ssl connection.
wget https://github.com
openssl shows no certificate (is best hint?)
openssl s_client -connect github.com:443 connected(00000003) write:errno=104 --- no peer certificate available --- no client certificate ca names sent --- ssl handshake has read 0 bytes , written 305 bytes --- new, (none), cipher (none) secure renegotiation not supported compression: none expansion: none ---
why github problem here? system blocking ssl traffic? possible firewall rule blocking traffic well. if that's case please point out don't have knowledge determine whether reason.
i can't git clone
repos public , don't belong account (which have ssh keys for) either. can clone repos own github account want though.
here strace of command (notice hangs on last line)
openssl s_client -connect github.com:443 connected(00000003) write:errno=104
i suggest behind firewall middlebox restricts sites can access. in case of https restriction depends on target (it looking ssl handshake) , allow tcp connection close once "wrong" target detected, causing connection reset peer (errno=104). git instead blocking port 9418 connection attempt hangs.
Comments
Post a Comment