Yes. Thanks guys. Indeed, it is a message from Apache! I posted quickly
before going home without too much thought.
This said, I have no clue what this means.
I use proxy on my local machine but not on the production and staging
server where APE has its own IP. So I doubt the proxy thing is the
explanation. It will probably be useless but I give my local config anyway:
<VirtualHost 83.170.85:13:80>
ServerName ape.happymeeple.com
ServerAlias *.ape.happymeeple.com
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
ErrorLog /var/www/HM/log/apache_APE_error.log
CustomLog /var/www/HM/log/apache_APE.log vhost_combined
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>
Finally, I noted that if I start from a fresh browser after the APE
restart, the command goes through well. However, if I login to APE, then
restart APE, then logout and try to relogin to APE, this is when the error
comes. In my latest test, it took 53 seconds for the command to finally
reach APE.
???
On Wednesday, October 1, 2014 4:20:49 AM UTC+1, christian audebert wrote:
>
> Are you sure you have correctly restarted aped. ?? it seem, with the
> apache respond, that ape doesn’t restarted..
>
> Like Louis said, it’s an apache response, not an ape response..
>
>
>
>
>
>
>
> *De :* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *De la part de* Nicolas
> *Envoyé :* mardi 30 septembre 2014 19:26
> *À :* [email protected] <javascript:>
> *Objet :* Re: [APE Project] Session persists for 45 seconds after APE is
> closed
>
>
>
> Well I did some further investigation.
>
>
>
> The reality is not what I thought it was, but it is weird nonetheless.
>
>
>
> IWhen I want to login a user, I send a command like this to APE:
>
>
>
>
> http://ape.local.ape-project.org/?[%7B%22cmd%22:%22REGISTER%22,%22params%22:%7B%22name%22:%22register_user%22,%22user_id%22:%22105501%22,%22user_agent%22:%22Mozilla//5.0%20(Windows%20NT%206.1;%20WOW64)%20AppleWebKit//537.36%20(KHTML,%20like%20Gecko)%20Chrome//37.0.2062.124%20Safari//537.36%22,%22check_key%22:%gfgdsf%22,%22activation_key%22:%gsdfgsd%22,%22user_ip%22:%22192.168.18.1%22%7D%7D
>
> <http://ape.local.ape-project.org/?%5b%7B%22cmd%22:%22REGISTER%22,%22params%22:%7B%22name%22:%22register_user%22,%22user_id%22:%22105501%22,%22user_agent%22:%22Mozilla//5.0%20(Windows%20NT%206.1;%20WOW64)%20AppleWebKit//537.36%20(KHTML,%20like%20Gecko)%20Chrome//37.0.2062.124%20Safari//537.36%22,%22check_key%22:%25gfgdsf%22,%22activation_key%22:%25gsdfgsd%22,%22user_ip%22:%22192.168.18.1%22%7D%7D>
> ]
>
>
>
> This is dealt with and provided the user has the right to login, this
> returns the right answer and the login is processed.
>
>
>
> However, let's assume one user is logged in and correctly connected to
> APE. Then I close APE and restart it. Then I close the PHP session of the
> user and try relogin. Then the previous command is sent again, but this
> time I get the following error:
>
>
>
>
> Service Temporarily Unavailable
>
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
> ------------------------------
> Apache/2.2.14 (Ubuntu) Server at ape.local.ape-project.org Port 80
>
>
>
>
>
> It goes away after more or less 45 seconds.
>
>
>
> Why is that?
>
>
>
> Nicolas.
>
>
>
>
>
>
> On Saturday, September 27, 2014 5:17:34 PM UTC+1, Louis Charette wrote:
>
> You mean the actual sessions when ape is restarted on the server side?
> Never seen that. Everything should be in memory I guess, so sessions are
> flushed on the server when APE is closed.
>
>
>
> - Louis
>
>
>
> Le 2014-09-25 à 08:47, Nicolas <[email protected]> a écrit :
>
>
>
> Hi,
>
>
>
> I have long noticed that after closing et restarting APE, sessions from
> the first instance are still active for 45 seconds.
>
>
>
> Why is that? Where is the session information stored? On the hard disk I
> suppose?
>
>
>
> Thanks.
>
>
>
>
>
>
>
>
>
> --
> --
> 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]
> <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> 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:>.
> 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.