-
Posts
24,861 -
Joined
-
Last visited
-
Days Won
885
Everything posted by Krydos
-
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.
-
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
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. -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
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. -
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.
-
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
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? -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
I just re-enabled the WSGI access and it should go into effect after the next Apache restart. -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
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 -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
If 99.47% uptime isn't good enough you can always upgrade to Morty which has 100% uptime at https://heliohost.org/dashboard/move/ If you are planning on moving over you can let us know what Python modules you need in advance since they don't move with you. -
[Solved] epicman212 issue with DKIM on my domain
Krydos replied to epicman212's topic in Escalated Requests
We can't set up DKIM, SPF, and DMARC for you because you're not using our nameservers. You either need to change your NS records to ns1.heliohost.org and ns2.heliohost.org or set up DKIM, SPF, and DMARC yourself on registrar-servers.com. -
Probably not. I tried changing your password several times, and Plesk didn't update the git password correctly. I suspect if you change your account password the git password will remain the same as the one I emailed you.
-
I tested this by changing your password, and I can confirm that Plesk is not setting the git password correctly. I have emailed you the new password that I tested git with. Let us know if you can access your repo with that password.
-
This forum account has been deleted as requested. You should be able to change your other forum account email now.
-
Try this Login at https://heliohost.org/login/ Continue to Plesk Click your username in the top right corner Click edit profile Change the password Go to https://ygo.helioho.st/plesk-git/comforting.git/ Try logging in with the new password
-
A wiki account has been created for you, and the instructions on how to login and set a password have been emailed to you. Thanks in advance for your contributions to our wiki.
-
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.
-
The domain thelema93.com.br has been added to your account.
-
WSGI control access has been enabled on the domain talesazoeto.heliohost.us. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/talesazoeto.heliohost.us/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.
-
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
Still the same thing [Wed Apr 16 16:12:21.564404 2025] [wsgi:error] [pid 3963178:tid 3963190] [remote x.x.x.x:47984] raise OperationalError("MySQL Connection not available.") I have a connection monitoring script running. Try to trigger the error, or give me a URL I can refresh to see if I can cause the error to happen. -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
One of the reasons I don't like Python very much [Wed Apr 16 15:13:59.541642 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] mod_wsgi (pid=3394794): Failed to exec Python script file '/home/talesaz.heliohost.us/httpdocs/bma/flask.wsgi'. [Wed Apr 16 15:13:59.541971 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] mod_wsgi (pid=3394794): Exception occurred processing WSGI script '/home/talesaz.heliohost.us/httpdocs/bma/flask.wsgi'. [Wed Apr 16 15:13:59.542404 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] Traceback (most recent call last): [Wed Apr 16 15:13:59.543014 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/flask.wsgi", line 9, in <module> [Wed Apr 16 15:13:59.543061 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] from run import app as application [Wed Apr 16 15:13:59.543106 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/run.py", line 1, in <module> [Wed Apr 16 15:13:59.543137 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] from app import app [Wed Apr 16 15:13:59.543179 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/app/__init__.py", line 6, in <module> [Wed Apr 16 15:13:59.543197 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] from config import Config # Importa o arquivo de configura\xc3\xa7\xc3\xa3o [Wed Apr 16 15:13:59.543208 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] ^^^^^^^^^^^^^^^^^^^^^^^^^ [Wed Apr 16 15:13:59.543271 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/config.py", line 5 [Wed Apr 16 15:13:59.543323 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] \tSQLALCHEMY_ENGINE_OPTIONS = { [Wed Apr 16 15:13:59.543380 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] ^ [Wed Apr 16 15:13:59.543423 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] TabError: inconsistent use of tabs and spaces in indentation -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
That doesn't give a lot of information. Maybe it's timing out? Try this again, and when you get the 500 error let me know the timestamp and I'll see if there are any more information in the logs that you can't access. -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
[Tue Apr 15 23:37:05.906471 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ret = self._execute_context( [Tue Apr 15 23:37:05.906475 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906480 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1818, in _execute_context [Tue Apr 15 23:37:05.906484 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] self._handle_dbapi_exception( [Tue Apr 15 23:37:05.906489 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2352, in _handle_dbapi_exception [Tue Apr 15 23:37:05.906495 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] raise sqlalchemy_exception.with_traceback(exc_info[2]) from e [Tue Apr 15 23:37:05.906499 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1812, in _execute_context [Tue Apr 15 23:37:05.906504 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] context = constructor( [Tue Apr 15 23:37:05.906509 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906513 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1429, in _init_compiled [Tue Apr 15 23:37:05.906518 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] self.cursor = self.create_cursor() [Tue Apr 15 23:37:05.906523 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906527 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1768, in create_cursor [Tue Apr 15 23:37:05.906532 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] return self.create_default_cursor() [Tue Apr 15 23:37:05.906536 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906541 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 59, in create_default_cursor [Tue Apr 15 23:37:05.906546 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] return self._dbapi_connection.cursor(buffered=True) [Tue Apr 15 23:37:05.906550 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906555 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1486, in cursor [Tue Apr 15 23:37:05.906560 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] return self.dbapi_connection.cursor(*args, **kwargs) [Tue Apr 15 23:37:05.906564 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906569 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/mysql/connector/connection_cext.py", line 824, in cursor [Tue Apr 15 23:37:05.906573 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] raise OperationalError("MySQL Connection not available.") [Tue Apr 15 23:37:05.906581 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] sqlalchemy.exc.OperationalError: (mysql.connector.errors.OperationalError) MySQL Connection not available. MariaDB hasn't restarted for 8 hours, and has had 100% uptime during this error. How many database connections are you using? We limit people to 10 connections so if you try to open more than 10 connections it would explain why you can't open more connections. We used to offer unlimited database connections, but some jerk decided to take advantage of our generosity by opening 173 connections and never closing any of them. One jerk always ruins the fun for everyone else. -
WSGI control access has been enabled on the domain app.zhirofund.com. To restart your Django app and load new code changes in simply edit /home/app.zhirofund.com/httpdocs/djangotest/djangotest/dispatch.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.
-
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
WSGI control access has been enabled on the domain talesaz.heliohost.us. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/httpdocs/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. If you get a 500 error check the error logs, and if there isn't much useful information in there let us know and we may be able to get some more logs for you. Plesk isn't very good at filtering Flask logs into the right user accessible logs. At least with WSGI restart access you won't get 500 errors from bugs that you've already fixed, which is very confusing and frustrating. -
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
Did you request WSGI restart access? Source: https://wiki.helionet.org/Flask#WSGI_Uses_Caching