Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Unable to connect to twitter #12

Open
danjenkins opened this issue Mar 2, 2015 · 0 comments
Open

Unable to connect to twitter #12

danjenkins opened this issue Mar 2, 2015 · 0 comments

Comments

@danjenkins
Copy link

When clicking to connect to twitter, the server crashes. Telling me that

Message: seneca: Action role:auth,trigger:service-login failed: service is not defined.

Code: act_execute

Details: { id: 'ymzqt60vqr56/000rs6vkt9zv',
  gate: false,
  ungate: true,
  desc: 'role:auth,trigger:service-login',
  cb: [Function],
  plugin: { name: 'auth', tag: '-' },
  fn: [Function: trigger_service_login],
  time: { start: 1425289325352 },
  'orig$': [ReferenceError: service is not defined],
  'message$': 'service is not defined',
  message: 'service is not defined',
  pattern: 'role:auth,trigger:service-login',
  instance: 'Seneca/0.6.1/oou6vuvt8mqo/1425289285708/42761/-' }

Stack:
    at Seneca.trigger_service_login (/git/well/node_modules/seneca-auth/lib/auth.js:308:17)
    at Object.execspec.fn (/git/well/node_modules/seneca/seneca.js:1497:24)
    at Object._onImmediate (/git/well/node_modules/seneca/node_modules/gate-executor/gate-executor.js:108:14)
    at processImmediate [as _immediateCallback] (timers.js:345:15)

Instance: Seneca/0.6.1/oou6vuvt8mqo/1425289285708/42761/-
  ALL ERRORS FATAL: action called with argument fatal$:true (probably a plugin init error, or using a plugin seneca instance, see senecajs.org/fatal.html)
    at act_done (/git/well/node_modules/seneca/seneca.js:1423:29)

When: 2015-03-02T09:42:05.357Z

Log: [sys,seneca,0.6.1,oou6vuvt8mqo/1425289285708/42761/-,act_execute,seneca: Action role:auth,trigger:service-login failed: service is not defined.,{id=ymzqt60vqr56/000rs6vkt9zv,gate=false,ungate=true,desc=role:auth,trigger:service-login,plugin={name=auth,tag=-},time={start=1425289325352},message=service is not defined,pattern=role:auth,trigger:service-login,instance=Seneca/0.6.1/oou6vuvt8mqo/1425289285708/42761/-},all-errors-fatal]

Here are the routes it was calling prior

EXPRESS 2015-03-02T09:42:00.161Z GET /well/ma/
EXPRESS 2015-03-02T09:42:00.171Z GET /well/ma/cache.appcache
EXPRESS 2015-03-02T09:42:04.238Z GET /auth/twitter?context=ma&prefix=/well/ma/
2015-03-02T09:42:05.356Z    oou6vuvt8mqo/1425289285708/42761/-  ERROR   act auth    -   OUT ymzqt60vqr56/000rs6vkt9zv   role:auth,trigger:service-login 4   {role=auth,trigger=service-login,service=twitter}   ENTRY   A;b2m947c2cva6  -   seneca: Action role:auth,trigger:service-login failed: service is not defined.  act_execute {id=ymzqt60vqr56/000rs6vkt9zv,gate=false,ungate=true,desc=role:auth,trigger:service-login,plugin={name=auth,tag=-},time={start=1425289325352},message=service is not defined,pattern=role:auth,trigger:service-login,instance=Seneca/0.6.1/oou6vuvt8mqo/1425289285708/42761/-}  ReferenceError: service is not defined
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant