GithubHelp home page GithubHelp logo

Comments (11)

edgeman16 avatar edgeman16 commented on July 24, 2024

I have this same issue on Fedora.

from cli.

vendion avatar vendion commented on July 24, 2024

This does not seem to be related to issue #6, at least for my case, as my password is just alphanumeric only.

As a work around could I reuse a API key from a different box in order to get the app to login?

from cli.

edgeman16 avatar edgeman16 commented on July 24, 2024

Issue #6 may not be related to the password then, but rather two-factor auth?

from cli.

vendion avatar vendion commented on July 24, 2024

@edgeman16 I was able to get version 1.0 to work for on Arch even though I have two-factor auth enabled on my account. To me it sounds like issue #6 and this one are separate, and you got a double whammy.

Looking at their WebService module on CPAN user_getapikey takes a optional paramatier token, maybe for a two-factor token?, but the application does not ask for one during configuration. This does not explain why giving it a API key fails though...

Of course it would help if someone at @linode would chime in on this issue.

from cli.

trevorparker avatar trevorparker commented on July 24, 2024

These errors point toward a more subtle problem. My bet is on unmet/misplaced dependencies with LWP::UserAgent. This shouldn't happen as part of the OS X install, but it's possible dependencies are getting placed somewhere unexpected due to a build/perl environment setting that we're not anticipating. 1.1.0 fixed an issue with local::lib conflicting with the Homebrew formula, for instance -- but that's obviously not what's happening here.

We'll be pushing out an update soon that will provide much more useful errors in these locations and others. Hopefully that will shed some light on this bug.

from cli.

trevorparker avatar trevorparker commented on July 24, 2024

@vendion We've pushed out 1.1.2 which doesn't do anything to directly address this issue, but should provide a more useful error message. Hopefully that'll point us in the right direction, or at least rule out a dependency issue.

from cli.

vendion avatar vendion commented on July 24, 2024

Well 1.1.2 did point out a missing module

linode configure
This will walk you through setting default values for common options.

Linode Manager user name
>> vendion

Linode Manager password for vendion
>>

Unexpected error obtaining API key for user vendion: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)

Installing that module and its dependencies did the trick. Also get prompted for a two-factor token :)

from cli.

trevorparker avatar trevorparker commented on July 24, 2024

That's very strange... LWP::Protocol::https is listed as a resource in the Homebrew formula. We did see this happen internally on one system during early testing but were unable to replicate it.

from cli.

vendion avatar vendion commented on July 24, 2024

That is strange, wonder why the module was skipped by the build process...
in any case I would say leave in the debug that caught the missing module
incase it happens again in the meantime.

On Mon, Feb 17, 2014 at 10:00 AM, Trevor Parker [email protected]:

That's very strange... LWP::Protocol::https is listed as a resource in
the Homebrew formula. We did see this happen internally on one system
during early testing but were unable to replicate it.

Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-35288852
.

from cli.

trevorparker avatar trevorparker commented on July 24, 2024

Unfortunately we haven't been able to reproduce this and we're a few versions out from when this issue seemed to creep up. If this seems to happen again in a later version, let us know.

from cli.

emzo avatar emzo commented on July 24, 2024

Just had this happen when I tried to run linode configure on OS X

# brew tap linode/cli
Cloning into '/usr/local/Library/Taps/linode/homebrew-cli'...
remote: Reusing existing pack: 44, done.
remote: Total 44 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (44/44), done.
Checking connectivity... done.
Tapped 1 formula
# brew install linode-cli
==> Downloading https://github.com/linode/cli/archive/v1.3.2.tar.gz
######################################################################## 100.0%
==> Downloading http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/URI-1.60.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/LWP-MediaTypes-6.02.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-1.03.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/C/CJ/CJM/IO-HTML-1.00.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-6.02.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-2.064.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.065.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/P/PM/PMQS/IO-Compress-2.064.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Message-6.06.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Negotiate-6.01.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/File-Listing-6.04.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-3.20.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.71.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-6.06.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Cookies-6.01.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-6.02.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-6.05.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/A/AB/ABH/Mozilla-CA-20130114.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/D/DO/DOY/Try-Tiny-0.19.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.58.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-1.969.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-6.04.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec -n
==> make install
==> Downloading http://www.cpan.org/authors/id/L/LE/LEONT/Test-Harness-3.30.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.38.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-PP-2.27203.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Simple-1.001002.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-0.012.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-1.4414.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-0.9908.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-2.125.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-2.140640.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.022.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.007.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.010.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/E/ET/ETHER/Module-Metadata-1.000019.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Perl-OSType-1.007.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils/ExtUtils-CBuilder-0.280216.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.24.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-0.4205.tar.gz
######################################################################## 100.0%
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> make install
==> Downloading http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.035.tar.gz
######################################################################## 100.0%
==> perl Build.PL
==> ./Build build
==> ./Build install --install_base=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> Downloading http://www.cpan.org/authors/id/M/MI/MIKEGRB/WebService-Linode-0.20.tar.gz
######################################################################## 100.0%
==> perl Build.PL
==> ./Build build
==> ./Build install --install_base=/usr/local/Cellar/linode-cli/1.3.2/libexec
==> perl Makefile.PL PREFIX=/usr/local/Cellar/linode-cli/1.3.2
==> make install
🍺  /usr/local/Cellar/linode-cli/1.3.2: 705 files, 9.8M, built in 85 seconds
# linode configure
This will walk you through setting default values for common options.

Linode Manager user name
>> <USER>

Linode Manager password for <USER>
>>

Unexpected error obtaining API key for user emyr: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.