What steps will reproduce the problem?
on machine 1 1. check out svn revision 149 2. make 3. make runx
on machine 2 4. navigate to http://machine1:3001 5. subscribe to time demo
on machine 1
- erlycomet_demo:status().
- result is: Total connected clients: 0
What is the expected output? What do you see instead? even though the client is connected and subscribed
What version of the product are you using? On what operating system? svn rev 149, gentoo linux, erlang 5.6.1
Please provide any additional information below.
Comment #1
Posted on Jun 5, 2009 by Massive Bearseen on:
svn rev 149 ubuntu linux 2.6.24-23-xen SMP - x86_64 (Running on Slicehost) erlang 5.6.3
Comment #2
Posted on Jun 5, 2009 by Massive BearWhen trying to access demos via firefox, logging window at bottom of page reports:
cometd?message=%5B%7B%22version%22%3A%20%221.0%22%2C%20%22minimumVersion%22%3A%20%220.9%22%2C%20%22channel%22%3A%20%22%2Fmeta%2Fhandshake%22%2C%20%22id%22%3A%20%220%22%7D%5D&jsonp=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback (line 1)
Comment #3
Posted on Jul 22, 2009 by Quick MonkeyI met the same issue, I use fedora 11 x86_64, when request http://localhost:3000/, firebug displayed
POST http://localhost:3000/cometd 404 Object Not Found 74ms dojo.xd.js (第 20 行)
and erlycomet_demo:status(). was 0.
Comment #4
Posted on Sep 8, 2009 by Helpful CatI traced this error to the included /priv/ebin/*.beam files for a 2007 version of Mochiweb with bug as described at http://code.google.com/p/mochiweb/issues/detail?id=11 and fixed in Mochiweb revision 72. To fix with ErlyComet:
cd ~ svn checkout http://mochiweb.googlecode.com/svn/trunk/ mochiweb-read-only cd mochiweb-read-only make rm ~/erlycomet-read-only/priv/ebin/* cp ebin/* ~/erlycomet-read-only/priv/ebin cd ~/erlycomet-read-only make clean run
This will result in the samples running as expected.
Comment #5
Posted on Nov 6, 2009 by Swift Rhino@juliadotter: Thanks for your comment. This helped me.
Status: New
Labels:
Type-Defect
Priority-Medium