Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server-crusher error(s) #19

Closed
Wizek opened this issue Aug 25, 2011 · 4 comments
Closed

server-crusher error(s) #19

Wizek opened this issue Aug 25, 2011 · 4 comments

Comments

@Wizek
Copy link
Owner

Wizek commented Aug 25, 2011

127.0.0.1 - - [Thu, 25 Aug 2011 22:19:12 GMT] "GET / HTTP/1.1" 200 107 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Thu, 25 Aug 2011 22:19:13 GMT] "GET /lib/require/require.js HTTP/1.1" 304 - "http://localhost:3000/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Thu, 25 Aug 2011 22:19:13 GMT] "GET /js/main.js HTTP/1.1" 304 - "http://localhost:3000/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
Error: ENOENT, No such file or directory 'www/favicon.ico'
127.0.0.1 - - [Thu, 25 Aug 2011 22:19:13 GMT] "GET /js/connect.js HTTP/1.1" 200 1060 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
   debug - served static /socket.io.js
127.0.0.1 - - [Thu, 25 Aug 2011 22:19:13 GMT] "GET /js/cookie.js HTTP/1.1" 304 - "http://localhost:3000/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
   debug - client authorized
   info  - handshake authorized 18198795121663360633
   debug - setting request GET /socket.io/1/websocket/18198795121663360633
   debug - set heartbeat interval for client 18198795121663360633
   debug - client authorized for
   debug - websocket writing 1::
   debug - websocket received data packet 5:1+::{"name":"set envId","args":["yq1c9maki6wu8dzp4pw5ma9b9dd3kzyaha289vcelt3lxqx8"]}
[2011-08-25 22:19:14.496] ERROR [user.js:48:11] - Nem található a hivatkozott session
[2011-08-25 22:19:14.497] DEBUG [user.js:49:11] =>
Searched { envId: 'yq1c9maki6wu8dzp4pw5ma9b9dd3kzyaha289vcelt3lxqx8' }
   debug - sending data ack packet
   debug - websocket writing 6:::1+["Session doesn't have a username!"]
   debug - emitting heartbeat for client 18198795121663360633
   debug - websocket writing 2::
   debug - set heartbeat timeout for client 18198795121663360633
   debug - websocket received data packet 2::
   debug - got heartbeat packet
   debug - cleared heartbeat timeout for client 18198795121663360633
   debug - set heartbeat interval for client 18198795121663360633
   debug - emitting heartbeat for client 18198795121663360633
   debug - websocket writing 2::
   debug - set heartbeat timeout for client 18198795121663360633
   debug - websocket received data packet 2::
   debug - got heartbeat packet
   debug - cleared heartbeat timeout for client 18198795121663360633
   debug - set heartbeat interval for client 18198795121663360633

/cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/client.js:293
      this._queue[0].fn();
                     ^
TypeError: Cannot call method 'fn' of undefined
    at Client._handlePacket (/cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/client.js:293:22)
    at Parser.<anonymous> (native)
    at Parser.emit (events.js:64:17)
    at /cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/parser.js:71:14
    at Parser.write (/cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/parser.js:576:7)
    at Socket.<anonymous> (native)
    at Socket.emit (events.js:64:17)
    at Socket._onReadable (net.js:678:14)
    at IOWatcher.onReadable [as callback] (net.js:177:10)

@ghost ghost assigned fodor0205 Aug 25, 2011
@Wizek
Copy link
Owner Author

Wizek commented Aug 27, 2011

Another take, possibly the same error. It happened right after refresh.

127.0.0.1 - - [Sat, 27 Aug 2011 17:25:12 GMT] "GET /lib/require/require.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
Error: ENOENT, No such file or directory 'www/favicon.ico'
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /lib/require/plugins/text.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /lib/qunit/qunit.css HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /tpl/qunit.tpl HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /lib/qunit/qunit.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /js/cookie.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /js/connect.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /js/io.amd.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
   debug - served static /socket.io.js
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /js/socket.amd.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
   debug - client authorized
   info  - handshake authorized 5463530651962706592
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /js/template.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /js/Interface.js HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:13 GMT] "GET /tpl/login.tpl HTTP/1.1" 304 - "http://localhost:3000/test/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:14 GMT] "GET /test/ HTTP/1.1" 200 309 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
   debug - setting request GET /socket.io/1/websocket/5463530651962706592
   debug - set heartbeat interval for client 5463530651962706592
   debug - client authorized for
   debug - websocket writing 1::
127.0.0.1 - - [Sat, 27 Aug 2011 17:25:14 GMT] "GET /test/ HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"
   info  - transport end
   debug - set close timeout for client 5463530651962706592
   debug - cleared close timeout for client 5463530651962706592
   debug - cleared heartbeat interval for client 5463530651962706592
