-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning:waitress message #41
Comments
Hi, Try removing waitress in main.py altogether: if __name__ == '__main__':
app.run() |
It might be a good idea to update the bot then. But be sure to adjust alerts to json strings as explained in the readme. In the screenshot I don't see that you've removed waitress though. |
No, that is the original config. As I said I tried removing that last block of code and replacing with what you suggested, but no luck. Is that what you meant - replace all of that last block of code? Sure yes it might be a good idea to update it, but as it took a long time to set up in the first place I'd rather not change anything if I don't have to. |
I'd then just recommend to keep your old setup and setup another folder with the current version. That way you could easily fall back in case its not working. I'll take a look at the correct flask code tomorrow then. What error are you getting though? |
You are not running it in a virtual environment? |
I say error - it's not an error I suppose but it's not working |
But, as I also said, restarting it with the original code works. |
Instead of: if __name__ == '__main__':
app.run() Use: if __name__ == '__main__':
app.run(host='0.0.0.0', port=80) |
Thanks, that seems to work! Do you have a crypto address so I can buy you a coffee? Your link only has paypal/cards. |
Awesome! |
I am running the bot on a windows 10 VPS and have just found this:
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 2
WARNING:waitress.queue:Task queue depth is 3
I haven't noticed it before and there haven't been any alerts in the TG channel for a few days so I assume something is wrong.
Thanks
The text was updated successfully, but these errors were encountered: