Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SSL timeout error 70007
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Duy Nguyen  
View profile  
 More options Nov 2 2012, 3:38 am
From: Duy Nguyen <duy250...@gmail.com>
Date: Fri, 2 Nov 2012 00:38:43 -0700 (PDT)
Local: Fri, Nov 2 2012 3:38 am
Subject: SSL timeout error 70007

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Dumpleton  
View profile  
 More options Nov 2 2012, 5:18 am
From: Graham Dumpleton <graham.dumple...@gmail.com>
Date: Fri, 2 Nov 2012 20:18:31 +1100
Local: Fri, Nov 2 2012 5:18 am
Subject: Re: [modwsgi] SSL timeout error 70007
On 2 November 2012 18:38, Duy Nguyen <duy250...@gmail.com> wrote:

Can't help you with the SSL issue.

> 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

What Python modules are you using as client and/or to process the response?

It is possible you are using a Python module with a C extension which
doesn't work in a Python sub interpreter. Try setting
WSGIApplicationGroup as detailed in:

http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_Simpli...

This magic sauce often helps with lockups.

Graham


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Duy Nguyen  
View profile  
 More options Nov 2 2012, 10:28 pm
From: Duy Nguyen <duy250...@gmail.com>
Date: Fri, 2 Nov 2012 19:28:54 -0700 (PDT)
Local: Fri, Nov 2 2012 10:28 pm
Subject: Re: [modwsgi] SSL timeout error 70007

Thanks Graham, it works like magic :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »