You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found the problem when I deploy to the openshift (on premise) I got this error:
The process "PATH=$PATH:/usr/local/bin NODE_PATH=npm root -g node '/var/www/html/vendor/spatie/browsershot/src/../bin/browser.js' '{"url":"file:///tmp/52577805-0788178001630927001/index.html","action":"pdf","options":{"path":"/var/www/html/storage/pdf/20210906/bid_131.pdf","args":["--no-sandbox"],"viewport":{"width":800,"height":600},"displayHeaderFooter":false,"emulateMedia":"screen","format":"A4","margin":{"top":"10mm","right":"5mm","bottom":"5mm","left":"5mm"},"timeout":30000,"waitUntil":"networkidle0","printBackground":true}}'" exceeded the timeout of 30 seconds.
Then I try to allow all connection and It work then I think this problem from browsershot need to connection to 3rd party or some url for download some library
Could you help me which url that I have to allow to browershot
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've found the problem when I deploy to the openshift (on premise) I got this error:
The process "PATH=$PATH:/usr/local/bin NODE_PATH=
npm root -g
node '/var/www/html/vendor/spatie/browsershot/src/../bin/browser.js' '{"url":"file:///tmp/52577805-0788178001630927001/index.html","action":"pdf","options":{"path":"/var/www/html/storage/pdf/20210906/bid_131.pdf","args":["--no-sandbox"],"viewport":{"width":800,"height":600},"displayHeaderFooter":false,"emulateMedia":"screen","format":"A4","margin":{"top":"10mm","right":"5mm","bottom":"5mm","left":"5mm"},"timeout":30000,"waitUntil":"networkidle0","printBackground":true}}'" exceeded the timeout of 30 seconds.Then I try to allow all connection and It work then I think this problem from browsershot need to connection to 3rd party or some url for download some library
Could you help me which url that I have to allow to browershot
Beta Was this translation helpful? Give feedback.
All reactions