Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Jul 18th, 2006, 1:46 PM   #1
Sane
Banned
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,101
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
CherryPy Upload Timeout

Bah. Now this problem is really starting to piss me off. It has been an ongoing occurance for the last 5 to 6 months now.

Sometimes when a user tries to upload something on my site, it times out. Then the further you get away from my server, the less likely you are to time out. Since I am on the same network, it never does for me. People in Malaysia time out constantly.

However! It works perfectly if I kill the server. Kill all the Python processes (yes, I don't know why there are other subprocesses still running...). Then restart the server. Then it works anywhere.

I tried googling for other people having the same issue, I found one ticket that said the temporary file (used as an intermediate stage between the source and the destination), was never being closed. However, that ticket was in September, and I reinstalled CherryPy some time in February I believe.

It's not necessary to post my code, because it is in no way different than what they tell you to use in the CherryPy documentation.

Is this a problem with my Internet Service Provider? My internet connection? My CherryPy configuration?

conf = dict()
conf['global'] = {
        'server.socketPort': 80,
        'logDebugInfoFilter.on': False,
        'server.threadPool': 50,
        'staticFilter.root': ''
                 }

...

cherrypy.config.update(conf)

It is CherryPy 2.1.0 if I am not mistaken.
Sane is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CherryPy Multiple Threads Sane Python 25 Feb 20th, 2006 9:22 PM
CherryPy with py2exe Sane Python 0 Feb 5th, 2006 1:01 PM
winsock troubles w/ upload file c0ldshadow C++ 2 Feb 3rd, 2006 10:00 PM
Upload a file by getting the file form drive bennyz12 ASP 1 Jul 29th, 2005 9:46 PM
Help with the file upload control Lipo HTML / XHTML / CSS 3 May 2nd, 2005 12:32 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC