Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Feathers server debug log
socket.io-parser decoded 22["foods::get","5877783b2aa1cc1c04a0c1e3",{}] as {"type":2,"nsp":"/","id":2,"data":["foods::get","5877783b2aa1cc1c04a0c1e3",{}]} +47ms
socket.io:socket got packet {"type":2,"nsp":"/","id":2,"data":["foods::get","5877783b2aa1cc1c04a0c1e3",{}]} +48ms
socket.io:socket emitting event ["foods::get","5877783b2aa1cc1c04a0c1e3",{}] +0ms
socket.io:socket attaching ack callback to event +0ms
socket.io:socket dispatching an event ["foods::get","5877783b2aa1cc1c04a0c1e3",{},null] +0ms
feathers-socket-commons:methods Got 'foods::get' event with connection +0ms { provider: 'socketio',
user:
{ email: 'a@a.aa',
password: '$2a$10$5zufdjXThNFf38k..s/x8unwuciO/EJP2fet0VAy6erO9ulptBB62',
_id: 'Ws2fg5IzolYDKgJc' },
payload: { userId: 'Ws2fg5IzolYDKgJc' },
accessToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyJ9.eyJ1c2VySWQiOiJXczJmZzVJem9sWURLZ0pjIiwiaWF0IjoxNDg0NTc4MDU1LCJleHAiOjE0ODQ2NjQ0NTUsImF1ZCI6Imh0dHBzOi8veW91cmRvbWFpbi5jb20iLCJpc3MiOiJmZWF0aGVycyIsInN1YiI6ImFub255bW91cyJ9.o_BOaGI203IkfXnwNYmscjgd99AYNeAOYpeKg-YNYMA',
headers: { Authorization: 'eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyJ9.eyJ1c2VySWQiOiJXczJmZzVJem9sWURLZ0pjIiwiaWF0IjoxNDg0NTc4MDU1LCJleHAiOjE0ODQ2NjQ0NTUsImF1ZCI6Imh0dHBzOi8veW91cmRvbWFpbi5jb20iLCJpc3MiOiJmZWF0aGVycyIsInN1YiI6ImFub255bW91cyJ9.o_BOaGI203IkfXnwNYmscjgd99AYNeAOYpeKg-YNYMA' },
authenticated: true }
feathers-errors NotAuthenticated(401): Authentication token missing. +1ms
feathers-socket-commons:methods Error calling foods::get +1ms { NotAuthenticated: Authentication token missing.
at NotAuthenticated.ExtendableBuiltin (/home/marvin/projects/NodeJs/homechef-feathers/node_modules/feathers-errors/lib/index.js:21:28)
at NotAuthenticated.FeathersError (/home/marvin/projects/NodeJs/homechef-feathers/node_modules/feathers-errors/lib/index.js:96:116)
at new NotAuthenticated (/home/marvin/projects/NodeJs/homechef-feathers/node_modules/feathers-errors/lib/index.js:149:117)
at Object.<anonymous> (/home/marvin/projects/NodeJs/homechef-feathers/node_modules/feathers-legacy-authentication-hooks/lib/verify-token.js:23:13)
at process._tickCallback (internal/process/next_tick.js:103:7)
type: 'FeathersError',
name: 'NotAuthenticated',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment