Hi again :)

I am starting to build my app from scratch, and I already encounter a
very simple issue, here is the code I have:

var client = new APE.Client;
client = new APE.Client();
client.load({
        complete: function(ape){
                console.log('completed');
                ape.start();
        }
});

It is inspired from the jQuery example found here :
http://www.ifc0nfig.com/using-jquery-with-ape/
My problem is that the ajax call made by ape.start() throws the
following error:
[{"time":"1258374864","raw":"ERR","data":
{"code":"001","value":"BAD_PARAMS"}}]
The posted values are the following:
[{"cmd":"CONNECT","chl":1}]

I tried having some addEvent setup before the ape.start(), but it did
not change anything. I also tried to call ape.start() with an argument
(ape.start('nickname')) but same issue.

I have not begun to write any JS serverside, since the pooled
connection does not setup yet.

Any idea? I do not know if I should raise a bug for this, I think it
is something not working on my side...

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