Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- START RequestId: 80a5706e-5024-11e7-8fbc-67d784966466 Version: $LATEST
- 2017-06-13T10:38:58.850Z 80a5706e-5024-11e7-8fbc-67d784966466 eventData { url: 'https://www.randomUrl.com' }
- 2017-06-13T10:38:58.853Z 80a5706e-5024-11e7-8fbc-67d784966466 CHROME_PATH /var/task/headless-chrome/headless_shell
- 2017-06-13T10:38:58.859Z 80a5706e-5024-11e7-8fbc-67d784966466
- $ ls /tmp
- total 8.0K
- drwxr-xr-x 21 root root 4.0K Jun 13 02:49 ..
- drwx------ 2 sbx_user1072 474 4.0K Jun 13 10:38 .
- 2017-06-13T10:38:58.862Z 80a5706e-5024-11e7-8fbc-67d784966466
- $ ps lx
- F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
- 4 475 1 0 20 0 999092 45276 ep_pol Ssl ? 0:00 /var/lang/bin/node --max-old-space-size=1228 --max-semi-space-size=77 --max-executable-size=154 --expose-gc /var/runtime/node_modules/awslambda/index.js
- 0 475 13 1 20 0 115084 1668 - R ? 0:00 ps lx
- 2017-06-13T10:38:58.873Z 80a5706e-5024-11e7-8fbc-67d784966466 no running chrome yet?
- 2017-06-13T10:38:58.879Z 80a5706e-5024-11e7-8fbc-67d784966466 Is Chrome already running? false
- 2017-06-13T10:38:58.882Z 80a5706e-5024-11e7-8fbc-67d784966466 instance ChildProcess {
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined,
- _closesNeeded: 1,
- _closesGot: 0,
- connected: false,
- signalCode: null,
- exitCode: null,
- killed: false,
- spawnfile: '/bin/sh',
- _handle: Process { owner: [Circular], onexit: [Function], pid: 14 },
- spawnargs:
- [ '/bin/sh',
- '-c',
- '/var/task/headless-chrome/headless_shell --headless --disable-gpu --window-size=1280x1696 --no-sandbox --user-data-dir=/tmp/user-data --hide-scrollbars --enable-logging --log-level=0 --v=99 --single-process --data-path=/tmp/data-path --ignore-certificate-errors --homedir=/tmp --disk-cache-dir=/tmp/cache-dir --remote-debugging-port=9222' ],
- pid: 14,
- stdin: null,
- stdout: null,
- stderr: null,
- stdio: [ null, null, null ] }
- 2017-06-13T10:38:58.885Z 80a5706e-5024-11e7-8fbc-67d784966466 I am waiting for chrome to spawn
- 2017-06-13T10:40:01.113Z 80a5706e-5024-11e7-8fbc-67d784966466 Catched a err { RequestError: connect ECONNREFUSED 127.0.0.1:9222
- at ClientRequest.req.once.err (/var/task/handler.js:5857:22)
- at ClientRequest.g (events.js:291:16)
- at emitOne (events.js:96:13)
- at ClientRequest.emit (events.js:188:7)
- at Socket.socketErrorListener (_http_client.js:309:9)
- at emitOne (events.js:96:13)
- at Socket.emit (events.js:188:7)
- at emitErrorNT (net.js:1281:8)
- at _combinedTickCallback (internal/process/next_tick.js:80:11)
- at process._tickDomainCallback (internal/process/next_tick.js:128:9)
- code: 'ECONNREFUSED',
- message: 'connect ECONNREFUSED 127.0.0.1:9222',
- host: '127.0.0.1:9222',
- hostname: '127.0.0.1',
- method: 'GET',
- path: '/json' }
- 2017-06-13T10:40:01.115Z 80a5706e-5024-11e7-8fbc-67d784966466 I am waiting for chrome to spawn
- 2017-06-13T10:40:01.115Z 80a5706e-5024-11e7-8fbc-67d784966466 if statement in waitUntilProcessIsReady is false.
- END RequestId: 80a5706e-5024-11e7-8fbc-67d784966466
- REPORT RequestId: 80a5706e-5024-11e7-8fbc-67d784966466 Duration: 62267.33 ms Billed Duration: 62300 ms Memory Size: 1536 MB Max Memory Used: 40 MB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement