Last active
December 23, 2016 16:38
-
-
Save ile/dc73beb124faf847b322ebb010181842 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myapp phantomjscloud get +322ms http://www.breitbart.com/big-government/2016/12/22/house-snowden-report-says-he-damaged-national-security/ | |
2016-12-23T16:32:04.811Z promise.logPromiseUnhandledRejections ERROR xlib.diagnostics.logging.logPromiseUnhandledRejections()=>unhandledRejection { | |
"[*TYPE*]": "Error", | |
name: "Error", | |
message: "operation timed out after 30086 ms, 2 tries with error: timeout of 15000ms exceeded", | |
stack: [ | |
"Error: operation timed out after 30086 ms, 2 tries with error: timeout of 15000ms exceeded", | |
" at /src/myapp/node_modules/xlib/src/internal/bluebird-retry.ts:137:40", | |
" at tryCatcher (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/util.js:16:23)", | |
" at /src/myapp/node_modules/xlib/node_modules/bluebird/js/release/catch_filter.js:24:41", | |
" at tryCatcher (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/util.js:16:23)", | |
" at Promise._settlePromiseFromHandler (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:510:31)", | |
" at Promise._settlePromise (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:567:18)", | |
" at Promise._settlePromise0 (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:612:10)", | |
" at Promise._settlePromises (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:687:18)", | |
" at Async._drainQueue (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/async.js:133:16)", | |
" at Async._drainQueues (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/async.js:143:10)", | |
" at Immediate.Async.drainQueues (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/async.js:17:14)", | |
" at runCallback (timers.js:637:20)", | |
" at tryOnImmediate (timers.js:610:5)", | |
" at processImmediate [as _immediateCallback] (timers.js:582:5)" | |
], | |
failure: { | |
"[*TYPE*]": "Error", | |
name: "Error", | |
message: "timeout of 15000ms exceeded", | |
stack: [ | |
"Error: timeout of 15000ms exceeded", | |
" at createError (/src/myapp/node_modules/axios/lib/core/createError.js:15:15)", | |
" at Timeout.handleRequestTimeout [as _onTimeout] (/src/myapp/node_modules/axios/lib/adapters/http.js:183:16)", | |
" at ontimeout (timers.js:365:14)", | |
" at tryOnTimeout (timers.js:237:5)", | |
" at Timer.listOnTimeout (timers.js:207:5)" | |
], | |
config: { | |
transformRequest: { | |
"0": { | |
"[*TYPE*]": "function", | |
signature: " transformRequest(data, headers)", | |
full: "function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }" | |
} | |
}, | |
transformResponse: { | |
"0": { | |
"[*TYPE*]": "function", | |
signature: " transformResponse(data)", | |
full: "function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n data = data.replace(PROTECTION_PREFIX, '');\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }" | |
} | |
}, | |
headers: { | |
Accept: "application/json, text/plain, */*", | |
"Content-Type": "application/json;charset=utf-8", | |
"User-Agent": "axios/0.14.0", | |
"Content-Length": 173 | |
}, | |
timeout: 15000, | |
xsrfCookieName: "XSRF-TOKEN", | |
xsrfHeaderName: "X-XSRF-TOKEN", | |
maxContentLength: -1, | |
validateStatus: { | |
"[*TYPE*]": "function", | |
signature: " validateStatus(status)", | |
full: "function validateStatus(status) {\n return status >= 200 && status < 300;\n }" | |
}, | |
method: "post", | |
url: "https://PhantomJsCloud.com/api/browser/v2/ak-45z5b-myc1k-p36m0-t8kfx-xeb97/", | |
data: "{\"pages\":[{\"url\":\"http://www.breitbart.com/big-government/2016/12/22/house-snowden-report-says-he-damaged-national-security/\",\"renderType\":\"plainText\",\"outputAsJson\":true}]}" | |
}, | |
code: "ECONNABORTED", | |
response: { | |
status: 520, | |
statusText: "Unknown Error: ECONNABORTED, timeout of 15000ms exceeded ", | |
config: { | |
transformRequest: { | |
"0": { | |
"[*TYPE*]": "function", | |
signature: " transformRequest(data, headers)", | |
full: "function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }" | |
} | |
}, | |
transformResponse: { | |
"0": { | |
"[*TYPE*]": "function", | |
signature: " transformResponse(data)", | |
full: "function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n data = data.replace(PROTECTION_PREFIX, '');\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }" | |
} | |
}, | |
headers: { | |
Accept: "application/json, text/plain, */*", | |
"Content-Type": "application/json;charset=utf-8", | |
"User-Agent": "axios/0.14.0", | |
"Content-Length": 173 | |
}, | |
timeout: 15000, | |
xsrfCookieName: "XSRF-TOKEN", | |
xsrfHeaderName: "X-XSRF-TOKEN", | |
maxContentLength: -1, | |
validateStatus: { | |
"[*TYPE*]": "function", | |
signature: " validateStatus(status)", | |
full: "function validateStatus(status) {\n return status >= 200 && status < 300;\n }" | |
}, | |
method: "post", | |
url: "https://PhantomJsCloud.com/api/browser/v2/ak-45z5b-myc1k-p36m0-t8kfx-xeb97/", | |
data: "{\"pages\":[{\"url\":\"http://www.breitbart.com/big-government/2016/12/22/house-snowden-report-says-he-damaged-national-security/\",\"renderType\":\"plainText\",\"outputAsJson\":true}]}" | |
}, | |
data: "[*UNDEFINED*]", | |
headers: {} | |
} | |
}, | |
code: "ETIMEDOUT" | |
} | |
/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/util.js:16 | |
return target.apply(this, arguments); | |
^ | |
Error: operation timed out after 30086 ms, 2 tries with error: timeout of 15000ms exceeded | |
at /src/myapp/node_modules/xlib/src/internal/bluebird-retry.ts:137:40 | |
at tryCatcher (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/util.js:16:23) | |
at /src/myapp/node_modules/xlib/node_modules/bluebird/js/release/catch_filter.js:24:41 | |
at tryCatcher (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/util.js:16:23) | |
at Promise._settlePromiseFromHandler (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:510:31) | |
at Promise._settlePromise (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:567:18) | |
at Promise._settlePromise0 (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:612:10) | |
at Promise._settlePromises (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/promise.js:687:18) | |
at Async._drainQueue (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/async.js:133:16) | |
at Async._drainQueues (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/async.js:143:10) | |
at Immediate.Async.drainQueues (/src/myapp/node_modules/xlib/node_modules/bluebird/js/release/async.js:17:14) | |
at runCallback (timers.js:637:20) | |
at tryOnImmediate (timers.js:610:5) | |
at processImmediate [as _immediateCallback] (timers.js:582:5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment