#5611 src.stg.fedoraproject.org is redirected to src.stg.fedoraprojet.org
Closed: Fixed 7 years ago Opened 7 years ago by cqi.

Steps to reproduce

[root@b286074d97b0 fedpkg]# fedpkg-stage -d -v sources                                                                                                                        
Creating repo object from /root/fedpkg
Downloading fedpkg-1.24.tar.bz2
Full url: https://src.stg.fedoraproject.org/repo/pkgs/fedpkg/fedpkg-1.24.tar.bz2/md5/1456415954b14187f1e2ae3ebae73dd1/fedpkg-1.24.tar.bz2
######################################################################## 100.0%
Remove downloaded invalid file ./fedpkg-1.24.tar.bz2
Could not execute sources: Server returned status code 302
Traceback (most recent call last):
  File "/usr/bin/fedpkg-stage", line 16, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 77, in main
    sys.exit(client.args.command())
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1311, in sources
    self.cmd.sources(outdir)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 1740, in sources
    hashtype=entry.hashtype, branch=self.branch_merge)
  File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 184, in download
    raise DownloadError('Server returned status code %d' % status)
pyrpkg.errors.DownloadError: Server returned status code 302
[root@b286074d97b0 fedpkg]# curl https://src.stg.fedoraproject.org/repo/pkgs/fedpkg/fedpkg-1.24.tar.bz2/md5/1456415954b14187f1e2ae3ebae73dd1/fedpkg-1.24.tar.bz2
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://src.stg.fedoraprojet.org/repo/pkgs/fedpkg/fedpkg-1.24.tar.bz2/md5/1456415954b14187f1e2ae3ebae73dd1/fedpkg-1.24.tar.bz2">here</a>.</p>
</body></html>

The typo in the url has been fixed, and so has the redirect, thanks for reporting.

@puiterwijk changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata