rickyrauch / Balloons.IO

Balloons.IO is a web multi-room chat server and client ready to use. It’s built with the help of node.JS, Express, Socket.IO and Redis. Balloons uses PassportJS for authentication with Twitter and Facebook
http://balloons.io
2.36k stars 491 forks source link

Issue on hmset #73

Closed alexgenovese closed 11 years ago

alexgenovese commented 11 years ago

Hello, I have installed Redis version 2.6.2 (latest stable) and I'm trying to use balloons but I get this errors:

Error: hmset expected value to be a string
    at RedisClient.hmset (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/redis/index.js:948:27)
    at /Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/routes/index.js:18:12
    at callbacks (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/express/lib/router/index.js:162:37)
    at param (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/express/lib/router/index.js:136:11)
    at pass (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/express/lib/router/index.js:143:5)
    at Router._dispatch (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/express/lib/router/index.js:171:5)
    at Object.router (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/express/lib/router/index.js:33:10)
    at Context.next (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/express/node_modules/connect/lib/proto.js:190:15)
    at Context.actions.pass (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/passport/lib/passport/context/http/actions.js:64:8)
    at SessionStrategy.authenticate (/Users/alex/Desktop/gravityonmars-Balloons.IO-27396dd/node_modules/passport/lib/passport/strategies/session.js:48:12)

Any help is appreciate! Regards, -A

themgt commented 11 years ago

I fixed this by reverting node-redis to 0.7.2

alexgenovese commented 11 years ago

How can I do that ?

themgt commented 11 years ago

For right now, my fork for testing on pogoapp has reverted node-redis to 0.7.2 and fixed the Socket.IO redisSub connection issues (#71): https://github.com/themgt/Balloons.IO - that should work for you

alexgenovese commented 11 years ago

Thanks a lot for your help! just one last thing! I see the screenshot that it isn't the same at the code that I have downloaded... why ?

rickyrauch commented 11 years ago

@alexgenovese work in progress. If someone of you want to collaborate please contact me! I need more hands on this.

impronunciable commented 11 years ago

We got back to the redis module version 0.7.2