Try creating a jenkins proxy to workaround connection issues.