Bug 710054 - [abrt] fedora-cert-0.5.9.0-1.fc15: proxyclient.py:390:send_request:AuthError: Unable to log into server. Invalid authentication tokens. Send new username and password
Summary: [abrt] fedora-cert-0.5.9.0-1.fc15: proxyclient.py:390:send_request:AuthError:...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-packager
Version: 15
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:740a306c3185ae7bc20c39d0a2d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-02 11:11 UTC by Mads Kiilerich
Modified: 2013-01-10 06:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 16:07:19 UTC
Type: ---


Attachments (Terms of Use)

Description Mads Kiilerich 2011-06-02 11:11:22 UTC
abrt version: 2.0.1
architecture:   i686
cmdline:        
comment:        I provided a wrong password. fedora-cert should show me the error message, not a stack trace.
component:      fedora-packager
executable:     /usr/bin/fedora-cert
kernel:         2.6.38.6-27.fc15.i686.PAE
os_release:     Fedora release 15 (Lovelock)
package:        fedora-cert-0.5.9.0-1.fc15
reason:         proxyclient.py:390:send_request:AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
time:           Thu Jun  2 13:09:56 2011
uid:            500
username:       mk

backtrace:
:proxyclient.py:390:send_request:AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
:
:Traceback (most recent call last):
:  File "/usr/bin/fedora-cert", line 71, in <module>
:    main(opts)
:  File "/usr/bin/fedora-cert", line 46, in main
:    fedora_cert.create_user_cert(username)
:  File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line 96, in create_user_cert
:    cert = fas.user_gencert()
:  File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 561, in user_gencert
:    request = self.send_request('user/dogencert', auth=True)
:  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 344, in send_request
:    auth_params=auth_params, retries=retries)
:  File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py", line 390, in send_request
:    raise AuthError(b_('Unable to log into server.  Invalid'
:AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
:
:Local variables in innermost frame:
:username: 'kiilerix'
:retries: 0
:req_params: None
:i: ('_csrf_token', '390721d9b7fe7958e42f5b427e74afb565f97047')
:self: <fedora.client.fas2.AccountSystem object at 0xb73680cc>
:request: <pycurl.Curl object at 0x9962ff4>
:session_id: '928ff9e424af9761460cab2747e18e9b2a68a1b9'
:req_data: 'user_name=kiilerix&login=Login&password=maRch0&_csrf_token=390721d9b7fe7958e42f5b427e74afb565f97047'
:auth_params: {'username': 'kiilerix', 'password': 'maRch0', 'session_id': '928ff9e424af9761460cab2747e18e9b2a68a1b9'}
:headers: ['User-agent: Fedora Account System Client/0.3.23', 'Accept: application/json']
:token: <sha1 HASH object @ 0xb735d278>
:num_tries: 0
:complete_params: {'user_name': 'kiilerix', 'login': 'Login', 'password': 'maRch0', '_csrf_token': '390721d9b7fe7958e42f5b427e74afb565f97047'}
:http_status: 403
:url: 'https://admin.fedoraproject.org/accounts/user/dogencert'
:file_params: None
:method: 'user/dogencert'
:password: 'maRch0'
:data: None
:response: <fedora.client.proxyclient._PyCurlData object at 0xb73686ec>

Comment 1 Jaroslav Reznik 2011-08-03 14:15:42 UTC
Package: fedora-packager-0.5.9.2-1.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


Comment
-----
Bad password inserted. Should not throw exception and start Abrt.

Comment 2 Larry Brower 2011-08-18 03:53:39 UTC
Package: fedora-packager-0.5.9.2-1.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)

Comment
-----
[larry@mars ~]$ fedora-packager-setup 
Setting up Fedora packager environment
You need a client certificate from the Fedora Account System, lets get one now
FAS Username: lbrower
FAS Password: 
Traceback (most recent call last):
  File "/usr/bin/fedora-packager-setup", line 148, in <module>
    main()
  File "/usr/bin/fedora-packager-setup", line 112, in main
    fedora_cert.create_user_cert()
  File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line 96, in create_user_cert
    cert = fas.user_gencert()
  File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 563, in user_gencert
    request = self.send_request('user/dogencert', auth=True)
  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 344, in send_request
    auth_params=auth_params, retries=retries)
  File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py", line 390, in send_request
    raise AuthError(b_('Unable to log into server.  Invalid'
fedora.client.AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
[larry@mars ~]$

Comment 3 Alexander Kurtakov 2011-11-29 06:57:04 UTC
Package: fedora-cert-0.5.9.4-1.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
Run fedora-cert -n and enter the wrong password when asked for. 
The correct error is shown on the console but there is this crashed catched by abrt, the error
should be catched by fedora-cert itself.

Comment 4 Milan Kerslager 2011-12-14 09:33:01 UTC
Package: fedora-packager-0.5.9.4-1.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
I tryed to login with expired certificate. My password was expired also.

Comment 5 Fedora End Of Life 2012-08-07 16:07:22 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.