Indeed, I havn't yet added the "setpos" module to the server. I will ASAP :)

Rachid Alowairdi a écrit :
> Well this is the demo code so I have not changed anything on the 
> server or on the client, I gave you this info because I thought you 
> were working on the development of APE :)
> As for the ajax calls yes, I double checked before sending the 
> previous message (And I checked again as I write just to be sure ;))
>
> As Anthony said this particular demo does not work (yet?), maybe the 
> missing command server side is all that is needed and will be added in 
> a future build?
>
> On Fri, Nov 13, 2009 at 4:05 PM, Dominik 
> <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi!
>
>
>     > 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"}}}}]
>
>     That's the correct behaviour.
>
>
>
>     > [{"time":"1258122068","raw":"CLOSE","data":{"value":"null"}}]
>
>     Hm...usually this is the response when a request times out and a new
>     one is created, are you sure that you have chosen the right response?
>
>
>
>     > [{"time":"1258122068","raw":"ERR","data":{"chl":
>     > 4,"code":"003","value":"BAD_CMD"}}]
>
>     This response means, that there is no Javascript loaded on the server,
>     which registers the sent command...
>     As far as I remember the Browser send a SETPOS-Command when you change
>     the position...did you write and include an appropriate Javascript-
>     File on the server-side, which handles these commands.
>     So, did you include a Javascript which calls
>
>     Ape.registerCmd('SETPOS', true, function(params, infos){
>           //Code to send position to other users...
>     });
>
>
>     Such a javascript is not shipped with the APE by default, you got to
>     write it on your own if I remember correctly...
>
>
>
>
>
>     > Hope it helps!
>     >
>     > On Nov 13, 3:22 pm, Dominik <[email protected]
>     <mailto:[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]
>     <mailto:[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]
>     <mailto:[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]
>     <mailto:[email protected]>
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:ape-project%[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/
>
>
> -- 
> 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/ 

-- 
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/

Reply via email to