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

App deployed on jit.su successfully but isn't running correctly #280

Closed
juzerali opened this issue Jul 15, 2012 · 5 comments
Closed

App deployed on jit.su successfully but isn't running correctly #280

juzerali opened this issue Jul 15, 2012 · 5 comments

Comments

@juzerali
Copy link

On hitting the url I am getting "No data received"
See my log

[07/16 00:41:06 GMT+0530]     at Object.oncomplete (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:177:12)
[07/16 00:41:06 GMT+0530]     at pass (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108:4)
[07/16 00:41:06 GMT+0530] TypeError: undefined is not a function
[07/16 00:41:06 GMT+0530] 
[07/16 00:41:06 GMT+0530]    ^
[07/16 00:41:06 GMT+0530]           staticSend(req, res, next, o);
[07/16 00:41:06 GMT+0530] /opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108
[07/16 00:38:27 GMT+0530] info: socket.io started
[07/16 00:38:23 GMT+0530] Go to: http://localhost:3000/
[07/16 00:38:23 GMT+0530] `kill -s SIGUSR2 29812` to force cluster reload
[07/16 00:38:23 GMT+0530] Starting cluster with 1 workers in production mode
[07/16 00:38:23 GMT+0530] info: socket.io started
[07/16 00:24:17 GMT+0530]    ^
[07/16 00:24:17 GMT+0530]           staticSend(req, res, next, o);
[07/16 00:24:17 GMT+0530]     at Object.oncomplete (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:177:12)
[07/16 00:24:17 GMT+0530]     at pass (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108:4)
[07/16 00:24:17 GMT+0530] TypeError: undefined is not a function
[07/16 00:24:17 GMT+0530] 
[07/16 00:24:17 GMT+0530] /opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108
[07/16 00:22:53 GMT+0530] info: socket.io started
[07/16 00:22:48 GMT+0530] info: socket.io started
[07/16 00:22:48 GMT+0530] Go to: http://localhost:80/
[07/16 00:22:48 GMT+0530] `kill -s SIGUSR2 28879` to force cluster reload
[07/16 00:22:48 GMT+0530] Starting cluster with 1 workers in production mode
[07/16 00:16:31 GMT+0530]    ^
[07/16 00:16:31 GMT+0530]           staticSend(req, res, next, o);
[07/16 00:16:31 GMT+0530] /opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108
[07/16 00:16:31 GMT+0530] 
[07/16 00:16:31 GMT+0530]     at Object.oncomplete (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:177:12)
[07/16 00:16:31 GMT+0530]     at pass (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108:4)
[07/16 00:16:31 GMT+0530] TypeError: undefined is not a function
[07/16 00:15:28 GMT+0530] info: socket.io started
[07/16 00:15:24 GMT+0530] info: socket.io started
[07/16 00:15:24 GMT+0530] Starting cluster with 1 workers in production mode
[07/16 00:15:24 GMT+0530] Go to: http://localhost:80/
[07/16 00:15:24 GMT+0530] `kill -s SIGUSR2 29368` to force cluster reload
[07/15 17:05:40 GMT+0530]    ^
[07/15 17:05:40 GMT+0530]           staticSend(req, res, next, o);
[07/15 17:05:40 GMT+0530] /opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108
[07/15 17:05:40 GMT+0530]     at Object.oncomplete (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:177:12)
[07/15 17:05:40 GMT+0530]     at pass (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108:4)
[07/15 17:05:40 GMT+0530] TypeError: undefined is not a function
[07/15 17:05:40 GMT+0530] 
[07/15 15:31:36 GMT+0530] info: socket.io started
[07/15 15:31:31 GMT+0530] Go to: http://localhost:80/
[07/15 15:31:31 GMT+0530] `kill -s SIGUSR2 17376` to force cluster reload
[07/15 15:31:31 GMT+0530] Starting cluster with 1 workers in production mode
[07/15 15:31:31 GMT+0530] info: socket.io started
[07/15 15:30:25 GMT+0530] master killed, committing suicide
[07/15 14:09:29 GMT+0530] info: socket.io started
[07/15 14:09:25 GMT+0530] Go to: http://localhost:80/
[07/15 14:09:25 GMT+0530] `kill -s SIGUSR2 5062` to force cluster reload
[07/15 14:09:25 GMT+0530] Starting cluster with 1 workers in production mode
[07/15 14:09:25 GMT+0530] info: socket.io started
[07/15 13:18:24 GMT+0530]     at Object.oncomplete (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:177:12)
[07/15 13:18:24 GMT+0530]     at pass (/opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108:4)
[07/15 13:18:24 GMT+0530]    ^
[07/15 13:18:24 GMT+0530]           staticSend(req, res, next, o);
[07/15 13:18:24 GMT+0530] /opt/haibu/apps/juzerali/ICan.vc/package/node_modules/gzippo/lib/staticGzip.js:108
[07/15 13:18:24 GMT+0530] 
[07/15 13:18:24 GMT+0530] TypeError: undefined is not a function
[07/15 13:17:24 GMT+0530] info: socket.io started
[07/15 13:17:19 GMT+0530] Go to: http://localhost:80/
[07/15 13:17:19 GMT+0530] `kill -s SIGUSR2 23550` to force cluster reload
[07/15 13:17:19 GMT+0530] Starting cluster with 1 workers in production mode
[07/15 13:17:19 GMT+0530] info: socket.io started
[07/15 12:27:36 GMT+0530] execvp(): No such file or directory
@coderarity
Copy link
Contributor

You should check out tomgco/gzippo#43, looks like this won't work with the latest connect/express.

@jfhbrook
Copy link
Contributor

As an aside, you shouldn't use cluster on nodejitsu. The machines are single-core, 256mb slices. This hinders more than it helps.

@juzerali
Copy link
Author

@jesusabdullah I am not using clusters.
@coderarity I am using express 0.3beta, which used to work on same platform a while back.
Actually recently I had stopped tracking .js files and only push .coffee files to remote repositories. From then on it has stopped working. I later again started tracking .js files. But it still seems to not work.

FYI my package.json

{
  "name": "derby-ice-cream-parlor",
  "description": "Demo of Derby features",
  "version": "1.0.0-20",
  "node": "0.6.18",
  "main": "./server.js",
  "dependencies": {
    "derby": "*",
    "express": "3.0.0beta2",
    "gzippo": ">=0.1.4",
    "racer-db-mongo": "*",
    "connect-mongo": ">=0.1.9",
    "racer": "*"
  },
  "private": true,
  "devDependencies": {
    "coffee-script": ">=1.3.1"
  },
  "subdomain": "icecream-parlor",
  "scripts": {
    "start": "server.js"
  },
  "engines": {
    "node": "0.6.17"
  }
}

@Sebi2020
Copy link

@juzerali You don't use clusters?! Your log say something else:

...
[07/15 15:31:31 GMT+0530] Starting cluster with 1 workers in production mode
[07/15 15:31:31 GMT+0530] info: socket.io started
[07/15 15:30:25 GMT+0530] master killed, committing suicide
[07/15 14:09:29 GMT+0530] info: socket.io started
[07/15 14:09:25 GMT+0530] Go to: http://localhost:80/
[07/15 14:09:25 GMT+0530] `kill -s SIGUSR2 5062` to force cluster reload
[07/15 14:09:25 GMT+0530] Starting cluster with 1 workers in production mode
...

@jfhbrook
Copy link
Contributor

I'm closing this.

@juzerali feel free to look us up on irc, though nothing you've been told about here has changed as far as I'm concerned.

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

No branches or pull requests

4 participants