You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if pdc-client could do queries without insisting on having an auth key.
Authentication is only really needed for updating PDC data.
Version
pdc-client-1.8.0-18.fc32
Steps to Reproduce:
$ pdc -s https://pdc.fedoraproject.org rpm list
Actual results:
Traceback (most recent call last):
File "/usr/bin/pdc", line 22, in
runner.run()
File "/usr/lib/python3.8/site-packages/pdc_client/runner.py", line 183, in run
self.client = pdc_client.PDCClientWithPage(self.args.server, page_size=self.args.page_size, ssl_verify=ssl_verify, page=self.args.page)
File "/usr/lib/python3.8/site-packages/pdc_client/init.py", line 407, in init
super(PDCClientWithPage, self).init(server, token, develop, ssl_verify, page_size)
File "/usr/lib/python3.8/site-packages/pdc_client/init.py", line 238, in init
token = self.obtain_token()
File "/usr/lib/python3.8/site-packages/pdc_client/init.py", line 256, in obtain_token
raise Exception('Could not obtain token from any known URL.')
Exception: Could not obtain token from any known URL.
Expected results:
Read some results without auth key.
The text was updated successfully, but these errors were encountered:
It would be nice if pdc-client could do queries without insisting on having an auth key.
Authentication is only really needed for updating PDC data.
Version
pdc-client-1.8.0-18.fc32
Steps to Reproduce:
$ pdc -s https://pdc.fedoraproject.org rpm list
Actual results:
Traceback (most recent call last):
File "/usr/bin/pdc", line 22, in
runner.run()
File "/usr/lib/python3.8/site-packages/pdc_client/runner.py", line 183, in run
self.client = pdc_client.PDCClientWithPage(self.args.server, page_size=self.args.page_size, ssl_verify=ssl_verify, page=self.args.page)
File "/usr/lib/python3.8/site-packages/pdc_client/init.py", line 407, in init
super(PDCClientWithPage, self).init(server, token, develop, ssl_verify, page_size)
File "/usr/lib/python3.8/site-packages/pdc_client/init.py", line 238, in init
token = self.obtain_token()
File "/usr/lib/python3.8/site-packages/pdc_client/init.py", line 256, in obtain_token
raise Exception('Could not obtain token from any known URL.')
Exception: Could not obtain token from any known URL.
Expected results:
Read some results without auth key.
The text was updated successfully, but these errors were encountered: