Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
My application constantly shuts down
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
KLiDE  
View profile  
 More options Jul 3 2012, 8:30 am
From: KLiDE <qdi...@gmail.com>
Date: Tue, 3 Jul 2012 05:30:11 -0700 (PDT)
Local: Tues, Jul 3 2012 8:30 am
Subject: My application constantly shuts down

My application constantly shuts down. I can't understand what's the reason. This is my logs:

New PID: 25684

chroot_runner

chroot_runner

Spawing /app/index.js

 [1m [31mWARN [39m [22m :: You are running in node-0.4.9. You might want to upgrade to node-v0.6.17

Running node v-0.4.9

SERVER:  | Welcome to qZee v0.1a

SERVER:  | Server started at localhost:18060

CNTRL:   | 200: index

ROUTER:  | 200: /css/style.css

ROUTER:  | 200: /css/general.css

ROUTER:  | 200: /js/my.js

ROUTER:  | 200: /js/jquery-1.7.2.min.js

ROUTER:  | 404: /favicon.ico

ROUTER:  | 404: /favicon.ico

3

CNTRL:   | 200: posts

ROUTER:  | 200: /css/style.css

ROUTER:  | 200: /css/general.css

ROUTER:  | 200: /js/my.js

ROUTER:  | 200: /js/jquery-1.7.2.min.js

events.js:45

        throw arguments[1]; // Unhandled 'error' event

                       ^

Error: Connection lost: The server closed the connection.

    at Protocol.end (/node_modules/mysql/lib/protocol/Protocol.js:63:13)

    at Socket.onend (stream.js:74:10)

    at Socket.emit (events.js:81:20)

    at Socket._onReadable (net.js:658:51)

    at IOWatcher.onReadable [as callback] (net.js:177:10)

Process died with exit code 1. Restarting...

Spawing /app/index.js

 [1m [31mWARN [39m [22m :: You are running in node-0.4.9. You might want to upgrade to node-v0.6.17

Running node v-0.4.9

SERVER:  | Welcome to qZee v0.1a

SERVER:  | Server started at localhost:18060

ROUTER:  | 200: /robots.txt

CNTRL:   | 200: index

events.js:45

        throw arguments[1]; // Unhandled 'error' event

                       ^

Error: Connection lost: The server closed the connection.

    at Protocol.end (/node_modules/mysql/lib/protocol/Protocol.js:63:13)

    at Socket.onend (stream.js:74:10)

    at Socket.emit (events.js:81:20)

    at Socket._onReadable (net.js:658:51)

    at IOWatcher.onReadable [as callback] (net.js:177:10)

Process died with exit code 1. Restarting...

Spawing /app/index.js

 [1m [31mWARN [39m [22m :: You are running in node-0.4.9. You might want to upgrade to node-v0.6.17

Running node v-0.4.9

SERVER:  | Welcome to qZee v0.1a

SERVER:  | Server started at localhost:18060

CNTRL:   | 200: index

events.js:45

        throw arguments[1]; // Unhandled 'error' event

                       ^

Error: Connection lost: The server closed the connection.

    at Protocol.end (/node_modules/mysql/lib/protocol/Protocol.js:63:13)

    at Socket.onend (stream.js:74:10)

    at Socket.emit (events.js:81:20)

    at Socket._onReadable (net.js:658:51)

    at IOWatcher.onReadable [as callback] (net.js:177:10)

Process died with exit code 1. Restarting...

Spawing /app/index.js

 [1m [31mWARN [39m [22m :: You are running in node-0.4.9. You might want to upgrade to node-v0.6.17

Running node v-0.4.9

SERVER:  | Welcome to qZee v0.1a

SERVER:  | Server started at localhost:18060

ROUTER:  | 200: /robots.txt

3

CNTRL:   | 200: posts

events.js:45

        throw arguments[1]; // Unhandled 'error' event

                       ^

Error: Connection lost: The server closed the connection.

    at Protocol.end (/node_modules/mysql/lib/protocol/Protocol.js:63:13)

    at Socket.onend (stream.js:74:10)

    at Socket.emit (events.js:81:20)

    at Socket._onReadable (net.js:658:51)

    at IOWatcher.onReadable [as callback] (net.js:177:10)

Process died with exit code 1. Restarting...

Spawing /app/index.js

 [1m [31mWARN [39m [22m :: You are running in node-0.4.9. You might want to upgrade to node-v0.6.17

Running node v-0.4.9

SERVER:  | Welcome to qZee v0.1a

SERVER:  | Server started at localhost:18060

CNTRL:   | 200: posts

events.js:45

        throw arguments[1]; // Unhandled 'error' event

                       ^

Error: Connection lost: The server closed the connection.

    at Protocol.end (/node_modules/mysql/lib/protocol/Protocol.js:63:13)

    at Socket.onend (stream.js:74:10)

    at Socket.emit (events.js:81:20)

    at Socket._onReadable (net.js:658:51)

    at IOWatcher.onReadable [as callback] (net.js:177:10)

Process died with exit code 1. Restarting...

Spawing /app/index.js

 [1m [31mWARN [39m [22m :: You are running in node-0.4.9. You might want to upgrade to node-v0.6.17

Running node v-0.4.9

SERVER:  | Welcome to qZee v0.1a

SERVER:  | Server started at localhost:18060

CNTRL:   | 200: feedbacks

events.js:45

        throw arguments[1]; // Unhandled 'error' event

                       ^

Error: Connection lost: The server closed the connection.

    at Protocol.end (/node_modules/mysql/lib/protocol/Protocol.js:63:13)

    at Socket.onend (stream.js:74:10)

    at Socket.emit (events.js:81:20)

    at Socket._onReadable (net.js:658:51)

    at IOWatcher.onReadable [as callback] (net.js:177:10)

Error: Restarted too many times, bailing.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alejandro Morales Gámez  
View profile  
 More options Jul 3 2012, 12:37 pm
From: Alejandro Morales Gámez <vamg...@gmail.com>
Date: Tue, 3 Jul 2012 09:37:36 -0700 (PDT)
Local: Tues, Jul 3 2012 12:37 pm
Subject: Re: My application constantly shuts down

Looks like your mysql module is getting disconnected by the remote db.
You should handle this error a little bit better so your app don't crash a
lot.

Also you may want to add to your package.json the node version (probably
that's the origin of the error)

Adding this to the top level of your package.json:

{
 "name":"....",
  "node":"0.6.17",
  "dependencies":{
      ....
  }

}

The "node":"0.6.17" is the most important.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »