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

new file_get_contents method means pdfs protected by basic auth can't have generated images #21

Open
richardfrankza opened this issue Apr 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@richardfrankza
Copy link

Getting this error when uploading a PDF. My test site is under basic auth password protection

Please allow for both path based and URL based options?

2023-04-12 11:55:52 [web.ERROR] [yii\base\ErrorException:2] file_get_contents(https://exampleredacted.com/uploads/files/Invoice_1264_2023-04-14-1.pdf): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorize
@bymayo bymayo added the bug Something isn't working label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants