Hello all,
I'm learning Django and using modwsgi to deploy my app with SSL enabled. I
currently run into a strange error: this message keeps appearing in Apache
log file each time I visit any URL in my Django app:
[Fri Nov 02 00:27:08 2012] [info] Subsequent (No.4) HTTPS request received
for child 4 (server beta21.com:443)
[Fri Nov 02 00:27:13 2012] [info] [client 24.5.187.123] (70007)The timeout
specified has expired: SSL input filter read failed.
[Fri Nov 02 00:27:13 2012] [info] [client 24.5.187.123] Connection closed
to child 4 with standard shutdown (server beta21.com:443)
The second line (with 70007 error code) was printed very shortly after I
click any URL, I believe it's less than 1 second. I'm not sure if this is a
normal behavior, but I doubt it's the root cause that makes my webapp
doesn't work like described below:
1. In my Django app, I have a form, when user submit this form, I'll call
an external REST API (e.g Twitter API)
2. Every time I call this external API, the browser just hang, and it can't
process further, just stop at the submitted form
When I host my app with Django development server (python manage.py
runserver), I don't have this problem.
My Apache virtualhost config is pasted below:
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName beta21.com
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert.key
Alias /static/ /home/duyn/beta/static/
<Directory /home/duyn/beta/static>
AllowOverride all
Options -MultiViews
</Directory>
WSGIDaemonProcess beta21.com threads=25 display-name=%{GROUP}
WSGIProcessGroup beta21.com
WSGIScriptAlias / /home/duyn/beta/wsgi.py
<Directory /home/duyn/beta>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Any idea why it doesn't work?
Thanks,
Duy
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/modwsgi/-/p_o04Sprw40J.
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/modwsgi?hl=en.