For future reference, I managed to get it working *somwhow* using Apache. It handle websocket, but not long pooling, so... I disabled longpooling... Pretty much everything (post IE9) support websocket now anyway.
In my apache ssl vhost: ProxyPass /ape/ ws://localhost:6969/ ProxyPassReverse /ape/ ws://localhost:6969/ Note "ws" and not "wss" in apache file ;) Connect using "domain.com/ape/" and "secure: true" in ApePubSub. - Louis Le samedi 24 septembre 2016 17:35:22 UTC-4, Louis Charette a écrit : > > Hi Nicolas, > > Thanks for the quick reply! I’m not even sure why I use websocket over > long pooling… I barely use APE anymore, but that one chat system would be > fun to keep. > I’ll see what I can find. Might be an area where socketIO have the same > problem. > > Thanks and take care ;) > > Le 24 sept. 2016 à 17:29, Nicolas <[email protected]> a écrit : > > Hi Louis, > > I do not work with SSL at all. > > As far as I can remember (unfortunately, my memory is not so good for > those things), managed to make it work with HaProxy, but later realized > that I did not actually need it on my production server (because the config > is different from my local machine). > > And later I reverted back to the default method because websockets > generated issues with what I was trying to do to solve connection issues. > As far as I can remember Websockets was duplicating messages or something > like that when I was trying to resend them which made it impractical. As > Websockets had not improved the situation on the stability side, I decided > it was better to revert and solve cheaply the issue I had with the new > lines of code. > > My answer will probably not answer your question unfortunately :( > > > > > On Saturday, September 24, 2016 at 7:56:07 PM UTC+2, Louis Charette wrote: >> >> @Nicolas : Did you get it to work on secure web socket (wss)? I'm >> switching to ssl for the main website and it complains about ws not being >> secure and can't get wss to work with HaProxy for now. >> > > -- > -- > 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. > > > -- -- 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.
