spookystuff
spookystuff copied to clipboard
spokystuff in lambda context
I state that I started from your version 0.3.2 which seemed to me the most stable as far as the acquisition is concerned but in view of the new SQL like DSL it would be preferable to synchronize to your last release. To isolate the error I directly launch the program from java from the lamdda. The problem actually occurs at the time of phantomjs orchestration while the executable is included in the aws lambda deployment package. Some idea?
Other question: How can I update the destination path of the log files /var/task/phantomjsdriver.log.
this is the exception
9/06/11 09:30:08 WARN Utils$: Retrying... 2 times left
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 13:11:40'
System info: host: '9421a5d392ee', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.13.0-46-generic', java.version: '1.8.0_201'
Driver info: driver.version: PhantomJSDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.
phantomjs://platform/fs.js:79 in open phantomjs://platform/logger.js:95 in addLogFile phantomjs://platform/config.js:76 in apply phantomjs://platform/config.js:98 in init
i'm adding this in this moment: PhantomJSDriverService service = new PhantomJSDriverService.Builder() .usingPort(8080) .usingPhantomJSExecutable(new File("/tmp/phantomjs")) .withLogFile(new File("/tmp/phantomjs.log")) .build(); Now i see
would seem to work. Now I check on real lambda environment
yes, resolved, I keep writing if anything else emerges
other problem relative to autosave function Caused by: java.io.IOException: Mkdirs failed to create temp/autosave/Wget('https/www.euroffice.it/search/term/stampanti'/MustHaveTitle)--1457
I'm investigating this, at this moment I don't have a stable EC2 access so I'll attempt to migrate some of my integration tests to yarn.