Just did a fresh loading, I will just give you the JSON data sent:
First connexion, closes immediately:
[{"time":"1258122064","raw":"LOGIN","data":
{"sessid":"46bd8bfbfee522da10e5591b855f88c3"}},
{"time":"1258122064","raw":"IDENT","data":{"user":
{"casttype":"uni","pubid":"5d63fc55190913a9af46ec8c732625fd","properties":
{"name":"ugasy"}}}},{"time":"1258122064","raw":"CHANNEL","data":
{"users":
[{"casttype":"uni","pubid":"5d63fc55190913a9af46ec8c732625fd","properties":
{"name":"ugasy"},"level":1}],"pipe":
{"casttype":"multi","pubid":"9c7ee2a51059a68bb3705533fbf874b6","properties":
{"name":"move"}}}}]
Second connexion (pooled, closes when trying to move the bubble
somewhere the first time):
[{"time":"1258122068","raw":"CLOSE","data":{"value":"null"}}]
Third connexion (opens and closes immediately after clicking):
[{"time":"1258122068","raw":"ERR","data":{"chl":
4,"code":"003","value":"BAD_CMD"}}]
All further connexions open/close immediately when clicking ("time"
parameter changes obviously ;)):
[{"time":"1258122216","raw":"ERR","data":
{"code":"003","value":"BAD_CMD"}}]
All connexions are made to the following URL:
http://22.ape.mydomain.com:6969/0/?yourJSONHere
Hope it helps!
On Nov 13, 3:22 pm, Dominik <[email protected]> wrote:
> And what is the response from the APE-Server when the connection is
> closed after 10s? Is it the BAD_SESSION-error or which one?
>
> On Nov 13, 3:06 pm, Cadrach <[email protected]> wrote:
>
> > Wow thanks for all the quick answers!
>
> > Ok, I deactivated the rewrite and the Chat demo now works properly,
> > the Move demo still gets the same bug (as expected if I follow
> > Anthony)
>
> > Is the proxy feature going to disappear, or is it going to be
> > functionnal again in the future? 6969 port cannot be open on all
> > configuration, and sometimes even the 443 has to be used for something
> > else.
>
> > As for the error itself in the Move demo, yes I use firebug and what
> > happens is most of the time the pooled connection closes rather
> > quickly (like 10s after loading if I click too much), and then there
> > is no permanent loading ajax request. When you move however an ajax
> > request is properly sent to ape, and closes immediatly. The other
> > browser does not get the move even if the pooled connection is
> > running. Dunno if it helps!
>
> > Again thanks a lot for your answers, and keep up the excellent work!
>
> > Cadrach
>
> > On Nov 13, 2:23 pm, Anthony Catel <[email protected]> wrote:
>
> > > > Hi Cadrach.
>
> > > > APE 1.0 doesn't support Apache mod_proxy. (If you use the old htaccess).
> > > > Try a direct connection to APE by specifing the right port in config.js
>
> > > > Btw the demo doesn't work on 1.0 yet ;)
>
> > > Oups : The demo "Move". Others work.
>
> > > > Thanks
>
> > > > Cadrach a crit :
>
> > > >> The following issue happens on 1.0 Beta1 and 1.0 Beta5:
> > > >> - The test page displays correctly
> > > >> - The server is setup using apache with a rewrite rule, ape listening
> > > >> on port 6969
>
> > > >> When I load the "Move" demo on my first browser (FF for example), the
> > > >> bubble and random name display correctly
> > > >> When I load the demo on my other browser (Safari for example), the
> > > >> bubble is created correctly, and appears in the first browser. However
> > > >> when I try to move, it does not move on the first browser. Same if I
> > > >> move something from the first browser: it does not move in the second.
>
> > > >> I have the same kind of issue with the chat: I connect using a
> > > >> nickname, it appears immediatly on all connected browsers, but
> > > >> messages (either personnal or on test channel) are not "sent" to other
> > > >> browser.
>
> > > >> Even reloading the page does not change anything.
>
> > > >> These demos worked when I used 0.9, any idea what might be missing?
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/