{"action":"opened","issue":{"url":"https://api.github.com/repos/electrode-io/electrode-ota-server/issues/78","repository_url":"https://api.github.com/repos/electrode-io/electrode-ota-server","labels_url":"https://api.github.com/repos/electrode-io/electrode-ota-server/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/electrode-io/electrode-ota-server/issues/78/comments","events_url":"https://api.github.com/repos/electrode-io/electrode-ota-server/issues/78/events","html_url":"https://github.com/electrode-io/electrode-ota-server/issues/78","id":343134134,"node_id":"MDU6SXNzdWUzNDMxMzQxMzQ=","number":78,"title":"Could not get token in eclectrode-ota-server when click github auth ","user":{"login":"cjt-hsy","id":41097302,"node_id":"MDQ6VXNlcjQxMDk3MzAy","avatar_url":"https://avatars0.githubusercontent.com/u/41097302?v=4","gravatar_id":"","url":"https://api.github.com/users/cjt-hsy","html_url":"https://github.com/cjt-hsy","followers_url":"https://api.github.com/users/cjt-hsy/followers","following_url":"https://api.github.com/users/cjt-hsy/following{/other_user}","gists_url":"https://api.github.com/users/cjt-hsy/gists{/gist_id}","starred_url":"https://api.github.com/users/cjt-hsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjt-hsy/subscriptions","organizations_url":"https://api.github.com/users/cjt-hsy/orgs","repos_url":"https://api.github.com/users/cjt-hsy/repos","events_url":"https://api.github.com/users/cjt-hsy/events{/privacy}","received_events_url":"https://api.github.com/users/cjt-hsy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T14:42:07Z","updated_at":"2018-07-20T14:42:07Z","closed_at":null,"author_association":"NONE","body":"here is the all message:\r\n\r\n+++++++++++++++++++++ System Info: ++++++++++++++++\r\n\r\nRunTime = 115d,8h,51m\r\nType = Alibaba Cloud ECS\r\nMaker = Alibaba Cloud\r\nOS = Ubuntu 14.04.2 LTS\r\nKernel = 3.13.0-32-generic\r\nMem = 2509MB/7985MB\r\nCPUs = 1 1 2 Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz\r\n++++++++++++++++++++++ Notice: ++++++++++++++++++++\r\n====== err: { _eventListeners:\r\n{ finish: { handlers: null, flags: [Object] },\r\npeek: { handlers: null, flags: [Object] } },\r\n_notificationsQueue: [],\r\n_eventsProcessing: false,\r\n_sourcePodiums: [],\r\nonPodiumError: null,\r\nrequest:\r\n{ _eventListeners: { finish: [Object], peek: [Object], disconnect: [Object] },\r\n_notificationsQueue: [],\r\n_eventsProcessing: false,\r\n_sourcePodiums: [],\r\nonPodiumError: [Function],\r\n_bench: { ts: 9967660841.46674 },\r\nconnection:\r\n{ _eventListeners: [Object],\r\n_notificationsQueue: [],\r\n_eventsProcessing: false,\r\n_sourcePodiums: [Array],\r\nonPodiumError: null,\r\nsettings: [Object],\r\nserver: [Object],\r\ntype: 'tcp',\r\n_started: true,\r\n_connections: [Object],\r\n_onConnection: [Function],\r\nregistrations: [Object],\r\n_extensions: [Object],\r\n_requestCounter: [Object],\r\n_load: [Object],\r\n_compression: [Object],\r\nstates: [Object],\r\nauth: [Object],\r\n_router: [Object],\r\nplugins: {},\r\napp: {},\r\nlistener: [Object],\r\ninfo: [Object] },\r\nserver:\r\n{ _settings: [Object],\r\n_caches: [Object],\r\n_handlers: [Object],\r\n_methods: [Object],\r\n_events: [Object],\r\n_dependencies: [Array],\r\n_registrations: [Object],\r\n_heavy: [Object],\r\n_mime: [Object],\r\n_replier: [Object],\r\n_requestor: [Object],\r\n_decorations: [Object],\r\ndecorations: [Object],\r\n_plugins: [Object],\r\n_app: [Object],\r\n_registring: false,\r\n_state: 'started',\r\n_extensionsSeq: 48,\r\n_extensions: [Object],\r\n_eventListeners: [Object],\r\n_notificationsQueue: [],\r\n_eventsProcessing: false,\r\n_sourcePodiums: [],\r\nonPodiumError: null,\r\n_parent: null,\r\nroot: [Object],\r\napp: [Object],\r\nconnections: [Array],\r\nload: [Object],\r\nmethods: {},\r\nmime: [Object],\r\nplugins: [Object],\r\nsettings: [Object],\r\nversion: '16.6.3',\r\nrealm: [Object],\r\nauth: [Object],\r\ncache: [Object],\r\ninfo: [Object],\r\nlistener: [Object],\r\nregistrations: [Object],\r\nviews: [Function],\r\nrender: [Function] },\r\nurl:\r\nUrl {\r\nprotocol: null,\r\nslashes: null,\r\nauth: null,\r\nhost: null,\r\nport: null,\r\nhostname: null,\r\nhash: null,\r\nsearch: '?hostname=',\r\nquery: [Object],\r\npathname: '/auth/login/github',\r\npath: '/auth/login/github?hostname=',\r\nhref: '/auth/login/github?hostname=' },\r\nquery: { hostname: '' },\r\npath: '/auth/login/github',\r\nmethod: 'get',\r\nmime: null,\r\nheaders:\r\n{ host: 'inte-codepush-ota.cloud.xxx.com',\r\n'x-forwarded-for': '10.254.245.18',\r\n'x-real-ip': '10.254.245.18',\r\nconnection: 'close',\r\n'upgrade-insecure-requests': '1',\r\n'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36',\r\naccept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8',\r\nreferer: 'http://inte-codepush-ota.cloud.xxx.com/auth/login',\r\n'accept-encoding': 'gzip, deflate',\r\n'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8',\r\ncookie: 'wm-ota-auth=Fe26.2fe119c8f986b625c168df6d45243fab2f76f9a0a789a2846e66966763e909886HNQzzyJkJi1GDJVsSbEevQ___f7abF-Wfa5v3bxj2uJOGlRKxPxrQ0OWjVeljP6jyJNyDcP4eJRNOyomPEe5Ct1xJFXpXUI-ub67zWYP2jQwf43c0bf1c8abf80d2e72ce434e8724d975460fa6858aa226202b21eae4951229RtxgOw2mTiWA4dIAZfXxwsZxSYtZkID85zQLloMGg9Q; sajssdk_2015_cross_new_user=1; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22164b58fdaa617d-04138bc2e86ecd-16386952-1296000-164b58fdaa7b12%22%2C%22%24device_id%22%3A%22164b58fdaa617d-04138bc2e86ecd-16386952-1296000-164b58fdaa7b12%22%2C%22props%22%3A%7B%22%24latest_referrer%22%3A%22%22%2C%22%24latest_referrer_host%22%3A%22%22%7D%7D; gr_user_id=317cef48-a22b-4191-ab00-1bb5a710724e; bell-github=Fe26.2**cd56b2fb0011cd72cc519482c30079df49d78ce731a5c2543ef52356b95436d49IpzRoOL9JP-mwKmeOfxhgMPPzBx3En-ahkUeBVLmDiUV4-20m2KnqXgg6td724Uo7FvLJUIc1ihVGLB6Tx9pFLnGsBqJ6uTtpQ_A5yUAqEA**fd55e3556ccdbd9431b7bcf3a158f94cc9ed3d24759e03e977208574dc8b4795kQsXpyLi2XN05bvRIR68VuiNBl3Qf8mosKnag82IKwE' },\r\ninfo:\r\n{ received: 1532097401481,\r\nresponded: 0,\r\nremoteAddress: '172.16.200.49',\r\nremotePort: 51605,\r\nreferrer: 'http://inte-codepush-ota.cloud.xxx.com/auth/login',\r\nhost: 'inte-codepush-ota.cloud.xxx.com',\r\nhostname: 'inte-codepush-ota.cloud.xxx.com',\r\nacceptEncoding: 'gzip',\r\ncors: [Object] },\r\nsetUrl: undefined,\r\nsetMethod: undefined,\r\nid: '1532097401481:iZ2zefhyq9foljgv430a2bZ:18735:jju1gdox:10031',\r\napp: {},\r\nplugins: {},\r\n_route:\r\n{ settings: [Object],\r\nconnection: [Object],\r\nserver: [Object],\r\npath: '/auth/login/github',\r\nmethod: 'get',\r\nplugin: [Object],\r\n_special: false,\r\n_analysis: [Object],\r\nparams: [],\r\nfingerprint: '/auth/login/github',\r\npublic: [Object],\r\n_prerequisites: null,\r\n_extensions: [Object],\r\n_cycle: [Array] },\r\nroute:\r\n{ method: 'get',\r\npath: '/auth/login/github',\r\nvhost: undefined,\r\nrealm: [Object],\r\nsettings: [Object],\r\nfingerprint: '/auth/login/github',\r\nauth: [Object] },\r\nauth:\r\n{ isAuthenticated: false,\r\ncredentials: null,\r\nartifacts: null,\r\nstrategy: null,\r\nmode: 'required',\r\nerror: null },\r\npre: {},\r\npreResponses: {},\r\norig: {},\r\nparams: {},\r\nparamsArray: [],\r\npayload: null,\r\nstate:\r\n{ 'wm-ota-auth': [Object],\r\nsajssdk_2015_cross_new_user: '1',\r\nsensorsdata2015jssdkcross: '%7B%22distinct_id%22%3A%22164b58fdaa617d-04138bc2e86ecd-16386952-1296000-164b58fdaa7b12%22%2C%22%24device_id%22%3A%22164b58fdaa617d-04138bc2e86ecd-16386952-1296000-164b58fdaa7b12%22%2C%22props%22%3A%7B%22%24latest_referrer%22%3A%22%22%2C%22%24latest_referrer_host%22%3A%22%22%7D%7D',\r\ngr_user_id: '317cef48-a22b-4191-ab00-1bb5a710724e',\r\n'bell-github': [Object] },\r\njsonp: null,\r\nresponse: null,\r\nraw: { req: [Object], res: [Object] },\r\naddTail: [Function],\r\ntail: [Function],\r\n_states: { 'bell-github': [Object] },\r\n_entity: {},\r\n_logger: [],\r\n_allowInternals: false,\r\n_expectContinue: false,\r\n_isPayloadPending: false,\r\n_isBailed: false,\r\n_isReplied: false,\r\n_isFinalized: false,\r\n_tails: {},\r\n_tailIds: 0,\r\n_protect: { _error: null, logger: [Object], domain: [Object] },\r\ndomain:\r\nDomain {\r\ndomain: null,\r\n_events: [Object],\r\n_eventsCount: 1,\r\n_maxListeners: undefined,\r\nmembers: [] },\r\n_onEnd: [Function],\r\n_onClose: [Function],\r\n_onError: [Function],\r\n_onAbort: [Function],\r\nrender: [Function],\r\ncookieAuth:\r\nCookieAuth {\r\nset: [Function],\r\nclear: [Function],\r\nttl: [Function],\r\nreply: [Object] } },\r\nstatusCode: 302,\r\nheaders: { location: 'https://github.com/login/oauth/authorize?client_id=42b32fd81d12200d99ff&response_type=code&redirect_uri=http%3A%2F%2Finte-codepush-ota.cloud.xxx.com%3A9001%2Fauth%2Flogin%2Fgithub&state=ddkCEje2RzzTZpQ3i3PHof&scope=user%3Aemail' },\r\nvariety: 'plain',\r\nsource: null,\r\napp: {},\r\nplugins: {},\r\nsend: null,\r\nhold: undefined,\r\nsettings:\r\n{ encoding: 'utf8',\r\ncharset: 'utf-8',\r\nttl: null,\r\nstringify: null,\r\npassThrough: true,\r\nvaryEtag: false,\r\nmessage: null },\r\n_payload: null,\r\n_takeover: false,\r\n_contentEncoding: null,\r\n_contentType: null,\r\n_error: null,\r\n_processors: { marshal: undefined, prepare: undefined, close: undefined },\r\ntemporary: [Function],\r\npermanent: [Function],\r\nrewritable: [Function] }\r\n{ requestId: '1532097402227:iZ2zefhyq9foljgv430a2bZ:18735:jju1gdox:10034',\r\nmethod: 'get',\r\nurl:\r\nUrl {\r\nprotocol: null,\r\nslashes: null,\r\nauth: null,\r\nhost: null,\r\nport: null,\r\nhostname: null,\r\nhash: null,\r\nsearch: '',\r\nquery: {},\r\npathname: '/auth/login',\r\npath: '/auth/login',\r\nhref: '/auth/login' },\r\nheaders:\r\n{ host: 'inte-codepush-ota.cloud.xxx.com',\r\n'x-forwarded-for': '10.254.245.18',\r\n'x-real-ip': '10.254.245.18',\r\nconnection: 'close',\r\n'upgrade-insecure-requests': '1',\r\n'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36',\r\naccept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8',\r\nreferer: 'http://inte-codepush-ota.cloud.xxx.com/auth/login',\r\n'accept-encoding': 'gzip, deflate',\r\n'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8',\r\ncookie: 'wm-ota-auth=Fe26.2fe119c8f986b625c168df6d45243fab2f76f9a0a789a2846e66966763e909886HNQzzyJkJi1GDJVsSbEevQ___f7abF-Wfa5v3bxj2uJOGlRKxPxrQ0OWjVeljP6jyJNyDcP4eJRNOyomPEe5Ct1xJFXpXUI-ub67zWYP2jQwf43c0bf1c8abf80d2e72ce434e8724d975460fa6858aa226202b21eae4951229RtxgOw2mTiWA4dIAZfXxwsZxSYtZkID85zQLloMGg9Q; sajssdk_2015_cross_new_user=1; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22164b58fdaa617d-04138bc2e86ecd-16386952-1296000-164b58fdaa7b12%22%2C%22%24device_id%22%3A%22164b58fdaa617d-04138bc2e86ecd-16386952-1296000-164b58fdaa7b12%22%2C%22props%22%3A%7B%22%24latest_referrer%22%3A%22%22%2C%22%24latest_referrer_host%22%3A%22%22%7D%7D; gr_user_id=317cef48-a22b-4191-ab00-1bb5a710724e; bell-github=Fe26.2**7bda489af295747086b7e33f8f493e4139585f4bf51505835164c2ccdb66f9b0w3YKn8YsM7rTePHjcu5xtAWmppvZVzCcDsp8uGN-3YmbIcK4ZuZc9UXB5nv9oNzdkFj0GLBCUVGY1kZ37CZVbRKBsLRa4CVnTZADAxkKDlQQ**ff786ff56ee410575ae5aa288dec96896b53e566d9b77e783f78aa41f0910515AahGN5UF0D4jYPkZ0isY8ZTeZpkls_1E7M0HWY3Mj8Q' },\r\nremoteAddress: '172.16.200.49',\r\nremotePort: 51632 } 'auth request' ''"}}
{"actor":{"display_login":"cjt-hsy"}}