Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue displaying Microsoft files (docx, xlsx...) stored on s3 buckets #228

Open
lasource18 opened this issue Feb 7, 2024 · 12 comments
Open

Comments

@lasource18
Copy link

Hi,

Has anyone encountered this error when accessing s3 urls via DocViewerRenderers and been able to solve it?

image

The scenario is, I am passing an s3 url xlsx file, once I render the document I get this error above. Here’s a snapshot of the component

image

I also tried to create custom renderers using Google and Microsoft viewers (see below) but I'm getting the same error

image

image

image

The bucket policy is set as public and it works fine for pdfs and text files

I'm using MinIO to store the files and the application is built with Laravel Sail + InertiaJS (React).

If you require any additional information please let me know.

Thanks!

@rabalasubramani3
Copy link

Facing the same issue

1 similar comment
@jiuli
Copy link

jiuli commented Feb 21, 2024

Facing the same issue

@nguyenphu123
Copy link

Facing similar issue, it shows docx or pptx files from cloudinary but when I switch to others services, It's not working.

@the-rich-piana
Copy link

Same here.

@Tsabary
Copy link

Tsabary commented Mar 17, 2024

No sure if his is related to s3 buckets, Im' having issues viewing docx locally

@Akash8614
Copy link

Is this issue resolved???... Not able to load doc, docx files

@asfolif
Copy link

asfolif commented Mar 25, 2024

Same problem here. Pls fix

@ron4eg1992
Copy link

There is also a problem with viewing jgp, pdf files gives a CORS error, but docs and xlsx display normally.How fix ??help pls

@iyash1
Copy link

iyash1 commented Aug 14, 2024

I'm using Pre-signed URLs from AWS S3 to get the documents. It was working before without any issues, but since 2 days I have problem with MSDocs(DOC, DOCX, PPT, PPTX). Surprisingly XLS and XLSX are working fine along with the TXT, PDF, PNG and JPG files. Was anyone able to resolve the issue or have a clue what is happening?

@nampdabbank
Copy link

same issue

@gautam0923
Copy link

Same Issue

@Akshay8122
Copy link

Akshay8122 commented Dec 12, 2024

Same for me,  weird things, XLSX and XLS are working in case of Pre-signed URLs, and DOC, DOCX, PPT, and PPTX are not working because this package claims only public URLs work in the above format. Then how are Pre-signed URLs working for XSLX and XLS and not for DOC and PPT?

if anyone resolve this issue then share reference here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests