-
Posts
24,721 -
Joined
-
Last visited
-
Days Won
878
Everything posted by Krydos
-
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 -
To give an update, we're planning on upgrading to Python 3.13 and we will also update to the latest version of Django at the same time. Morty will be upgraded first, then Tommy, and then Johnny. We don't provide exact ETAs for upgrades like this, but it should happen within the next few months.
-
Upgraded. You can see the current list of installed modules on Tommy's Python 3.12 at https://krydos1.heliohost.org/pyinfo/info3.12.py
-
Closing due to inactivity.
-
[Solved] NodeJs dependency are not correctly being installed
Krydos replied to msbsurfi's topic in Escalated Requests
What operating system does your home PC use? -
HelioHost has released a new YouTube video on how to set up a Discord bot on any of our shared hosting plans, including the free Johnny plan. Check it out and subscribe at https://youtu.be/-9Q9SAONgtM Back in June 2021 we started a YouTube channel for HelioHost and began releasing videos on how to do various projects on our hosting. Our plan was to release a new video every 2 weeks, but then less than a month later we were forced to switch control panels. Since all of our systems, code, signup pages, and everything else were designed for our old control panel it was a massive undertaking to rewrite all of our websites and code to work with Plesk so we didn't have a lot of time to release new videos. Now that we're fully recovered, and our transition to Plesk is mostly done we decided it would be a good time to start releasing videos again. 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!
-
- 2
-
-
DKIM, SPF, and DMARC have been set up for the domain rsd.helioho.st. We recommend sending a real email (not just the word "test") to https://www.mail-tester.com/ to make sure that everything is set up correctly. If you get less than a 10/10 score please post a link to the full report so we can help you fix any other issues that there may be. Sorry for the slow response on this. Apparently it slipped through the cracks somehow, possibly because you replied to an old solved topic rather than creating a new topic.
-
Remote access enabled. host=65.19.154.90 port=5432 user=fudobi_admin_sutekiuy dbname=fudobi_suteki_uy password=<set in Plesk>
-
For Django updates we generally scan the accounts looking for Django installs, send out an email to everyone using Django, give them a week or more to test and make sure their website will work on the new version, and then do the update as long as no one replies and asks for more time.
-
Installed. You can see the current list of installed modules for Tommy's Python 3.12 at https://krydos1.heliohost.org/pyinfo/info3.12.py
-
Your rebuild has been started and you'll get an email in a bit when it is done. We only allow 1 free rebuild per month, and your last rebuild was only 15 days ago, but since we don't have Hestia added to the signup menu yet we've been giving people an extra free rebuild if Hestia is involved. Anyways, your next free rebuild will be available on 2025-05-06. If you need another rebuild before that date they can be purchased for $1 each. We used to allow unlimited free rebuilds, but one nutjob abused our generosity and requested about 50 rebuilds in a single month so he ruined it for everyone. I'm not seeing a .wsgi file on that domain. Are you sure you have a working Flask app installed?
-
You can now upgrade the storage space on your account by going to https://heliohost.org/dashboard/storage/ This process is fully automated, and you no longer have to contact an admin to increase your storage space. Unlike most hosting providers we don't charge a monthly rate for storage space on our shared hosting accounts. We just charge a flat one-time donation of $5 per 1000 MB. The storage space, once increased, stays with your account forever. If you switch hosting plans, the storage transfers with your account. If you go inactive and your account is archived, the storage space will still be there years from now when you renew your account. Let us know if you have any comments or run into any issues upgrading your own storage space.
-
- 1
-
-
[Solved] Storage count mismatch - what is using so much space?
Krydos replied to freelio's topic in Escalated Requests
Here is your current disk usage breakdown: Backups 0 MB Emails .46 MB Files 84.78 MB Trash 0 MB Logs 1.00 MB PSQL 0 MB MySQL 0 MB Total 86.24 MB I'm guessing that you're confused by the fact that Plesk only calculates the total once every 24 hours or so. Therefore if you delete files it can continue showing you are using 900 MB for up to 24 hours. It doesn't update instantly. -
[Solved] Request for additional domain and wsgi control
Krydos replied to ujcis's topic in Escalated Requests
WSGI control access has been enabled on the domain wegocarryfirst.helioho.st. To restart your Flask app and load new code changes in simply edit /home/ujcis.helioho.st/wegocarryfirst.helioho.st/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 logs should show up in Plesk. If they don't let us know and we can see if there are any additional global logs that aren't being filtered into your domain logs. -
suspened [Solved] Suspended: amogus22877769
Krydos replied to free_amogus22877769's topic in Escalated Requests
Unsuspended. -