...and if the proxy allow connection to ape using port 80 (alongside
Apache) for users who have port 6969 blocked.

Le vendredi 6 mai 2016, Pablo Tejada <[email protected]> a écrit :

> Hey,
>
> This is most likely a proxy issue like Luis suggests. I had a similar
> issue with my hosting provider because they use nginx proxy servers that
> did not supported websockets. My solution was to make the custom
> application port open/public. Within the year they upgraded to a nginx
> version that is suppose to support websocket connections but I have not
> tried it yet.
>
> The only pros I see to using a proxy server rather than a direct
> connection to APE is if the proxy provides a  secure TLS connection.
>
> On Fri, May 6, 2016, 5:36 PM Happy Meeple <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> Many thanks Louis!
>>
>> I will probably look into this.
>>
>> I did not intend to spend a lot of time on this issue... So many other
>> things to do :)
>>
>>
>>
>> [image: Happy Meeple] <http://www.happymeeple.com/en/>
>>
>> www.happymeeple.com/en/
>>
>> Nicolas Guibert
>> Games in Mind Ltd
>> Managing director
>> 7 Spencer Walk
>> London NW3 1QZ
>>
>> Tel: +44 (0)207 435 0315
>> UK Mobile: +44 (0)7438 657 537
>> Email: [email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>>
>> Vote for Happy Meeple! <http://www.boardgamelinks.com/links/details/1733>
>>
>>
>>
>> On 6 May 2016 at 23:25, Louis Charette <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> Hi!
>>>
>>> Indeed, it's probably proxy related. I remember something about Apache
>>> failing to proxy websocket causing me to use HaProxy instead of Apache
>>> proxy/reverseproxy for ape (there a wiki article on github about HaProxy).
>>> That and I think Apache need a special line for websocket proxy.
>>>
>>>  Try connecting to the raw url instead with the 6969 port, you'll see if
>>> it works at all.
>>>
>>> I know also websocket support on the server side was introduced in one
>>> of the latest version (in case you're using pre 1.1.2 or something
>>> version).
>>>
>>>   - Louis
>>>
>>>
>>> Le vendredi 6 mai 2016, Nicolas <[email protected]
>>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> a écrit :
>>>
>>>> After using the default transport mode for years, I am trying to switch
>>>> to Websockets. I suspect that this might improve the situation with APE
>>>> being not fully reliable in certain circumstances. Sometimes, commands to
>>>> APE stop being received (when the user is still connected to the Internet,
>>>> I know this because they can send me logs via AJAX after the APE connection
>>>> goes wrong). In these situations, resending the command does not help. APE
>>>> just does not receive from the client.
>>>>
>>>> So in short, I want to try Websockets and see if it helps.
>>>>
>>>> After including the appropriate transport JS file in the config as well
>>>> as switch APE.Config.transport to 6, I get an error in the handshake.
>>>>
>>>>
>>>> *ape_jsf.min:973 WebSocket connection to
>>>> 'ws://1.ape.local.ape-project.org/6/
>>>> <http://1.ape.local.ape-project.org/6/>' failed: Error during WebSocket
>>>> handshake: 'Upgrade' header is missing*
>>>>
>>>> Error on this line:
>>>> },initWs:function(){this.ws=new
>>>> WebSocket((this.ape.options.secure?"wss":"ws")+"://"+this.ape.options.frequency+"."+this.ape.options.server+"/"+this.ape.options.transport+"/");
>>>>
>>>> Does it ring a bell?
>>>>
>>>> Do I need to do something on the APE server side? Or cannot it work at
>>>> all because I have some weird settings there? (I see a thread where Pablo
>>>> Tejada talks about this possibility briefly).
>>>>
>>>> My Apache config for APE is below. Maybe the Proxy bits are the cause
>>>> of the problem?
>>>>
>>>> <VirtualHost *:80>
>>>>
>>>>     ServerName ape_on_optiplex_9020
>>>>     ServerAlias ape.local.ape-project.org
>>>>     ServerAlias *.ape.local.ape-project.org
>>>>
>>>>         # Everything expires after 10 months except php files that are
>>>> not cached
>>>>         ExpiresActive On
>>>>         ExpiresDefault A2592000
>>>>         #10 months
>>>>         ExpiresByType text/php A0
>>>>
>>>>     ProxyRequests Off
>>>>     ProxyPreserveHost On
>>>>     <Proxy *>
>>>>         Order deny,allow
>>>>         Allow from all
>>>>     </Proxy>
>>>>    ProxyPass / http://localhost:6969/
>>>>    ProxyPassReverse / http://localhost:6969/
>>>>     <Location />
>>>>         Order allow,deny
>>>>         Allow from all
>>>>     </Location>
>>>>
>>>> </VirtualHost>
>>>>
>>>> --
>>>> --
>>>> 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.
>>>>
>>>
>>>
>>> --
>>> Envoyé de mon iPhone
>>>
>>> --
>>> --
>>> 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]
>>> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> <javascript:_e(%7B%7D,'cvml','ape-project%[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]
>>> <javascript:_e(%7B%7D,'cvml','ape-project%[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]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>> To unsubscribe from this group, send email to
>> [email protected]
>> <javascript:_e(%7B%7D,'cvml','ape-project%[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]
>> <javascript:_e(%7B%7D,'cvml','ape-project%[email protected]');>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
>
> Sincerely,
>
> Pablo Tejada
>
> From Mobile
>
> --
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> To unsubscribe from this group, send email to
> [email protected]
> <javascript:_e(%7B%7D,'cvml','ape-project%[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]
> <javascript:_e(%7B%7D,'cvml','ape-project%[email protected]');>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Envoyé de mon iPhone

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