Adding exception handling inside my RESTful api fixed my problem. Sometimes my RESTful posts contained corrupted data and this would cause an exception and hang future posts. Adding try/except solved my issue.
Thanks, Bart On Friday, November 21, 2014 8:36:36 AM UTC-7, Bart wrote: > > I have a python script that posts data to my web2py/application/projects > database using RESTful services. Everything works fine for an hour or two, > but then all future posts will timeout. If, using a web browser, I reload > the web2py application's main page then the RESTful services start working > again for another hour or two. Any ideas why I cant run a script 24/7 to > GET/POST data to my web2py application's RESTful services? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.