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.