Bug 1317854

Summary: [abrt] fedora-cert: proxyclient.py:466:send_request:AuthError: Unable to log into server. Invalid authentication tokens. Send new username and password
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: fedora-packagerAssignee: Dennis Gilmore <dennis>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, opensource, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/df89bff0fbb474ca97ee31972ca2cfa2ce8e420c
Whiteboard: abrt_hash:5580b302de49a1cf4442dea0a0482cf677a83b79;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-22 10:07:37 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 Vít Ondruch 2016-03-15 11:24:06 UTC
Description of problem:
I have entered invalid user/password

Version-Release number of selected component:
fedora-cert-0.5.10.7-1.fc25

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/fedora-cert -v
dso_list:       python-fedora-0.7.1-4.fc24.noarch
executable:     /usr/bin/fedora-cert
kernel:         4.4.0-1.fc24.x86_64
runlevel:       N 5
type:           Python
uid:            16025

Truncated backtrace:
proxyclient.py:466: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 74, in <module>
    main(opts)
  File "/usr/bin/fedora-cert", line 27, in main
    fedora_cert.create_user_cert(None)
  File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line 105, in create_user_cert
    cert = fas.user_gencert()
  File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 881, in user_gencert
    request = self.send_request('user/dogencert', auth=True)
  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 367, in send_request
    auth_params=auth_params, retries=retries, timeout=timeout)
  File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py", line 466, in send_request
    '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: 'user'
retries: 0
cookies: <RequestsCookieJar[]>
req_params: None
timeout: 120.0
url: 'https://admin.fedoraproject.org/accounts/user/dogencert'
session_id: None
self: <fedora.client.fas2.AccountSystem object at 0x7f9a1c6ff290>
auth: None
method: 'user/dogencert'
headers: {'Accept': 'application/json', 'User-agent': 'Fedora Account System Client/0.7.1'}
num_tries: 0
complete_params: {'login': 'Login', 'password': 'invalidpassword', 'user_name': 'user'}
http_status: 403
auth_params: {'username': 'user', 'password': 'invalidpassword'}
file_params: {}
password: 'invalidpassword'
data: None
response: <Response [403]>

Potential duplicate: bug 1303336

Comment 1 Vít Ondruch 2016-03-15 11:24:11 UTC
Created attachment 1136550 [details]
File: backtrace

Comment 2 Vít Ondruch 2016-03-15 11:24:13 UTC
Created attachment 1136552 [details]
File: environ

Comment 3 Till Maas 2016-05-22 10:07:37 UTC

*** This bug has been marked as a duplicate of bug 1126918 ***