I checked out your always-on task, and it looks like it's trying to run a Flask app. You don't need to do that in order to run a website; when a website is configured on the "Web" page, it's started up right away, and if it's ever shut down, it will be started up again as soon as a request comes in. If you try to configure one as an always-on task, then a normally-configured Flask app will just start, exit, start again, exit again, and so on -- so on the "Tasks" page it will always look like it's starting, and the logs will just contain "Task preparing to start" because it will never log anything. So I recommend you just delete that always-on task, it's not doing anything useful.
Regarding internal server errors on your website -- check out the website's error log for that. There's a link to that on the "Web" page, and the most recent error will be at the bottom of the file.