sethfischer / rover

Quarter-scale Mars rover based on the NASA Mars 2020 Perseverance Rover.
https://rover.fischer.nz
MIT License
6 stars 0 forks source link

NASA embed 3D model is not displayed #89

Open sethfischer opened 9 months ago

sethfischer commented 9 months ago

The NASA embed 3D model is no longer displayed in the documentation on https://rover.fischer.nz/en/latest/inspiration.html

Instead the following message is displayed.

Firefox Can’t Open This Page

To protect your security, mars.nasa.gov will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.

A similar message is displayed in Google Chrome.

sethfischer commented 9 months ago

Response headers from the iframe src.

$ curl -I https://mars.nasa.gov/layout/embed/model/?s=6
HTTP/2 200 
content-type: text/html;charset=UTF-8
content-length: 4892
date: Thu, 15 Feb 2024 20:52:22 GMT
server: nginx
access-control-allow-origin: *
access-control-allow-methods: POST, GET, OPTIONS, DELETE, PUT
access-control-max-age: 1000
access-control-allow-headers: x-requested-with, Content-Type, origin, authorization, accept, client-security-token
x-frame-options: ALLOWALL
content-security-policy: frame-ancestors 'self' https://*.nasa.gov https://nasa.gov;
strict-transport-security: max-age=31536000; includeSubDomains; preload;
vary: Accept-Encoding
x-cache: Miss from cloudfront
via: 1.1 fae55690a44dbb1f02e9b961e2f4a54c.cloudfront.net (CloudFront)
x-amz-cf-pop: LAX50-P4
x-amz-cf-id: qrYjd709on43nIVs9JKCgDkhYYSsfmecQPoyUwHadpbLx3K00DBd5A==