google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 118 forks source link

IPv6 support #102

Closed matthazinski closed 5 years ago

matthazinski commented 8 years ago

I'm attempting to upload files on a machine that doesn't have an IPv4 address. I get this error:

[matt@wopr ]$ skicka upload *.pcap /path/to/dest/
skicka: error creating Google Drive client: Get https://www.googleapis.com/drive/v2/about?alt=json: Post https://accounts.google.com/o/oauth2/token: dial tcp 216.58.217.141:443: network is unreachable
[matt@wopr ]$ ping6 www.googleapis.com
PING www.googleapis.com(qh-in-x5f.1e100.net) 56 data bytes
64 bytes from qh-in-x5f.1e100.net: icmp_seq=1 ttl=54 time=16.9 ms
^C
--- www.googleapis.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 16.941/16.941/16.941/0.000 ms
[matt@wopr ]$ ping6 accounts.google.com
PING accounts.google.com(iad23s43-in-x0d.1e100.net) 56 data bytes
64 bytes from iad23s43-in-x0d.1e100.net: icmp_seq=1 ttl=56 time=12.1 ms
^C
--- accounts.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 12.127/12.127/12.127/0.000 ms
agoode commented 5 years ago

Sorry, skicka cannot support IPv6-only networks if Google itself does not.