Comments (3)
It just occured to me that pdf.min.js is never properly loaded and the GET request never receives an answer. Neither the nginx or the app container throw any error messages and the file in question has 777 permission granted by me. Manually executing the GET request is successful. Furthermore I found the following error:
I also do not know why the file is requested via HTTP. When I change the env to REQUIRE_HTTPS=true
, nothing works anymore.
In case it is needed, this is my Proxy Configuration:
<VirtualHost *:80>
ServerName placeholder.de
ProxyPreserveHost On
ProxyRequests Off
ServerAlias www.placeholder.de
Redirect permanent / https://placeholder.de
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName placeholder.de
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://localhost:8001/
ProxyPassReverse / http://localhost:8001/
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/placeholder.de/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/placeholder.de/privkey.pem
</VirtualHost>
</IfModule>
from dockerfiles.
Allowing unsafe content and removing the redirection onto HTTPS, I now do not receive any error messages anymore.
I also ask myself why the file is requested via HTTP, instead of HTTPS, when the env variable is set accordingly.
Now when I create an invoice, the preview is working fine. But when looking at the PDF later, it is just blank:
Same result when downloading and opening seperately
from dockerfiles.
I'm facing the same problem. pdf.min.js
is blocked because it is requested on http
instead of https
. I'm using the helm chart, with Caddy running reverse_proxy to it.
The PDF is created fine, and gets attached to the email just fine, but I can't view the PDF from within IN. I'm assuming the client portal has the same problem.
from dockerfiles.
Related Issues (20)
- not opening login page
- Unable to view / print / download PDF invoices in docker HOT 11
- [BUG] Docker selfhosted bug HOT 8
- Connection reset by peer error with docker install HOT 2
- Raspberry Pi DB Error HOT 4
- dockerhub page says port 80 is opened, but it's port 9000 fcgi that is opened HOT 10
- Docker in k8s, testing, slow initial page load (including page refresh) HOT 15
- Tax line item not displaying in Totals area of invoice HOT 2
- after upgrade empty white page HOT 2
- Blank screen after upgrade HOT 4
- Permissions Error with Lost+Found Directory HOT 2
- git clone not pulling latest version HOT 6
- Update helm image? HOT 2
- Container startup only works with bind mount; `cp: can't create directory '/var/www/app/storage/app': Permission denied` HOT 5
- Http links requested when visiting a https page HOT 1
- Helm Chart commonLabels vs podLabels
- Database Availability Race Condition during Intialisation
- <user experience> High complexity for a single person small business. HOT 5
- Logo does not load neither on the main page nor on invoices - Docker Version HOT 2
- Cannot log in after the update from 5.8.39 to 5.8.46 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.