Last active
April 10, 2019 00:19
-
-
Save 1010sachin/9de09c9e31e9000f027faca4b8396e57 to your computer and use it in GitHub Desktop.
triton info error
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
triton -v info | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4488,"level":10,"config":{"cacheDir":"cache","profile":"jpc_manta_monitor","oldProfile":"us-sw-1","_user":{"profile":"jpc_manta_monitor","oldProfile":"us-sw-1"},"_defaults":{"cacheDir":"cache"},"_configDir":"/Users/sachingupta/.triton"},"msg":"loaded config","time":"2019-04-10T00:13:09.887Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cli.js","line":271,"func":"getConfig"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4488,"level":10,"profile":{"url":"https://us-sw-1.api.joyent.com","account":"manta_monitor","keyId":"ea:6e:21:00:f8:89:b6:75:6b:f0:3b:90:67:26:94:5b","name":"jpc_manta_monitor"},"msg":"loaded profile","time":"2019-04-10T00:13:09.889Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cli.js","line":308,"func":"getProfile"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4488,"level":10,"cacheDir":"/Users/sachingupta/.trit{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"config":{"cacheDir":"cache","profile":"jpc_manta_monitor","oldProfile":"us-sw-1","_user":{"profile":"jpc_manta_monitor","oldProfile":"us-sw-1"},"_defaults":{"cacheDir":"cache"},"_configDir":"/Users/sachingupta/.triton"},"msg":"loaded config","time":"2019-04-10T00:14:52.344Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cli.js","line":271,"func":"getConfig"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"profile":{"url":"https://us-sw-1.api.joyent.com","account":"manta_monitor","keyId":"ea:6e:21:00:f8:89:b6:75:6b:f0:3b:90:67:26:94:5b","name":"jpc_manta_monitor"},"msg":"loaded profile","time":"2019-04-10T00:14:52.347Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cli.js","line":308,"func":"getProfile"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"cacheDir":"/Users/sachingupta/.triton/cache/manta_monitor@us-sw-1_api_joyent_com","msg":"cache dir","time":"2019-04-10T00:14:52.347Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/tritonapi.js","line":349,"func":"TritonApi"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"msg":"created tritonapi","time":"2019-04-10T00:14:52.347Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cli.js","line":320,"func":"getTritonapi"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"client_req":{"method":"GET","url":"/manta_monitor","address":"us-sw-1.api.joyent.com","port":null,"headers":{"date":"Wed, 10 Apr 2019 00:14:52 GMT","authorization":"Signature keyId=\"/manta_monitor/keys/ea:6e:21:00:f8:89:b6:75:6b:f0:3b:90:67:26:94:5b\",algorithm=\"rsa-sha256\",headers=\"(request-target) date\",signature=\"IZtFK78dh6Ax8jtrH2LraoMXSc01YEmVQB9ZQxdPMqb1w0zzgEK1OV3cRIhkkxP7qHtFWGmbzKlNxNGRyjROmIMSNVdIBTDMvwRINuIqoVMr/cfvLdSiIAr17eyPf5kqKR0dgrISoRPIDJmiVTVrIKW1YDEghEQq1jF7Tjpl3QyvvFIl778Vz76aYqhmix6gP1OE5R9xg1uigtLe74s10wdtToz7Ca7E/5brbubywqBLXOQG2z6Ow1VAdRKV3SKp6jvF0iP4MNPzLFfUTxCFgS9fX21iNecqyha1Zv05Qp087Pbl18B8EJJC5Iqnzeiv9u3Vbvs70avzZhwGIu/LNw==\"","accept":"application/json","user-agent":"triton/5.8.0 (x64-darwin; node/8.11.0)","accept-version":"~8||~7"}},"msg":"request sent","time":"2019-04-10T00:14:52.409Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/node_modules/restify-clients/lib/HttpClient.js","line":314,"func":"rawRequest"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"client_req":{"method":"GET","url":"/manta_monitor/machines?limit=1000&offset=0","address":"us-sw-1.api.joyent.com","port":null,"headers":{"date":"Wed, 10 Apr 2019 00:14:52 GMT","authorization":"Signature keyId=\"/manta_monitor/keys/ea:6e:21:00:f8:89:b6:75:6b:f0:3b:90:67:26:94:5b\",algorithm=\"rsa-sha256\",headers=\"(request-target) date\",signature=\"IXiPULer3d8ftzo+96wGbqHP+Z0gpXx23g/CA8EDxVlBr3Iv0yVg07V3GjUr1XiJEB6zeMnj93HBGh38rc6N0qPc5Xyo4JuPmTM10j7K5WSjmbRZxXTymlkwuOXSgGf372p5iT9+vaUolOXrKBg6SkZU36avtNmMrbP2VTCKJS1s4cbXIlM5L05WpMC4hcdHUF5eNC896wm+Gss1cqdrInZi1/wd76anWSkbP6dtEbSOeM0NYg7kOpjgSn8BnabbV7Onutjzp5pDS8yBskiHMiUCk4/UcCvHlTfSrUXhtXiySnwjbPLnNwhUc9R8y1U1crjjNOWec1r1Bhp5tAOiwg==\"","accept":"application/json","user-agent":"triton/5.8.0 (x64-darwin; node/8.11.0)","accept-version":"~8||~7"}},"msg":"request sent","time":"2019-04-10T00:14:52.416Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/node_modules/restify-clients/lib/HttpClient.js","line":314,"func":"rawRequest"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"client_res":{"statusCode":401,"headers":{"content-type":"application/json","content-length":"84","connection":"keep-alive","access-control-allow-origin":"*","access-control-allow-headers":"Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version, Response-Time","access-control-allow-methods":"POST, GET, HEAD","access-control-expose-headers":"Api-Version, Request-Id, Response-Time","content-md5":"dKlINZmM+7OncUOje0mNxQ==","date":"Wed, 10 Apr 2019 00:14:52 GMT","server":"cloudapi/9.4.3","api-version":"9.0.0","request-id":"821dbe5b-e03a-47c2-b3c3-05aa6a3950d2","response-time":"157","x-request-received":1554855292415,"x-request-processing-time":460}},"msg":"Response received","time":"2019-04-10T00:14:52.875Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/node_modules/restify-clients/lib/HttpClient.js","line":210,"func":"onResponse"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"body":"{\"code\":\"InvalidCredentials\",\"message\":\"Invalid authorization credentials supplied\"}","len":84,"msg":"body received","time":"2019-04-10T00:14:52.879Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/SaferJsonClient.js","line":112,"func":"finish"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"err":{"message":"Invalid authorization credentials supplied","name":"InvalidCredentialsError","stack":"InvalidCredentialsError: Invalid authorization credentials supplied\n at IncomingMessage.finish (/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/SaferJsonClient.js:167:30)\n at Object.onceWrapper (events.js:313:30)\n at emitNone (events.js:111:20)\n at IncomingMessage.emit (events.js:208:7)\n at endReadableNT (_stream_readable.js:1064:12)\n at _combinedTickCallback (internal/process/next_tick.js:138:11)\n at process._tickCallback (internal/process/next_tick.js:180:9)"},"subcmd":"info","msg":"cli fini","time":"2019-04-10T00:14:52.881Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cli.js","line":349,"func":"fini"},"v":0} | |
{"name":"triton","hostname":"joyentmac12331.local","pid":4489,"level":10,"host":"us-sw-1.api.joyent.com","msg":"close cloudapi http client","time":"2019-04-10T00:14:52.881Z","src":{"file":"/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/cloudapi2.js","line":159,"func":"close"},"v":0} | |
triton info: error (InvalidCredentials): InvalidCredentialsError: Invalid authorization credentials supplied | |
at IncomingMessage.finish (/Users/sachingupta/.nvm/versions/node/v8.11.0/lib/node_modules/triton/lib/SaferJsonClient.js:167:30) | |
at Object.onceWrapper (events.js:313:30) | |
at emitNone (events.js:111:20) | |
at IncomingMessage.emit (events.js:208:7) | |
at endReadableNT (_stream_readable.js:1064:12) | |
at _combinedTickCallback (internal/process/next_tick.js:138:11) | |
at process._tickCallback (internal/process/next_tick.js:180:9) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment