Hi Pablo, Pardon my ignorance but exactly how to check the headers on the server? This is what I get from Chrome:
Request Header: GET ws://1.ape-cml.uwaterloo.ca:6969/6/ HTTP/1.1 Origin: http://1.ape-cml.uwaterloo.ca:6969 Connection: Upgrade Host: 1.ape-cml.uwaterloo.ca:6969 Sec-WebSocket-Key: E6/ctNVBh10GB4g8CaO6+Q== Upgrade: websocket Sec-WebSocket-Version: 13 Response Header: HTTP/1.1 101 Switching Protocols Connection: Upgrade Upgrade: WebSocket Sec-WebSocket-Accept: OqObUlga0K5OieTfqpb1rWnkwe0= If this is what you wanted me to check, I think everything is in check here. Any more tricks up your sleeves? I really appreciate all the help! Thanks again, Pouya On 28 April 2012 17:56, Pablo Tejada <[email protected]> wrote: > Try to check and debug your headers, and the handshake process. For > example as you may know the websocket technology relies on HTTP 1.1, > anything below that wont work. > > For example in my setup im unable to use websockets because all the front > end requests are proxied through a nginx server, even the APE server. This > might not be your case, just be aware of the headers you are getting from > the requests and any errors from the browser. > > Good Luck! > > Sent from my iPhone > > On Apr 28, 2012, at 4:28 PM, Pouya Emami <[email protected]> wrote: > > Hi Michele, > > I tried that and I still get the same error, I have copied the master repo > and I can see that the file is in the correct place. :S > > Any other suggestions? > > Thanks! > > On 28 April 2012 13:46, Michele Vezzoli <[email protected]>wrote: > >> Hi Pouya, >> >> your compile don't found the file : jsapi.h ( >> https://github.com/APE-Project/APE_Server/blob/master/deps/js/src/jsapi.h >> ) >> >> download the master @ >> https://github.com/APE-Project/APE_Server/zipball/master >> >> unzip , check the permission's file and directory, and if your >> enviroment is gnu/linux type: >> >> chmod +x build.sh >> ./build.sh >> >> Bye :) >> >> 2012/4/28 Pouya Emami <[email protected]>: >> > Hi Michele, >> > >> > I went ahead and changed the port to 6969 like you asked and it seems to >> > work in Firefox now but still no luck with Chrome. I am beginning to >> think >> > that there is something I am not seeing here. >> > >> > I have also tried to compile ape-server 1.1.2-dev from the git repo but >> I >> > get the following error when I try to compile: >> > >> > libape-spidermonkey.c:28:19: error: jsapi.h: No such file or directory >> > >> > and after that, I get a whole stream of errors before the compiler >> tells me >> > this: >> > >> > make: *** [modules] Error 1 >> > >> > So if you know what I'm doing wrong, I'm more than willing to listen to >> your >> > advice! >> > >> > Ask me anything you need to know and thanks again for all your help. >> > >> > Cheers >> > >> > On Thursday, April 26, 2012 4:12:27 AM UTC-4, Michele Vezzoli wrote: >> >> >> >> Hi Pouya, >> >> >> >> Your ape server is bind on 443 in cleartext wuthout ssl layer (but I >> >> don't think this is the real problem ), >> >> perhaps only for test you can change the port (default 6969), or try >> >> upgrade your server version Server 1.1.1 to 1.1.2-dev >> >> >> >> Bye >> >> >> >> :) >> >> >> >> >> >> 2012/4/26 Pouya Emami <[email protected]> >> >> > >> >> > Hello, >> >> > >> >> > I have an ape server running on ape-cml.uwaterloo.ca. When I run the >> >> > check tool in the ape jsf, everything checks out for all transports >> except >> >> > for 6 which is websockets. I have no idea how debug this as chrome >> is not >> >> > throwing any errors in the console. Any insight would be greatly >> >> > appreciated! >> >> > >> >> > You can see for yourself >> >> > here: http://ape-cml.uwaterloo.ca/APE_JSF/Tools/Check/ >> >> > >> >> > Thank you all 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 >> >> > --- >> >> > APE Project (Ajax Push Engine) >> >> > Official website : http://www.ape-project.org/ >> >> > Git Hub : http://github.com/APE-Project/ >> >> >> >> >> >> >> >> >> >> -- >> >> ________________________________ >> >> Michele Vezzoli IT Manager >> >> >> >> TEL: +39.030.5230600 MOB: +39.328.0555322 FAX: +39.030.5230600 >> >> SKYPE: michele.vezzoli.vardump >> >> VarDump S.r.l. - www.var-dump.it >> >> >> >> This e-mail message does not imply or cause any obligation, unless it >> >> is provided by a previous written agreement. This message is >> >> confidential: if you have received it by mistake, please advise >> >> immediately the sender by e-mail and destroy the message and its >> >> attachments. You are hereby notified that any unauthorized use of the >> >> content of this message could constitute a criminal offence. Thank >> >> you. >> > >> > -- >> > 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/ >> >> >> >> -- >> ________________________________ >> Michele Vezzoli IT Manager >> >> TEL: +39.030.5230600 MOB: +39.328.0555322 FAX: +39.030.5230600 >> SKYPE: michele.vezzoli.vardump >> VarDump S.r.l. - www.var-dump.it >> >> This e-mail message does not imply or cause any obligation, unless it >> is provided by a previous written agreement. This message is >> confidential: if you have received it by mistake, please advise >> immediately the sender by e-mail and destroy the message and its >> attachments. You are hereby notified that any unauthorized use of the >> content of this message could constitute a criminal offence. Thank >> you. >> >> -- >> 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/ > > -- > 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/
