#96 fedpkg new-sources no longer working
Closed: Fixed 4 years ago Opened 5 years ago by fab.

fedpkg gives me an error (401) even if fedora-packager-setup run without negative feedback.

Could not execute new_sources: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested.  Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
</body></html>
$ rpm -q fedpkg 
fedpkg-1.26-3.fc24.noarch

Do you have a valid kerberos ticket? (you can see with 'klist -A')

If not, please do a 'kinit fab@FEDORAPROJECT.ORG' (case sensitive) and retry?

Seems that I missed that fedora-packager-setup is obsolete.

Anyway, from my point of the error message should reflect the real issue and not echo the HTTP response in this case.

@fab Thanks for your suggestion. I do agree fedpkg should give a more meaningful message instead.

As of version 1.28, fedpkg does not print raw HTML. So, I'll close this issue.

Metadata Update from @cqi:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata