Forums

Always on task not working!

Was trying to restart my always on task and getting this error ~ Permission denied. But before the recent outage everything was working fine, is this code error or issue from Pythonanywhere?

See https://help.pythonanywhere.com/pages/AlwaysOnTasks/#the-task-gets-stuck-in-starting

Same happens to me reguularly with a pro caacount. it hangs randomly (being unable to find mysql host) and when I try to restart the tasks, they always keep in "starting". I have already checked the link you mention and my tasks comply with the suggestions of that document.

@ultraxshaolin Please check the help page linked above. I see multiple tasks on your account but only one in state "Starting". That most probably means that the script is somehow broken and it starts, than crashes and re-starts again. I suggest adding more logging, or debugging it in a Bash console first.

Also -- I've spotted you pasted the same query in multiple threads on our forums, that will not make things faster and will rather add up more confusion, so please don't do that.