[2011-08-27 17:25:14.641] ERROR [user.js:48:11] - Nem található a hivatkozott session
[2011-08-27 17:25:14.642] DEBUG [user.js:49:11] - Searched { socketId: '5463530651962706592' }

/cygdrive/e/Work Area/Code/Tali/app/model/user.js:151
  return cb()
         ^
TypeError: string is not a function
    at String.CALL_NON_FUNCTION (native)
    at Object.disconnect (/cygdrive/e/Work Area/Code/Tali/app/model/user.js:151:10)
    at Socket.<anonymous> (/cygdrive/e/Work Area/Code/Tali/app/socket.js:20:10)
    at Socket.$emit (events.js:64:17)
    at Socket.onDisconnect (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/socket.js:136:10)
    at SocketNamespace.handleDisconnect (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/namespace.js:229:23)
    at Manager.onClientDisconnect (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/manager.js:449:29)
    at WebSocket.end (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/transport.js:467:20)
    at WebSocket.onSocketEnd (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/transport.js:147:8)
    at Socket.<anonymous> (native)

@Wizek
Copy link
Owner Author

Wizek commented Aug 28, 2011

Another stack trace. Is this of any help?

   debug - cleared heartbeat timeout for client 1350454753441006609
   debug - set heartbeat interval for client 1350454753441006609
   debug - emitting heartbeat for client 1350454753441006609
   debug - websocket writing 2::
   debug - set heartbeat timeout for client 1350454753441006609
   info  - transport end
   debug - set close timeout for client 1350454753441006609
   debug - cleared close timeout for client 1350454753441006609
   debug - cleared heartbeat timeout for client 1350454753441006609
[2011-08-28 06:03:52.430] ERROR [user.js:48:11] - Nem található a hivatkozott session
[2011-08-28 06:04:01.337] DEBUG [user.js:49:11] - Searched { socketId: '1350454753441006609' }
   debug - discarding transport
   debug - client authorized
   info  - handshake authorized 12493568121941576812
   debug - client authorized
   info  - handshake authorized 1829901861476530975
   debug - client authorized
   info  - handshake authorized 1424724345639804642

/cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/client.js:293
      this._queue[0].fn();
                     ^
TypeError: Cannot call method 'fn' of undefined
    at Client._handlePacket (/cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/client.js:293:22)
    at Parser.<anonymous> (native)
    at Parser.emit (events.js:64:17)
    at /cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/parser.js:71:14
    at Parser.write (/cygdrive/e/Work Area/Code/Tali/node_modules/mysql/lib/parser.js:576:7)
    at Socket.<anonymous> (native)
    at Socket.emit (events.js:64:17)
    at Socket._onReadable (net.js:678:14)
    at IOWatcher.onReadable [as callback] (net.js:177:10)

@Wizek
Copy link
Owner Author

Wizek commented Aug 28, 2011

   debug - emitting heartbeat for client 11765030921757222746
   debug - websocket writing 2::
   debug - set heartbeat timeout for client 11765030921757222746
   debug - websocket received data packet 2::
   debug - got heartbeat packet
   debug - cleared heartbeat timeout for client 11765030921757222746
   debug - set heartbeat interval for client 11765030921757222746
   debug - fired close timeout for client 7797013071695344365
   info  - transport end
[2011-08-28 07:25:25.957] ERROR [user.js:48:11] - Nem található a hivatkozott session
[2011-08-28 07:25:25.959] DEBUG [user.js:49:11] - Searched { socketId: '7797013071695344365' }

/cygdrive/e/Work Area/Code/Tali/app/model/user.js:151
  return cb()
         ^
TypeError: string is not a function
    at String.CALL_NON_FUNCTION (native)
    at Object.disconnect (/cygdrive/e/Work Area/Code/Tali/app/model/user.js:151:10)
    at Socket.<anonymous> (/cygdrive/e/Work Area/Code/Tali/app/socket.js:20:10)
    at Socket.$emit (events.js:64:17)
    at Socket.onDisconnect (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/socket.js:136:10)
    at SocketNamespace.handleDisconnect (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/namespace.js:229:23)
    at Manager.onClientDisconnect (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/manager.js:449:29)
    at WebSocket.end (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/transport.js:467:20)
    at Object._onTimeout (/cygdrive/e/Work Area/Code/Tali/node_modules/socket.io/lib/transport.js:237:12)
    at Timer.callback (timers.js:83:39)

@fodor0205
Copy link
Contributor

Never can reproduce this issue, tried everything, maybe you have an older code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants