ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

403 forbidden link as "Learn more about MAAS"

Open nobuto-m opened this issue 2 years ago • 4 comments

There is a link to an external website as: https://technology.amis.nl/platform/kubernetes/charmed-kubernetes-on-kvm-using-maas-and-juju/

https://github.com/canonical/ubuntu.com/blob/14cd524a864d1375510b33e2a14b6b09340110d7/templates/kubernetes/charmed-k8s.html#L198

The site somehow returns 403 Forbidden when it's accessed from Firefox on Ubuntu (curl, wget, and Chromium are just fine). I understand that's not an issue of ubuntu.com itself but it would be good to be replaced with something in the site itself.


Reported from: https://ubuntu.com/kubernetes/charmed-k8s

nobuto-m avatar Mar 03 '23 04:03 nobuto-m

[with UA of Firefox on Windows]

curl -sv -o/dev/null \
    -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:110.0) Gecko/20100101 Firefox/110.0' \
    https://technology.amis.nl/

...

> GET / HTTP/1.1
> Host: technology.amis.nl
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:110.0) Gecko/20100101 Firefox/110.0
> Accept: */*
> 
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Fri, 03 Mar 2023 05:00:10 GMT
< Server: Apache/2
< Last-Modified: Thu, 02 Mar 2023 17:08:31 GMT
< ETag: "82ac0-5f5ede0d8264d"
< Accept-Ranges: bytes
< Content-Length: 535232
< Vary: Accept-Encoding,User-Agent
< Referrer-Policy: 
< Content-Type: text/html; charset=UTF-8

[with UA of Firefox on Ubuntu]

curl -sv -o/dev/null \
    -A 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0' \
    https://technology.amis.nl/

...

> GET / HTTP/1.1
> Host: technology.amis.nl
> User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
> Accept: */*
> 
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< Date: Fri, 03 Mar 2023 05:01:58 GMT
< Server: Apache/2
< Content-Length: 199
< Content-Type: text/html; charset=iso-8859-1

nobuto-m avatar Mar 03 '23 05:03 nobuto-m

@nobuto-m do you still see a 403?

tbille avatar Mar 22 '23 14:03 tbille

@nobuto-m do you still see a 403?

Yes, with a real browser. You can also confirm it with the curl commands above.

nobuto-m avatar Mar 22 '23 14:03 nobuto-m

oh I see. Weird. Will ask around to see with what link it can be replaced. Thanks for reporting :)

tbille avatar Mar 22 '23 14:03 tbille

Thanks for reporting @nobuto-m, I've reached out to the PM to see if we could replace it with an internal link. Will keep you posted.

britneywwc avatar Feb 04 '25 09:02 britneywwc

This should be fixed now, I have replaced the link with an internal link. I will be closing this issue, feel free to reopen if the issue persists. Thanks!

britneywwc avatar Feb 06 '25 10:02 britneywwc