Hi!

Did you find a solution? It seems to me the error you get from « pipe.js » is 
unrelated to the TCP socket code…

  - Louis

> Le 2015-04-28 à 09:32, Gino <[email protected]> a écrit :
> 
> Hi,
> 
> We currently have one server using APE v 1.1.1 in production. I am now trying 
> a new machine with the latest version v1.1.2.
> I compiled the source on Ubuntu 14.04 and installation was successful and APE 
> is now running. 
> To test, I replaced the production server with this new test server, using 
> all the same network configuration while the old one was temporarily 
> disconnected.
> I used the ape-jsf/Tools/Check/index.html page to test APE and tests have 
> passed.
> 
> I also used a modified version of this TCP sample code located on this page 
> for testing: https://github.com/APE-Project/APE_Server/wiki/JS-TCP---socket
> Instead of opening to google.com I open a socket to a local IP address
> 
>     client.addEvent('ready', function() {
>           console.log("hoi");
>           var socket = new TCPSocket();
>           socket.open('192.168.5.170', 11506);
>           socket.onopen = function() {
>               console.log('connected');
>           }
>           socket.onread = function(data) {
>               var e = document.getElementById('output');
>               e.innerHTML = data;
>           }
>           socket.onclose = function() {
>               console.log("closed");
>           }
>       });
> 
> But I get an error in Pipe.js:61
> 
> Cannot read property 'pubid' of undefined.
> 
> 192.168.5.170:11506 is already added in the modules/conf/proxy.conf
> 
> and all other settings are identical to the production server.
> When I return the production server the code above works fine with no errors.
> 
> Could anybody help me troubleshoot this problem?
> 
> Thanks in advance!
> 
> -- 
> -- 
> 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 
> <http://groups.google.com/group/ape-project?hl=en>
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/ <http://www.ape-project.org/>
> Git Hub : http://github.com/APE-Project/ <http://github.com/APE-Project/>
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to