Replies: 1 comment
-
We just pass a file to Laravel and let Laravel handle the download: https://github.com/SpartnerNL/Laravel-Excel/blob/3.1/src/Excel.php#L83 Have a look if you can reproduce it with Laravel as well. If so, you should report it as a bug over there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am stuck with a problem which seems to be very vague and still troubling in my case. I've searched this repo as well as stackoverflow and other resources to no avail. Maybe someone here might have an idea.
My setup:
PHP 7.3
Laravel/Lumen 6.0
GuzzleHTTP 6.3
Maatwebsite/Excel 3.1
mPDF 8.0
Everything was working fine until recently, when my hosting provider switched to 64-bit system architecture and http/2. Now my customers can't export anything with this library as they get the aforementioned HTTP 416 error. Here are the request headers:
Here are the response headers:
I have nothing to add, really, as I haven't touched this part of the code for a long time and it just stopped working. Mind the "content-length" and "content-range" discrepancy.
Interestingly on my local dev server with PHP 7.1.33 (MAMP) everything works fine! Here are the response headers on my dev server:
Any ideas what could cause the 416 issue and/or content-length vs content-range discrepancy?
Beta Was this translation helpful? Give feedback.
All reactions