Skip to content

Unable to authenticate with simple login(?) #126

@cboettig

Description

@cboettig

The simple login throws an error I don't understand:

Garb::Session.login("myuser", "mypassword")
Garb::AuthenticationRequest::AuthError: Garb::AuthenticationRequest::AuthError
    from /var/lib/gems/1.9.1/gems/garb-0.9.1/lib/garb/authentication_request.rb:37:in `block in send_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1322:in `block (2 levels) in transport_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:2671:in `reading_body'
    from /usr/lib/ruby/1.9.1/net/http.rb:1321:in `block in transport_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1316:in `catch'
    from /usr/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1293:in `request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1286:in `block in request'
    from /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'
    from /usr/lib/ruby/1.9.1/net/http.rb:1284:in `request'
    from /var/lib/gems/1.9.1/gems/garb-0.9.1/lib/garb/authentication_request.rb:36:in `send_request'
    from /var/lib/gems/1.9.1/gems/garb-0.9.1/lib/garb/authentication_request.rb:49:in `auth_token'
    from /var/lib/gems/1.9.1/gems/garb-0.9.1/lib/garb/session.rb:10:in `login'
    from (irb):3
    from /usr/bin/irb:12:in `<main>'

any idea what I'm doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions