Comments (5)
Hello,
I don't have any idea, this might be a network issue:
- could you try with the
-s
option in webscreenshot in order to force ssl - could you try the following command line (adding --debug=true) and paste the result here:
$ phantomjs --debug=true --ignore-ssl-errors true --ssl-protocol any "/home/osintscreenshot/webscreenshot/original/webscreenshot.js" url_capture="http://google.com:80" output_file="
/home/osintscreenshot/webscreenshot/original/screenshots/http_google.com_80.png"
Thanks.
from webscreenshot.
Thanks for the response,
Here is the output:
root@Dark-Web-OSINT:/home/osintscreenshot/webscreenshot# phantomjs --debug=true -s --debug=true "/home/osintscreenshot/webscreenshot/original/webscreenshot.js" url_capture="http://google.
com:80" output_file=/home/osintscreenshot/webscreenshot/original/screenshots/http_google.com_80.png
QXcbConnection: Could not connect to display
PhantomJS has crashed. Please read the bug reporting guide at
http://phantomjs.org/bug-reporting.html and file a bug report.
Aborted (core dumped)
Does this mean it needs an X server or x11 forwarded?
(Currently running on Ubuntu server 16.04)
from webscreenshot.
Indeed it seems to be a trouble related to phantomjs: which version du you use ?
Try with different versions:
- the latest version : http://phantomjs.org/download.html
- the version 1.9.7 from the installation wiki https://github.com/maaaaz/webscreenshot/wiki/Phantomjs-installation
If it still does not work, try to look for your error on issues of the phantomjs github repo.
Cheers.
from webscreenshot.
I might be here a bit late, but I was running into the same problem.
It does need an X server, and it worked without one by setting the variable DISPLAY with export DISPLAY=":0"
.
from webscreenshot.
Indeed, and from few versions there's a specific option to solve this: https://github.com/maaaaz/webscreenshot/wiki/FAQ#headless-os
from webscreenshot.
Related Issues (20)
- Screenshot not being saved HOT 4
- Webscreenshot.py making a weird screenshot (used within different python script) HOT 5
- Obtain output file name
- Shell command PID XXXXX returned an abnormal error code: '-11' HOT 4
- [ERROR][https://www.gpw.pl:443/session-details] Shell command PID 5346 returned an abnormal error code: '1' HOT 4
- custom filename with timestamp suffix HOT 3
- Domain does not gets formatted automatically due to which command fails HOT 2
- This platform lacks of sem_open HOT 2
- renderer binary could not have been found in your current PATH environment variable, exiting HOT 1
- very long url, (have fix) HOT 1
- No X server has been found and the xvfb-run binary could not be found, please install xvfb on your system HOT 1
- Not working Truceback HOT 2
- phantomjs error HOT 1
- Can't Screenshot NASA-Website HOT 1
- I've not found any way to resume the screenshots process.
- Redirect
- renderer binary could not have been found in your current PATH environment variable, exiting HOT 1
- No X server has been found and the xvfb-run binary could not be found, please install xvfb on your system HOT 1
- i cant take screenshot HOT 2
- openSquat HOT 1
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 webscreenshot.