I ran into this issue myself, but I am not using a proxy, I believe the keyserver was just down. Perhaps a shorter timeout (5-10 seconds), a helpful error message that says something like "Cannot reach the keyserver at this time, please try again later. Note that the repository has been added anyway. You can still install software from the new repository, but you will receive warning messages until the key has been added to your keyring."
Or something like that.... -- add-apt-repository insists on downloading GPG key even if keyserver is down. If keyserver is down, add-apt-repository can't proceed. https://bugs.launchpad.net/bugs/443404 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs