Skip to content

Instantly share code, notes, and snippets.

@Fabryz
Created August 28, 2011 14:21
Show Gist options
  • Save Fabryz/1176722 to your computer and use it in GitHub Desktop.
Save Fabryz/1176722 to your computer and use it in GitHub Desktop.
Express favicon error
data: 2011-08-28T14:15:55.055Z: Error: No such file or directory
data: 2011-08-28T14:15:55.055Z: at /usr/local/src/Fabryz/wander/wanjitsu/server.js:67:20
data: 2011-08-28T14:15:55.055Z: at callbacks (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/lib/router/index.js:272:11)
data: 2011-08-28T14:15:55.055Z: at param (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/lib/router/index.js:246:11)
data: 2011-08-28T14:15:55.055Z: at pass (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/lib/router/index.js:253:5)
data: 2011-08-28T14:15:55.055Z: at Router._dispatch (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/lib/router/index.js:280:4)
data: 2011-08-28T14:15:55.055Z: at Object.handle (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/lib/router/index.js:45:10)
data: 2011-08-28T14:15:55.055Z: at next (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/node_modules/connect/lib/http.js:198:15)
data: 2011-08-28T14:15:55.055Z: at Object.favicon [as handle] (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/node_modules/connect/lib/middleware/favicon.js:73:7)
data: 2011-08-28T14:15:55.055Z: at next (/usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/node_modules/connect/lib/http.js:198:15)
data: 2011-08-28T14:15:55.055Z: at /usr/local/src/Fabryz/wander/wanjitsu/node_modules/express/node_modules/connect/lib/middleware/static.js:148:11
data: 2011-08-28T14:15:55.051Z: 184.106.236.222 - GET /status HTTP/1.1 500 - - 1 ms
@indexzero
Copy link

We pushed out a hotfix to resolve this issue around process.memoryUsage() ... all systems operational: http://wander.nodejitsu.com/status

@Fabryz
Copy link
Author

Fabryz commented Aug 29, 2011

Unfortunately the app I deployed on nodejitsu had lines 68 and 69 commented to make it work.
Just tried again uncommenting and deploying, I see:

data:   2011-08-29T08:50:13.639Z: 184.106.236.222 - GET /favicon.ico HTTP/1.1 304 - - 1 ms
data:   2011-08-29T08:50:12.977Z: 184.106.236.222 - GET /status HTTP/1.1 404 - - - ms
data:   2011-08-29T08:50:10.979Z: 184.106.236.222 - GET /favicon.ico HTTP/1.1 200 318 - 11 ms
data:   2011-08-29T08:50:10.288Z: 184.106.236.222 - GET /status HTTP/1.1 404 - - 1 ms
data:   2011-08-29T08:50:01.191Z: carapace has wrapped: /usr/local/src/Fabryz/wander/wanjitsu/server.js
data:   2011-08-29T08:50:01.101Z:    info  - socket.io started

instead of the gist error above, but when pointing the browser to /status it outputs:

Cannot GET /status

I will leave the app deployed with the two lines uncommented if you have to test.

https://github.com/Fabryz/wander/blob/master/server.js#L68

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