Closed brynnb closed 11 years ago
Also worth noting that logging in or creating a character doesn't actually work. The login and create buttons do nothing.
Interesting. That's the problem @Aaron1011 was seeing on OpenShift.
Just to see what happens, can you try reverting your git repo to (say) a week or so ago, and see if the same problem keeps on happening.
It'll be interesting to see if it's a problem with recent-ish code, or if maybe one of our npm dependencies is interacting badly with us.
Also, which browsers is this happening for (just in case)? :smile:
Hmm. As @justinclift mentioned, this is the same problem I'm experiencing on Openshift. However, I can't seem to reproduce it locally with the latest code.
@Aaron1011 - Hmmm, have you tried with node 0.6.12?
Actually, I haven't. I'm just trying it now.
I haven''t been able to test it locally with Node 0.6 yet (nvm is still compiling it), but on Openshift, 0.10 is being used (I'm manually checked through SSH).
According to the Connect README, it should be compatible with Node 0.6.x.
Aha! It seems that I'm having the problem too with Node 0.6. We should probably report this as a bug to Connect.
The question now, of course, is why it's happening on Openshift.
Understood. If the problem does show up locally for you with 0.6.12, then it could mean there's something left over with the OpenShift node-0.6 cartridge causing problems. Even though technically 0.10 is what's being executed.
@Aaron1011 - Cool. Would you be ok to try with node 0.8.
Everything is working fine with Node 0.8. I'll open an issue on their repository, and try to double-check the version of Node actually in use on Openshift.
@Aaron1011 - Cool. :smile:
We should update our README.md as well, to advise people to use Node.js 0.8.x or 0.10.x for now. I'll do that right away.
@brynnb - Are you ok to use a newer Node.js?
@Aaron1011 - As a thought, now that you can reproduce it locally with 0.6.x, you could set a breakpoint on line 151 of ws.js and see what's wrong with the request when it happens.
Something obvious might turn up from that. (I hope) :smile:
I think the problem is something internal to connect
, in that a property is not getting set on the object that it returns.
@Aaron1011 Of course, no problem to use newer node. Thanks for all the responses!
I've just determined that Openshift is in fact using Node 0.6, despite what I'd though earlier. I'll work on getting it to use Node 0.10, but at least now we know what the problem is. Hopefully the people at Connect will get back to us soon.
I guess we should close this since it isn't ours to fix and the README has been updated?
Going ahead and closing, updating node to 0.8.x fixed it as expected.
Cool. :smile:
Worth adding that the guy over at connect (https://github.com/senchalabs/connect/issues/858) claims this isn't their code breaking @justinclift @Aaron1011
On Ubuntu 12.04 with redis 2.6.14 and node v0.6.12.
I did a fresh install of everything and when loading the client page I get the following (every time I refresh it repeats itself):
I probably just configured something wrong. Any ideas?