Giter VIP home page Giter VIP logo

Comments (6)

gllmhyt avatar gllmhyt commented on June 23, 2024

Thank you !

from haste-server.

seejohnrun avatar seejohnrun commented on June 23, 2024

Thank you for the report! :)

from haste-server.

gllmhyt avatar gllmhyt commented on June 23, 2024

I did the update, and here the thing :

info: loading static document name=about, path=./about.md
info: loading static document name=statusnet, path=./statusnet.php
info: loading static document name=rss-feeds, path=./rss-feeds.opml
info: listening on localhost:7777
info: connected to memcached on 127.0.0.1:11211
debug: loaded static document success=true
debug: loaded static document success=true
debug: loaded static document success=true
verbose: retrieved document key=rss-feeds
(... after a while ...)
warn: document not found key=rss-feeds
warn: document not found key=rss-feeds

from haste-server.

seejohnrun avatar seejohnrun commented on June 23, 2024

The feature works by inserting hastes into your storage (memcached) server.
Any chance its going down and coming back up and losing keys?

from haste-server.

gllmhyt avatar gllmhyt commented on June 23, 2024

I just restarted my services (memcached, nginx, php5-fpm, mysql) and restarted the node server. I'll check it back tomorrow morning. Thanks for the support. :)

from haste-server.

gllmhyt avatar gllmhyt commented on June 23, 2024

I found what it seems to be the problem : the static documents failed to load when I push a new document after a while. Here is the log of the night with the relevant informations :

info: loading static document name=rss-feeds, path=./rss-feeds.opml
info: loading static document name=statusnet, path=./statusnet.php
info: listening on localhost:7777
info: connected to memcached on 127.0.0.1:11211
debug: loaded static document success=true
debug: loaded static document success=true
verbose: retrieved document key=statusnet
verbose: retrieved document key=rss-feeds
warn: store does not currently push forward expirations on GET
verbose: added document key=biqefexiqu
verbose: retrieved document key=biqefexiqu
warn: store does not currently push forward expirations on GET

Then memcache crashed :

/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:260
var type = this.callbacks[0].type;
^
TypeError: Cannot read property 'type' of undefined
at Client.determine_reply_handler (/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:260:30)
at Client.handle_received_data (/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:217:21)
at Socket.Client.connect.conn.addListener.self.conn (/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:62:12)
at Socket.EventEmitter.emit (events.js:88:17)
at TCP.onread (net.js:403:14)
npm ERR! [email protected] start: node server.js
npm ERR! sh "-c" "node server.js" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the haste package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls haste
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-042stab057.1
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! cwd /home/postblue/public_html/haste-server
npm ERR! node -v v0.8.5
npm ERR! npm -v 1.1.46
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/postblue/public_html/haste-server/npm-debug.log
npm ERR! not ok code 0

from haste-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.