Closed tvvocold closed 9 months ago
PS. As I've told people who have wandered in here, this code is quite old and could use a refactor to more match today's better practices in node, express, openshift, etc.
cannot use https:// it shows "messages (web browser): sorry, we are experiencing technical difficulties."
same issue when i add a cname to it... need i change something in openshift?
Not sure what to tell you. I just visited the link above in Chrome on my home computer.
If you're getting error messages, try Chrome. I didn't do extensive browser testing, although the code shouldn't have a problem with Firefox, Safari, or Opera.
openshift has a rule which 24 hour with no request and it will into idle state,so u need a server ping openshift, i use uptimerobot.it's free. btw, i use chrome all the time,and have u solve the cname(alias) problem? (i notice that u just commit)
(u could just use a free domain by freenom.com and rhc alias-add $freedomain.com $urapp)
also, firt come in the server and there should be "type a name"rather than "type a message,hit return"
btw,cool project!hope u can commit more.
now it is not working by use https://openshift's alias or use http://myownalias,just working when use http://openshift's alias(i use the newest git) i think maybe the server.js need to edit..
Ahh that makes sense that they idle it.
I'm no longer tempted to update this particular project. I wrote the example a long time ago and knew that someday it would need to be updated. The original purpose of the example was to try to do as much stuff, and include openshift, as possible.
Node development has changed, two-way-binding frameworks have caught on, Node frameworks and patterns have matured. What I sometimes think about in the spare time I don't have loads of is to rewrite this project in a concise and well architected way. I'd probably use Angular or Ember on the frontend, I wouldn't share code between frontend and backend, and I'd make the interface more restful (albeit still using websockets).
If you'd like to do a 2.0 of this project, or submit pull requests, or fork and take over everything, you have my support and adoration for doing so.
oh, man, i don't know about node.js...well done,though.
i am looking for a chat room for my community,so i looked ur project and find it's cool but couldn't bind alias...so good luck with me!
Oh that makes more sense. Yeah, I wouldn't use this out of the box. Flattered you'd consider it, but you should find something that's more full featured, whereas this was meant for people interested in learning the ins and outs of programming.
Good luck to you. Hope you find what you're looking for.
Yes. I try to leave this up:
http://chatty-jeremyosborne.rhcloud.com/
I ran into some odd issues getting this up and running again this morning. Not sure if issues have always been there or openshift changes were causing problems, but things seem to be working correctly again (including with websockets).