Hi folks Reading the manual (should had done it first) I saw that push could solve my problem, but sometimes I will need to sende big data to it (appx. 3k) and now I am gettin an 500 error from ape.
Any idea? Cordialmente, Adilson Carvalho --- Vida?! Não, é intervalo de superfície. Vida mesmo, só debaixo d'água. Tá de bobeira? Venha conhecer o meu blog em http://adilsoncarvalho.com.br/blog/ 2011/1/19 Adilson Carvalho <[email protected]> > Hi folks, > > I need one server to broadcast information throught APE, but I am not > having a good time. > > I tried firing POST's to the server like those ones > > var request = > "[{\"cmd\":\"CONNECT\",\"chl\":!chl!,\"params\":{\"name\":\"!nome!\"}}]" > .Replace("!chl!", chl) > .Replace("!nome!", nome); > > var response = Send(request); > > And inside Send i just use WebClient class to send it. All goes pretty well > until I try sending a menssage, when I get this result after a long delay: > > System.Net.WebException: The remote server returned an error: (500) > Internal Server Error. > at System.Net.WebClient.UploadDataInternal(Uri address, String method, > Byte[] data, WebRequest& request) > at System.Net.WebClient.UploadString(Uri address, String method, String > data) > > Is there another way to do that? Sockets maybe? > > Cordialmente, > > Adilson Carvalho > > --- > Vida?! Não, é intervalo de superfície. Vida mesmo, só debaixo d'água. > > Tá de bobeira? Venha conhecer o meu blog em > http://adilsoncarvalho.com.br/blog/ > -- 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/
