qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Please Read: Error in website redirection
@ 2024-12-08  0:17 Myles Wilson
  2024-12-09  6:42 ` Thomas Huth
  0 siblings, 1 reply; 4+ messages in thread
From: Myles Wilson @ 2024-12-08  0:17 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

Hello,
I was recently trying to download QEMU and noticed, on the landing page of https://www.qemu.org/, the button titled "Full list of releases"
redirects to https://download.qemu.org/ which results in a 403 forbidden error.
the same issue is present throughout the whole site with any button or hyperlink to see full releases (even the one found in https://www.qemu.org/download/ )

I hope to see these issues resolved soon!
thank you,
Myles "Mellurboo" Wilson




[-- Attachment #2: Type: text/html, Size: 2814 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Please Read: Error in website redirection
  2024-12-08  0:17 Please Read: Error in website redirection Myles Wilson
@ 2024-12-09  6:42 ` Thomas Huth
  2024-12-09 14:27   ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2024-12-09  6:42 UTC (permalink / raw)
  To: Myles Wilson, qemu-devel@nongnu.org, Paolo Bonzini,
	Stefan Hajnoczi

On 08/12/2024 01.17, Myles Wilson wrote:
> Hello,
> I was recently trying to download QEMU and noticed, on the landing page of 
> https://www.qemu.org/ <https://www.qemu.org/>,//the button titled "Full list 
> of releases"
> redirects to https://download.qemu.org/ <https://download.qemu.org/> which 
> results in a *403 forbidden* error.
> the same issue is present throughout the whole site with any button or 
> hyperlink to see full releases (even the one found in https://www.qemu.org/ 
> download/ <https://www.qemu.org/download/> )

It seems to be broken for "https://download.qemu.org" but if you manually 
add a slash at the end ("https://download.qemu.org/") it works at least for me.

Paolo, Stefan, looks like a server misconfiguration to me, is this something 
that could be fixed in the configs? Otherwise, I think we should update the 
links on the website to include a slash at the end...

  Thomas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Please Read: Error in website redirection
  2024-12-09  6:42 ` Thomas Huth
@ 2024-12-09 14:27   ` Stefan Hajnoczi
  2024-12-09 17:48     ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2024-12-09 14:27 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Myles Wilson, qemu-devel@nongnu.org, Stefan Hajnoczi, Thomas Huth

On Mon, 9 Dec 2024 at 01:42, Thomas Huth <thuth@redhat.com> wrote:
>
> On 08/12/2024 01.17, Myles Wilson wrote:
> > Hello,
> > I was recently trying to download QEMU and noticed, on the landing page of
> > https://www.qemu.org/ <https://www.qemu.org/>,//the button titled "Full list
> > of releases"
> > redirects to https://download.qemu.org/ <https://download.qemu.org/> which
> > results in a *403 forbidden* error.
> > the same issue is present throughout the whole site with any button or
> > hyperlink to see full releases (even the one found in https://www.qemu.org/
> > download/ <https://www.qemu.org/download/> )
>
> It seems to be broken for "https://download.qemu.org" but if you manually
> add a slash at the end ("https://download.qemu.org/") it works at least for me.
>
> Paolo, Stefan, looks like a server misconfiguration to me, is this something
> that could be fixed in the configs? Otherwise, I think we should update the
> links on the website to include a slash at the end...

This issue seems to be related to how the CDN server handles the HTTP
Referer header.

Paolo: Is there a GNOME GitLab project where we can raise an issue to
ask the CDN admins to help?

The 403 response occurs when I include the referrer:

$ curl 'https://download.qemu.org/' -H 'Referer: https://www.qemu.org/' -o -
<!DOCTYPE html>
<head>
    <base href="//error.c.cdn77.org/" target="_blank">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="author" content="(c) 2019 CDN77">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="nofollow" />
    <link rel="stylesheet" href="css/main.css">
    <link rel="shortcut icon" href="img/favicon.ico" />

    <title>Forbidden</title>
</head>
<body>
    <header class="Header">
        <div class="Header-wrap">
            <span class="Header-errorNumber">Error 403</span>
            <h1 class="Header-title">Forbidden</h1>
            <div class="Header-description">Sorry, you don't have
permission to access this resource.</div>
        </div>
    </header>
</body>

Now without the referrer:

$ curl 'https://download.qemu.org/' -o -
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<h1>Index of /</h1>
<hr>
<table id="list">
<thead><tr>
<th style="text-align: left; width:55%">Filename
                            </th>
<th style="text-align: left; width:20%">File Size
                            </th>
<th style="text-align: left; width:25%">Date</th>
</tr></thead>
<tbody>
...

Stefan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Please Read: Error in website redirection
  2024-12-09 14:27   ` Stefan Hajnoczi
@ 2024-12-09 17:48     ` Peter Maydell
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2024-12-09 17:48 UTC (permalink / raw)
  To: Stefan Hajnoczi
  Cc: Paolo Bonzini, Myles Wilson, qemu-devel@nongnu.org,
	Stefan Hajnoczi, Thomas Huth

On Mon, 9 Dec 2024 at 14:28, Stefan Hajnoczi <stefanha@gmail.com> wrote:
>
> On Mon, 9 Dec 2024 at 01:42, Thomas Huth <thuth@redhat.com> wrote:
> >
> > On 08/12/2024 01.17, Myles Wilson wrote:
> > > Hello,
> > > I was recently trying to download QEMU and noticed, on the landing page of
> > > https://www.qemu.org/ <https://www.qemu.org/>,//the button titled "Full list
> > > of releases"
> > > redirects to https://download.qemu.org/ <https://download.qemu.org/> which
> > > results in a *403 forbidden* error.
> > > the same issue is present throughout the whole site with any button or
> > > hyperlink to see full releases (even the one found in https://www.qemu.org/
> > > download/ <https://www.qemu.org/download/> )
> >
> > It seems to be broken for "https://download.qemu.org" but if you manually
> > add a slash at the end ("https://download.qemu.org/") it works at least for me.
> >
> > Paolo, Stefan, looks like a server misconfiguration to me, is this something
> > that could be fixed in the configs? Otherwise, I think we should update the
> > links on the website to include a slash at the end...
>
> This issue seems to be related to how the CDN server handles the HTTP
> Referer header.
>
> Paolo: Is there a GNOME GitLab project where we can raise an issue to
> ask the CDN admins to help?
>
> The 403 response occurs when I include the referrer:

The GNOME CDN sysadmins have now kindly fixed this for us.

thanks
-- PMM


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-09 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-08  0:17 Please Read: Error in website redirection Myles Wilson
2024-12-09  6:42 ` Thomas Huth
2024-12-09 14:27   ` Stefan Hajnoczi
2024-12-09 17:48     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).