-
-
Save thormuller/86cc1010cf8776c70b7f to your computer and use it in GitHub Desktop.
This file contains 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
{"ok":true,"token":{"token":{"provider":"github","token":"05d65107520c055cc189f958d2f878e1ad54e064","app":"*","originalResponse":{"id":1598927,"url":"https://api.github.com/authorizations/1598927","app":{"name":"Nodejitsu Webhooks API (API)","url":"https://webhooks.nodejitsu.com"},"token":"05d65107520c055cc189f958d2f878e1ad54e064","note":"Nodejitsu Webhooks API","note_url":"https://webhooks.nodejitsu.com","created_at":"2013-02-13T06:30:13Z","updated_at":"2013-02-13T06:30:13Z","scopes":["repo"]},"generatedBy":"webhook-api"}}}Thors-MacBook-Air:~ thor$ | |
Thors-MacBook-Air:~ thor$ curl -u username https://webhooks.nodejitsu.com/1/status/username/changes?include_docs=auto | |
Enter host password for user 'username': | |
{"error":"mw:auth:unauthorized","reason":"You are not authorized to see username","status_code":401}Thors-MacBook-Air:~ thor$ curl -u username https://webhooks.nodejitsu.com/1/status/usernam/changes?include_docs=auto | |
Thors-MacBook-Air:~ thor$ curl -u thor https://webhooks.nodejitsu.com/1/status/thor/changes?include_docs=auto | |
Enter host password for user 'thor': | |
{"error":"mw:auth:unauthorized","reason":"You are not authorized to see thor","status_code":401}Thors-MacBook-Air:~ thor$ curl -u thor https://webhooks.nodejitsu.com/1/status/thor/changes?include_docs=auto | |
Enter host password for user 'thor': | |
{ | |
"id": "https://webhooks.nodejitsu.com/1/status/thor/changes/5438f2329b9140bf5424b1aa44000309", | |
"app_name": "original", | |
"uuid": "5n21hk1360742150869", | |
"status": "fail", | |
"provider": "github", | |
"commit": "OriginalCo/original/05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"doc": { | |
"_id": "5438f2329b9140bf5424b1aa44000309", | |
"_rev": "2-30fb6709ea1bea6a8271de5dd6654738", | |
"status": "fail", | |
"payload": { | |
"compare": "https://github.com/OriginalCo/original/compare/1ca0759e9c51...05c507d2f1d5", | |
"forced": false, | |
"after": "05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"deleted": false, | |
"created": false, | |
"ref": "refs/heads/dev", | |
"pusher": { | |
"email": "thor@thormuller.com", | |
"name": "thormuller" | |
}, | |
"ref_name": "dev", | |
"commits": [ | |
{ | |
"id": "05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"author": { | |
"email": "thor@thormuller.com", | |
"name": "Thor Muller", | |
"username": "thormuller" | |
}, | |
"removed": [], | |
"committer": { | |
"email": "thor@thormuller.com", | |
"name": "Thor Muller", | |
"username": "thormuller" | |
}, | |
"added": [], | |
"distinct": true, | |
"url": "https://github.com/OriginalCo/original/commit/05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"modified": [ | |
"api/app/controllers/uploads.js", | |
"api/config/config.js", | |
"app/app/modules/image_uploader/image_uploader.js", | |
"app/app/views/contribution/contribution.js", | |
"app/app/views/work/work.js" | |
], | |
"timestamp": "2013-02-12T23:53:47-08:00", | |
"message": "Added S3 Dev container configuration to node, and part of angular app" | |
} | |
], | |
"before": "1ca0759e9c51a8019756a0d2dcc5620982c0be4f", | |
"repository": { | |
"pushed_at": 1360742148, | |
"has_wiki": true, | |
"language": "JavaScript", | |
"stargazers": 1, | |
"watchers": 1, | |
"id": 7448876, | |
"private": true, | |
"open_issues": 0, | |
"organization": "OriginalCo", | |
"description": "The main api and web app", | |
"created_at": 1357341390, | |
"name": "original", | |
"has_downloads": true, | |
"master_branch": "dev", | |
"url": "https://github.com/OriginalCo/original", | |
"fork": false, | |
"has_issues": true, | |
"forks": 0, | |
"owner": { | |
"email": null, | |
"name": "OriginalCo" | |
}, | |
"size": 28004 | |
}, | |
"head_commit": { | |
"id": "05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"author": { | |
"email": "thor@thormuller.com", | |
"name": "Thor Muller", | |
"username": "thormuller" | |
}, | |
"removed": [], | |
"committer": { | |
"email": "thor@thormuller.com", | |
"name": "Thor Muller", | |
"username": "thormuller" | |
}, | |
"added": [], | |
"distinct": true, | |
"url": "https://github.com/OriginalCo/original/commit/05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"modified": [ | |
"api/app/controllers/uploads.js", | |
"api/config/config.js", | |
"app/app/modules/image_uploader/image_uploader.js", | |
"app/app/views/contribution/contribution.js", | |
"app/app/views/work/work.js" | |
], | |
"timestamp": "2013-02-12T23:53:47-08:00", | |
"message": "Added S3 Dev container configuration to node, and part of angular app" | |
} | |
}, | |
"uuid": "5n21hk1360742150869", | |
"non_fatal_errors": { | |
"nodejitsu": { | |
"name": "Error", | |
"reason": "Error Creating Nodejitsu App!", | |
"error": "deploy:nodejitsu:cant_create_app", | |
"nodejitsu": { | |
"err": { | |
"message": "App name / subdomain combination is not available", | |
"stack": "Error: App name / subdomain combination is not available\n at module.exports (/root/nodejitsu/lib/nodejitsu/resources/app/controller/available.js:25:17)\n at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:184:13)\n at Function.Resource.runAfterHooks (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:93:12)\n at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:179:14)\n at Couchdb.view (/root/nodejitsu/node_modules/resourceful/lib/resourceful/engines/couchdb/index.js:143:5)\n at Request.cradle.Connection.request [as _callback] (/root/nodejitsu/node_modules/resourceful/node_modules/cradle/lib/cradle.js:213:9)\n at Request.init.self.callback (/root/nodejitsu/node_modules/request/main.js:120:22)\n at Request.EventEmitter.emit (events.js:99:17)\n at Request.<anonymous> (/root/nodejitsu/node_modules/request/main.js:555:16)\n at Request.EventEmitter.emit (events.js:96:17)", | |
"appname": false, | |
"subdomain": false, | |
"checked": true, | |
"domain": false | |
}, | |
"status_code": 500 | |
}, | |
"description": "Request failed", | |
"stacktrace": [ | |
"Error: Request failed", | |
" at Request._callback (/root/nodejitsu-webhooks-api/lib/nodejitsu.js:72:31)", | |
" at Request.init.self.callback (/root/nodejitsu-webhooks-api/node_modules/request/main.js:122:22)", | |
" at Request.EventEmitter.emit (events.js:91:17)", | |
" at Request.<anonymous> (/root/nodejitsu-webhooks-api/node_modules/request/main.js:655:16)", | |
" at Request.EventEmitter.emit (events.js:115:20)", | |
" at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu-webhooks-api/node_modules/request/main.js:617:14)", | |
" at IncomingMessage.EventEmitter.emit (events.js:115:20)", | |
" at IncomingMessage._emitEnd (http.js:366:10)", | |
" at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)" | |
] | |
} | |
}, | |
"created_at": "Wed Feb 13 2013 07:55:50 GMT+0000 (UTC)", | |
"epoch": { | |
"created_at": 1360742150993, | |
"rendered_at": 1360742197556 | |
}, | |
"github": { | |
"branch": "master", | |
"owner": "OriginalCo", | |
"repo": "original", | |
"slug": "OriginalCo/original", | |
"commit": "05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"provider": "github", | |
"token": "05d65107520c055cc189f958d2f878e1ad54e064" | |
}, | |
"parsedPayload": { | |
"branch": "master", | |
"owner": "OriginalCo", | |
"repo": "original", | |
"slug": "OriginalCo/original", | |
"commit": "05c507d2f1d53ab7fe302730b3b3e9a03adcfcc8", | |
"provider": "github", | |
"token": "05d65107520c055cc189f958d2f878e1ad54e064" | |
}, | |
"couch": { | |
"ok": true, | |
"id": "5438f2329b9140bf5424b1aa44000309", | |
"rev": "1-eb5461b454fcd0dd4a5b5ecaee9a901b" | |
}, | |
".travis.yml.json": {}, | |
"package.json": { | |
"name": "original", | |
"subdomain": "originalco", | |
"domains": [ | |
"origin.al", | |
"staging.origin.al", | |
"demo.origin.al" | |
], | |
"scripts": { | |
"start": "api/server.js", | |
"test": "make test", | |
"postinstall": "scripts/appsetup.sh" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/OriginalCo/original" | |
}, | |
"version": "0.1.0-72", | |
"engines": { | |
"node": "0.8.x" | |
}, | |
"dependencies": { | |
"grapple": "latest", | |
"express": "3.0.x", | |
"express-namespace": "0.1.x", | |
"mongoose": "3.4.x", | |
"passport": "latest", | |
"jade": "latest", | |
"connect-mongodb": "latest", | |
"passport-local": "latest", | |
"passport-facebook": "latest", | |
"passport-twitter": "latest", | |
"passport-github": "latest", | |
"passport-google-oauth": "latest", | |
"passport-linkedin": "latest", | |
"gm": "latest", | |
"fs": "latest", | |
"underscore": "latest", | |
"async": "latest", | |
"nodemon": "latest", | |
"each": "latest", | |
"nodemailer": "latest", | |
"email-templates": "latest", | |
"knox": "latest", | |
"exceptional-node": "latest" | |
}, | |
"devDependencies": { | |
"mocha": "latest", | |
"should": "latest", | |
"supertest": "latest" | |
} | |
}, | |
"app_name": "original", | |
"rendered_at": "Wed Feb 13 2013 07:56:37 GMT+0000 (UTC)", | |
"status_code": 500, | |
"err": { | |
"name": "Error", | |
"versions": { | |
"env": "production", | |
"node": { | |
"http_parser": "1.0", | |
"node": "0.8.6", | |
"v8": "3.11.10.17", | |
"ares": "1.7.5-DEV", | |
"uv": "0.8", | |
"zlib": "1.2.3", | |
"openssl": "1.0.0f" | |
}, | |
"api": "1.4.8" | |
}, | |
"uuid": "5n21hk1360742150869", | |
"reason": "Error starting app in nodejitsu", | |
"error": "deploy:nodejitsu:start_app", | |
"status_code": 500, | |
"nodejitsu": { | |
"err": { | |
"error": "Error building snapshot" | |
}, | |
"status_code": 500 | |
}, | |
"description": "Unspecified error", | |
"stacktrace": [ | |
"Error: Error building snapshot", | |
" at Object.nodejitsu.deploy (/root/nodejitsu-webhooks-api/lib/nodejitsu.js:150:29)", | |
" at Request.deploy.deploy.errs.create.reason (/root/nodejitsu-webhooks-api/models/deploy.js:582:29)", | |
" at Request.EventEmitter.emit (events.js:115:20)", | |
" at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu-webhooks-api/node_modules/request/main.js:617:14)", | |
" at IncomingMessage.EventEmitter.emit (events.js:115:20)", | |
" at IncomingMessage._emitEnd (http.js:366:10)", | |
" at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)", | |
" at CleartextStream.socketOnData [as ondata] (http.js:1366:20)", | |
" at CleartextStream.CryptoStream._push (tls.js:485:27)" | |
] | |
}, | |
"etc": { | |
"user": "thor", | |
"http_headers": { | |
"host": "webhooks.nodejitsu.com", | |
"accept": "*/*", | |
"connection": "close", | |
"content-type": "application/x-www-form-urlencoded", | |
"user-agent": "GitHub Hookshot 6a7f5ae", | |
"content-length": "3196", | |
"x-forwarded-for": "54.235.118.251", | |
"x-forwarded-port": "11760", | |
"x-forwarded-proto": "https" | |
}, | |
"uuid": "5n21hk1360742150869", | |
"email": "thor@origin.al" | |
} | |
}, | |
"path": "/1/status/thor/changes/5438f2329b9140bf5424b1aa44000309" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment