Jump to content

Krydos

Chief Executive Officer
  • Posts

    24,853
  • Joined

  • Last visited

  • Days Won

    885

Everything posted by Krydos

  1. Is there any error message? SSH on VPS12 is working fine for me.
  2. Installed. You can see the current list of Python 3.12 modules on Tommy with this link https://krydos1.heliohost.org/pyinfo/info3.12.py
  3. Krydos

    503 Errors

    Over the past week or so both Johnny and Tommy have been experiencing occasional slow loading and 503 errors on PHP pages from time to time. This is definitely not normal because we've been using Plesk since 2021 and none of us can even remember the last time we saw a 503 error, and then suddenly they are happening quite frequently on these two servers. We are investigating the issue, and are hoping to resolve it soon. In the meantime, here are some ideas you can do to improve the uptime of your PHP based website. 1. Morty hasn't been affected at all by the 503 errors on PHP pages at all so far, so this is a great time to upgrade to our fastest flagship server starting at only $1 per month. You can check out the discounted Morty packages at https://heliohost.org/dashboard/move/ and move yourself over without talking to an admin by using our fully automated upgrade process with zero downtime for your website if you're interested in trying it out. 2. VPS also have not been affected by the 503 errors either. They start at $4 per month, and aren't affected by other users on the same server as you, because on a VPS you're the only user. Being able to have root SSH access is also a great perk of being a VPS customer. You can check out the plans at https://heliohost.org/vps/ 3. If you don't want to upgrade it is possible for some PHP websites to be converted to static websites. Since it is only PHP being affected by these 503 errors converting your site to use only static html, Javascript, and CSS will allow your website to load faster, have less errors, cause less server load, and greatly reduce the chance of your site getting hacked. It's not possible for all websites to be converted though so this isn't an option for everyone. 4. You could also switch to a language other than PHP. For instance, Python websites using CGI, Django, or Flask haven't been affected by the 503 errors at all. Node.js hasn't been affected by the 503 errors either, but if you decide to try Node.js we recommend keeping a close eye on your load graph at https://heliohost.org/dashboard/load/ because it's easy to go over your 200 GB memory limit. In order to diagnose these 503 errors, the first step we're going to take is implementing additional logging and performance monitoring so we can see exactly when and why the errors are occurring. Let us know if you have any questions, or have any additional information to assist in our investigation.
  4. You've got to admit this does not scream "I'm a legitimate email provider" We see criminals, phishers, spammers, etc. sign up with email addresses that when checked have messages like this all the time. Unsuspended.
  5. Plesk doesn't do a very good job of filtering Passenger and WSGI logs. It's only accessible to root admins because it has a lot of private info from other accounts in the same file. Create a file named .env and use the python module dotenv to load it.
  6. Remote access enabled. host=65.19.154.90 port=5432 user=an4s911_admin dbname=an4s911_anas password=<set in Plesk> [Mon Apr 28 23:41:41.088433 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] return _bootstrap._gcd_import(name[level:], package, level) [Mon Apr 28 23:41:41.088443 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Mon Apr 28 23:41:41.088454 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 1387, in _gcd_import [Mon Apr 28 23:41:41.088464 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 1360, in _find_and_load [Mon Apr 28 23:41:41.088473 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked [Mon Apr 28 23:41:41.088482 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 935, in _load_unlocked [Mon Apr 28 23:41:41.088491 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap_external>", line 995, in exec_module [Mon Apr 28 23:41:41.088509 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed [Mon Apr 28 23:41:41.088519 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "/home/anasbashir.helioho.st/httpdocs/library_app/migrations/0001_initial.py", line 7, in <module> [Mon Apr 28 23:41:41.088529 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] class Migration(migrations.Migration): [Mon Apr 28 23:41:41.088538 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "/home/anasbashir.helioho.st/httpdocs/library_app/migrations/0001_initial.py", line 59, in Migration [Mon Apr 28 23:41:41.088549 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] 'constraints': [models.CheckConstraint(condition=models.Q(('is_borrowed', False), ('returned_date__isnull', True), _connector='OR'), name='borrow_returned_implies_not_borrowed_check'), models.UniqueConstraint(condition=models.Q(('is_borrowed', True)), fields=('book',), name='borrow_unique_active_borrow_per_book')], [Mon Apr 28 23:41:41.088561 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Mon Apr 28 23:41:41.088572 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] TypeError: CheckConstraint.__init__() got an unexpected keyword argument 'condition'
  7. It's because you're trying to use an email address that is already associated with your Morty account that you deleted. I removed the email address from your deleted Morty account, and the new Tommy account created just fine. I sent you a password reset email, and once you click the link in that email to set a new password you should be able to login. Out of curiosity, why did you delete your Morty account only to create a Tommy account again a few days later?
  8. Remote access enabled. host=65.19.154.90 port=5432 user=fudobi_admin_weimburg dbname=fudobi_weimburg password=<set in Plesk>
  9. WSGI control access has been enabled on the domain grafolana.helioho.st. To restart your Flask app and load new code changes in simply edit /home/grafolana.helioho.st/httpdocs/GrafolanaBack/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  10. Most of those were already installed, but a few were missing. In order to save the staff time in the future if you need to request more modules, please go to https://krydos1.heliohost.org/pyinfo/info3.12.py first and use ctrl-f to search for modules before requesting them. This way it won't waste our time going through a long list of modules to figure out which ones are already installed and which ones actually need to be installed. Thanks.
  11. It's kind of funny that they posted from a US IP address saying they can't use a US hosting company because it isn't available in the US. Must be a VPN.
  12. Installed. You can see the current list of installed modules and their versions for Morty's Python 3.12 at https://krydos3.heliohost.org/pyinfo/info3.12.py
  13. Deleted.
  14. Still the same as before [Sat Apr 26 13:26:09.435132 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] [2025-04-26 13:26:09,411] ERROR in app: Exception on /turmas/aulas [GET] [Sat Apr 26 13:26:09.435328 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] Traceback (most recent call last): [Sat Apr 26 13:26:09.435339 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1812, in _execute_context [Sat Apr 26 13:26:09.435345 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] context = constructor( [Sat Apr 26 13:26:09.435351 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435356 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1429, in _init_compiled [Sat Apr 26 13:26:09.435362 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] self.cursor = self.create_cursor() [Sat Apr 26 13:26:09.435367 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435373 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1768, in create_cursor [Sat Apr 26 13:26:09.435379 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] return self.create_default_cursor() [Sat Apr 26 13:26:09.435384 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435390 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 59, in create_default_cursor [Sat Apr 26 13:26:09.435397 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] return self._dbapi_connection.cursor(buffered=True) [Sat Apr 26 13:26:09.435402 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435407 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1486, in cursor [Sat Apr 26 13:26:09.435414 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] return self.dbapi_connection.cursor(*args, **kwargs) [Sat Apr 26 13:26:09.435419 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435425 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/mysql/connector/connection_cext.py", line 841, in cursor [Sat Apr 26 13:26:09.435431 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] raise OperationalError("MySQL Connection not available.") [Sat Apr 26 13:26:09.435453 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] mysql.connector.errors.OperationalError: MySQL Connection not available. Also the same [Sat Apr 26 04:39:00.925777 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] [2025-04-26 04:39:00,910] ERROR in app: Exception on /conteudo [GET] [Sat Apr 26 04:39:00.925920 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] Traceback (most recent call last): [Sat Apr 26 04:39:00.925931 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1812, in _execute_context [Sat Apr 26 04:39:00.925935 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] context = constructor( [Sat Apr 26 04:39:00.925939 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925943 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1429, in _init_compiled [Sat Apr 26 04:39:00.925947 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] self.cursor = self.create_cursor() [Sat Apr 26 04:39:00.925950 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925954 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1768, in create_cursor [Sat Apr 26 04:39:00.925958 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] return self.create_default_cursor() [Sat Apr 26 04:39:00.925962 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925966 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 59, in create_default_cursor [Sat Apr 26 04:39:00.925970 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] return self._dbapi_connection.cursor(buffered=True) [Sat Apr 26 04:39:00.925974 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925978 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1486, in cursor [Sat Apr 26 04:39:00.925982 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] return self.dbapi_connection.cursor(*args, **kwargs) [Sat Apr 26 04:39:00.925985 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925989 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/mysql/connector/connection_cext.py", line 841, in cursor [Sat Apr 26 04:39:00.925993 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] raise OperationalError("MySQL Connection not available.") [Sat Apr 26 04:39:00.926008 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] mysql.connector.errors.OperationalError: MySQL Connection not available. The only reason I can think of why MySQL connection would be unavailable is if you're still hitting the max_connection limit.
  15. WSGI control access has been enabled on the domain tripleespress0.helioho.st. To restart your Flask app and load new code changes in simply edit /home/tripleespress0.helioho.st/httpdocs/subscriberInfo/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  16. Morty Apache restarts take between 4 to 9 seconds over the last month, so it would be impossible to see a 504 error because the restart needs to take more than 30 to 60 seconds seconds for it to actually timeout. During a 9 second Apache restart the page would just spin for an extra couple seconds during loading, and then display the website without any error. Nobody is ever even going to notice that, and it would be indistinguishable from your internet lagging slightly. Right now Morty has 608 virtualhosts so we would likely need to triple or quadruple that number in order for a 504 error to be possible. 503 error on a PHP script is likely the PHP script running for too long and getting killed. Perhaps try benchmarking your PHP scripts and see how long they are running for. Your load looks fine so we could increase your PHP timeout if you need, but it might not be necessary if you can optimize your code to not have to run for so long.
  17. WSGI control access has been enabled on the domain gdjkhp.heliohost.us. To restart your Flask app and load new code changes in simply edit /home/gdjkhp.heliohost.us/httpdocs/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  18. HelioHost has released a new YouTube video on how to install Nginx on a VPS. Check it out and subscribe at https://youtu.be/zHwWs7Tt2zc We are going to try to continue releasing new videos every 2 weeks, because some users find it much easier to follow a video guide rather than reading the text guides we have at https://wiki.helionet.org Please let us know if there is a specific topic that you think would be good for our next video. Also if you don't mind subscribing to our YouTube channel that would be a great way to get some free advertising. We are a small non-profit funded by donations so we don't have a huge budget to afford paid advertising, so the more word of mouth recommendations, the more social media likes, and the more subscribes we can get goes a long ways towards finding more users and continuing to grow. Even if you can't donate, this is a great way to help us for free. Thanks!
      • 1
      • Like
  19. Your VPS is being rebuilt and you'll get an email in about 7 minutes when it is done. Your next free rebuild will be available on 2025-05-20. Let us know if you need help with anything else.
  20. WSGI control access has been enabled on the domain arniskali.com. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/arniskali.com/bma/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues. WSGI control access has been enabled on the domain thelema93.com.br. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/thelema93.com.br/oeto/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  21. Installed. You can see the current list of installed modules for Morty's Python 3.12 at https://krydos3.heliohost.org/pyinfo/info3.12.py Keep in mind that you don't have WSGI restart access on any of your domains right now, so after you change code you may see the old code and the old errors popping up again. If you want WSGI access again just let us know which domain you're using now.
  22. When you upgrade your VPS you are presented with this message. If you have a suggestion on how to make that clearer please let us know. Your VPS has been upgraded to 10 GB memory as requested. I've already suggested you request a free rebuild several times, and that is definitely still applicable. Your VPS has crashed so many times that the filesystem is a mess, and it seems like a ton of permissions on important files and directories are all messed up as well. A rebuild would wipe the whole thing, and reinstall the operating system back to the original state when you first purchased it, so make sure you have a backup of any important files first if you do decide to take my advice.
  23. I'm confused. You requested and I enabled WSGI restart access on talesaz.heliohost.us. But now you're posting logs from a different domain. Which domain are you trying to run Flask on?
  24. I just re-enabled the WSGI access and it should go into effect after the next Apache restart.
  25. Installed. You can see the current list of installed modules on Morty's Python 3.12 at https://krydos3.heliohost.org/pyinfo/info3.12.py
×
×
  • Create New...