On Tuesday, February 25, 2020 at 12:52:46 AM UTC-8, Edoardo Torrini wrote: > > Hi Dave, > thanks for the reply, but I have notice that the code is wrong, I will > explain. > Since I need three function in task I used another one to collector and > after I redirect by an if statement. >
Okay, the correction takes care of my surprise, and I re-read your other thread with that in mind. I am not sure why you are using a task; but that's a side issue. Do I understand the results correctly? * you have two versions, one with task and a test version without a task * both versions run ok with browser-initiated requests * the task version does not run ok from the client Does the test version run ok from the client? does the GetAsync() call generate an HTTP(S) request? Have you looked at the request details in either log files or with Christian's suggestion of burp suite and compared that to the browser request? How long does it take for the task to start and run? Sorry I'm not more help, I've been "watching" py4web but haven't actually used it, and the same for celery, so I've not dived into the request details or more of scheduling than the celery tutorial. Good luck! Dave /dps -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/48d8ffab-3b31-4729-98f0-6eb3c0a83965%40googlegroups.com.