When I try to download a document I uploaded, it takes forever until it downloads a 0 Byte file with the correct filename.
If it is a picture, the spin bar turns forever and shows after a while following error:
It is hosted with Docker behind Nginx Proxy Manager with White Label License
hillel
July 24, 2023, 5:41pm
2
Hi,
What version do you see in the about dialog?
I tried Browser (Chrome), App gives no response at all
I just updated the Docker before I tried
Version: v5.6.21-C123
hillel
July 24, 2023, 5:54pm
4
@david do you have any suggestions?
david
July 24, 2023, 10:13pm
5
your http return status is 504, so looks like a gateway issue.
Any suggestions how to check or setup?
504 is gateway timeout, which matches my description
I checked the “laravel.log”
[2023-07-25 11:15:29] production.ERROR: file_get_contents(https://invoice.bamatics.de/storage/2HGmO*REPLACED*NhIdtlO/documents/xqyIXaOCCcZ1BuN3KO*REPLACED*6btXvIBNP9sy.pdf ): Failed to open stream: Operation timed out {“userId”:1,“exception”:"[object] (ErrorException(code: 0): file_get_contents(https://invoice.bamatics.de/storage/2HGmO*REPLACED*NhIdtlO/documents/xqyIXaOCCcZ1BuN3KO*REPLACED*6btXvIBNP9sy.pdf ): Failed to open stream: Operation timed out at /var/www/app/app/Http/Controllers/DocumentController.php:124)
[stacktrace]
#0 /var/www/app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /var/www/app/app/Http/Controllers/DocumentController.php(124): file_get_contents()
#3 /var/www/app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(145): App\Http\Controllers\DocumentController->App\Http\Controllers\{closure}()
#4 /var/www/app/vendor/symfony/http-foundation/StreamedResponse.php(97): Illuminate\Routing\ResponseFactory->Illuminate\Routing\{closure}()
#5 /var/www/app/vendor/symfony/http-foundation/Response.php(423): Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
#6 /var/www/app/public/index.php(61): Symfony\Component\HttpFoundation\Response->send()
#7 {main}
"}
Anyone any help? It’s pretty useless to upload without download…
hillel
July 27, 2023, 4:32am
10
@david do you have any ideas?
david
July 27, 2023, 6:05am
11
do you have the env variable
IS_DOCKER=true
It was not on in the env, I added it now but it is the same behavior
Can I somehow help to solve this issue?
sdggq
September 5, 2023, 9:56pm
13
sdggq
September 5, 2023, 10:02pm
14
Seems like it’s always true
Unfortunately, no
I stopped using InvoiceNinja, even I paid for the white label, as the effort I put into is to high and to risky for my business
1 Like