Bug 1023777

Summary: [abrt] fedora-business-cards-1-0.3.beta1.fc20: proxyclient.py:362:send_request:AuthError: Unable to log into server. Invalid authentication tokens. Send new username and password
Product: [Fedora] Fedora Reporter: Neville A. Cross <yn1v>
Component: fedora-business-cardsAssignee: Ian Weller <ian>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: ian
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3c85969a5865dc95feae20c97644ba5593ff2d3c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 12:44:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Neville A. Cross 2013-10-27 19:16:07 UTC
Version-Release number of selected component:
fedora-business-cards-1-0.3.beta1.fc20

Additional info:
reporter:       libreport-2.1.8
cmdline:        /usr/bin/python /usr/bin/fedora-business-cards fedora -u yn1v
dso_list:       python-fedora-0.3.32.3-3.fc20.noarch
executable:     /usr/bin/fedora-business-cards
kernel:         3.11.4-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1001

Truncated backtrace:
proxyclient.py:362: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-business-cards", line 9, in <module>
    load_entry_point('fedora-business-cards==1.beta1', 'console_scripts', 'fedora-business-cards')()
  File "/usr/lib/python2.7/site-packages/fedora_business_cards/frontend/cmdline.py", line 137, in main
    gen.collect_information()
  File "/usr/lib/python2.7/site-packages/fedora_business_cards/generators/fedora.py", line 71, in collect_information
    userinfo = fas.person_by_username(username)
  File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 390, in person_by_username
    req_params = params)
  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 362, 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: 'yn1v'
retries: 0
cookies: <<class 'requests.cookies.RequestsCookieJar'>[]>
req_params: {'username': 'yn1v', 'login': 'Login', 'password': 'VillaFontana', 'user_name': 'yn1v'}
url: 'https://admin.fedoraproject.org/accounts/json/person_by_username'
session_id: None
self: <fas2.AccountSystem object at 0x1f356d0>
auth: None
method: 'json/person_by_username'
headers: {'Accept': 'application/json', 'User-agent': 'fedora-business-cards/0.3.32.3'}
num_tries: 0
complete_params: {'username': 'yn1v', 'login': 'Login', 'password': 'VillaFontana', 'user_name': 'yn1v'}
http_status: 403
auth_params: {'username': 'yn1v', 'password': 'VillaFontana'}
file_params: {}
password: 'VillaFontana'
data: None
response: <Response [403]>

Comment 1 Neville A. Cross 2013-10-27 19:16:10 UTC
Created attachment 816573 [details]
File: backtrace

Comment 2 Neville A. Cross 2013-10-27 19:16:13 UTC
Created attachment 816574 [details]
File: environ

Comment 3 Fedora End Of Life 2015-05-29 09:38:34 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is 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  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 4 Fedora End Of Life 2015-06-29 12:44:24 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.