[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tarsnap-keygen: Error registering with server (too many network failures)



Greetings:
I am having difficulty generating a key using tarsnap-keygen:

% sudo ./tarsnap-keygen --keyfile /root/tarsnap.key --user myname@gmail.com --machine mybox
[sudo] password for mel:
Enter tarsnap account password:
tarsnap-keygen: Connection lost, waiting 1 seconds before reconnecting
tarsnap-keygen: Connection lost, waiting 2 seconds before reconnecting
tarsnap-keygen: Too many network failures
tarsnap-keygen: Error registering with server

I am trying this on Ubuntu 14.04.4 using tarsnap-autoconf-1.0.37.

A google search came up with one suggestion that port 9279 needs to be opened for outgoing traffic, so I tried using ufw to achieve this:

% sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere
22/udp                     ALLOW IN    Anywhere
22/tcp (v6)                ALLOW IN    Anywhere (v6)
22/udp (v6)                ALLOW IN    Anywhere (v6)

9279/udp                   ALLOW OUT   Anywhere
9279/tcp                   ALLOW OUT   Anywhere
9279/udp (v6)              ALLOW OUT   Anywhere (v6)
9279/tcp (v6)              ALLOW OUT   Anywhere (v6)

Still no joy.  For completeness I also tried tarsnap-autoconf-1.0.31 and the latest version from Github, same results; so I'm guessing there's something wrong with my configuration or environment.  Any suggestions?

Thanks,
John Noll
Research Fellow
Lero - The Irish Software Research Centre
University of Limerick, V94 NYD3 Ireland