Hi,
Has anyone done any testing using the new 'Add PDF Document' in V7.0.1 on the iPhone/Desktop with remote files.
I'm trying to load a .pdf file from an S3 bucket but I get an error message "Load Failed" on the iPhone and "Failed to Fetch" on the desktop!
This is the URL of the pdf https://p2vr.s3.ap-southeast-2.amazonaw ... Manual.pdf. It works fine on both iPhone and Desktop if I use the URL in the browser but not in the project.
Tony
Loading remote PDF files in new PDF element
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Tony,
It must be something to do with your S3 bucket as it works if I put your PDF on the support server.
I won't keep it there long but here is the link:
Give it a test so you see it working and then let me know so I can remove it.
Regards,
It must be something to do with your S3 bucket as it works if I put your PDF on the support server.
I won't keep it there long but here is the link:
Code: Select all
https://support.ggno.me/PWR-1830_Twin_Wasp_Maintenance_Manual.pdf
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Martin,
Update: I uploaded the .pdf file to Wix and it worked so definitely some configuration issues with AWS and Squarespace.
I've tried the link from your server and its fine however the AWS bucket version isn't working.
I tried uploading a smaller pdf to a static website I'm serving off AWS but that didn't work either as well as uploading to Squarespace. Here's a couple of links if you wouldn't mind trying.
AWS: https://expedition.photography/PDF/tony_redhead.pdf
Squarespace: https://tonyredhead.com/s/tony_redhead.pdf
I'll do a bit more investigating today.
cheers,
Tony
Update: I uploaded the .pdf file to Wix and it worked so definitely some configuration issues with AWS and Squarespace.
I've tried the link from your server and its fine however the AWS bucket version isn't working.
I tried uploading a smaller pdf to a static website I'm serving off AWS but that didn't work either as well as uploading to Squarespace. Here's a couple of links if you wouldn't mind trying.
AWS: https://expedition.photography/PDF/tony_redhead.pdf
Squarespace: https://tonyredhead.com/s/tony_redhead.pdf
I'll do a bit more investigating today.
cheers,
Tony
- Attachments
-
- tony_redhead.pdf
- (1.73 MiB) Downloaded 85 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Tony,
It's a CORS problem.
You need to allow resource sharing.
For the support server we have a .htaccess file with:
Regards,
It's a CORS problem.
Code: Select all
Cross-origin redirection to https://static1.squarespace.com/static/4f3b434c8754e3c85b69cfb7/t/63c3145780a74c62c6c4be24/1673729118677/tony_redhead.pdf denied by Cross-Origin Resource Sharing policy: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. Status code: 302
For the support server we have a .htaccess file with:
Code: Select all
Header set Access-Control-Allow-Origin "*"
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/