All Activity
- Today
-
An administrator will be able to do this for you.
-
[Krydos] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
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. -
[Krydos] Python + Flask - 500 Internal Server Error
talesaz replied to talesaz's topic in Escalated Requests
Since I moved to the Morty server, the performance of the apps has improved significantly. Occasionally, I still encounter a 500 error, but it's nothing critical. That said, could you provide more details about the logs for the timestamps below? I'd like to check if there's anything I can improve in my code. domain: thelema93.com.br 2025-04-26 13:26:09 Error 186.205.7.186 500 GET /oeto/flask.wsgi/turmas/aulas?turma=8 HTTP/1.0 https://thelema93.com.br/oeto/flask.wsgi/turmas/aulas Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 1000 Apache SSL/TLS access domain: arniskali.com 2025-04-26 04:39:00 Error 186.205.7.186 500 GET /bma/flask.wsgi/conteudo HTTP/1.0 https://arniskali.com/bma/flask.wsgi/logins Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/135.0.7049.83 Mobile/15E148 Safari/604.1 1000 Apache SSL/TLS access -
anoldmedia joined the community
-
heliohostletharg joined the community
-
youkko changed their profile photo
-
SarHem started following Nginx Install Video
-
king652 changed their profile photo
-
sasanh joined the community
-
king652 joined the community
- Yesterday
-
The website takes time to load
wolstech replied to misternas's topic in Website Management and Coding
Your logs are mostly 503 errors, which is due to an ongoing issue involving high volumes of traffic against our webmail service. We're working on mitigating that now. Note that this is different from 502 bad gateway, which is normal when Apache is restarting on the server. That happens approximately every 2 hours and usually lasts 5-10 minutes on Johnny. It's faster on Tommy, and currently doesn't happen at all on Morty due to newer hardware and having so few users and domains on Morty. Static pages will always be fastest because there's no server side scripting, and will typically not be affected by 503 errors. InfinityFree's service is faster for a few reasons: They have a massive for-profit corporate parent company (iFastnet) with huge amounts of money and can afford millions in server costs, so servers aren't crowded. We're a tiny nonprofit with an operating budget of <$10k/year that owns our equipment and has no corporate parent. We can't easily afford more servers. Infinity Free is artificially crippled. Those restrictions tend to mean people don't stick around for very long, and they can't run larger applications if they do. Our free Johnny service and the one-time-donation Tommy plans aren't. To give you an idea, 96% of our shared hosting users are free users, or are one-time donors who donated as little as $1 for lifetime service. -
The website takes time to load
misternas replied to misternas's topic in Website Management and Coding
The funny thing is that if I do not have loaded the web page, the default page always loads at first without any delay, but if I upload my web page, many times it takes up to 20 seconds to load and many others directly gives error and no problem of the uploaded page, because when he decides to charge, he does it correctly. I know it’s a free service, but for example Infinityfree is also free and doesn’t have those problems. -
Sure. Account reflux has been unsuspended. It may take a few minutes to work again. The other account can just be abandoned. It will delete itself in time since it's suspended. If you'd like to request it be deleted, please post from its matching forum account and we can do that.
-
reflux started following [Solved] Multiple accounts
-
I received a system notification about multiple accounts created on the Tommy server. I actually ended up creating two accounts, but I stopped using the primary one after I created this secondary account. I'd like to make this account (username: “reflux”) functional and deactivate the other one, is that possible?
-
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.
-
You can use https://webmail.(yourdomain.com) or you can use external software such as Mozilla Thunderbird.
-
[Solved] WSGI Control Access request
MoneyBroz replied to tripleespress0's topic in Escalated Requests
This support request is being escalated to our root admins. -
xfactorcommp joined the community
-
advokatlead joined the community
-
tripleespress0 started following [Solved] WSGI Control Access request
-
Could you grant me WSGI Control Access for the following: - username: tripleespress0 - server name: Johnny - domain name: tripleespress0.helioho.st Thanks, Angel
-
worldkryptonite started following nginx error - ssl handshaking and timeout errors
-
Hi Team, I have been searching for a solution for the below problem appearing in the logs. I have a flask setup and I am calling the api from another domain using javascript. Very often, I get the below error and I wanted to know if there is a known cause and solution: Please let me know if you need more information. Thanks and regards, Yashveen
-
It doesn't look like you have a hosting account. Would you like your forum account deleted?
-
geggel started following [Solved] Can't acces mailbox
-
Hello, It seems i cannot acces my mailbox. I am probably doing something wrong. I did read the documentation and searched for some tutorials online. How can i acces the mailbox? Maybe i have some setting wrong? Thank you!
-
Please delete my account. Thank you
-
oh I see, I get it now. thanks for that insight @wolstech!!
-
formfeed joined the community
-
harishpavandev joined the community
- Last week
-
I have uploaded via FTP all the web page that I designed in php and I have created the database. When I access from the internet to the page takes too long or even does not get to load giving error 502 bad gateway nginx. What’s the problem?
-
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.
-
The discord/dmarc/dkim/atproto ones have names, so you need to actually ask for, for example, _atproto.tenkyuu.dev to see it. The file you posted is only the domain itself (i.e. records with no name or with the name of the domain). The root domain shows the same thing as your file: https://dnschecker.org/all-dns-records-of-domain.php?query=tenkyuu.dev&rtype=ALL&dns=google For the named ones, they do appear if you specify their names. For example, the _atproto and _discord ones: https://dnschecker.org/all-dns-records-of-domain.php?query=_atproto.tenkyuu.dev&rtype=ALL&dns=google and https://dnschecker.org/all-dns-records-of-domain.php?query=_discord.tenkyuu.dev&rtype=ALL&dns=google This is the expected behavior for the records provided.
-
502 is related to Apache restarting and is normal. Should occur approximately every 2 hours and usually lasts 5-10 minutes. If you're unable to tolerate this, you would need to move to Morty, where the Apache restarts currently take under a minute. Note that on Morty, you'll get a 504 instead of a 502 during an Apache restart. 504 on Tommy can happen if your script takes too long. It basically means nginx timed out waiting for Apache to return content, which is usually caused by your website's code taking too long and not finishing. This can be caused by many things, including high server load or badly written code. 503 Service Unavailable is an unusual error to get on Tommy though, and I do see a few instances of that in your logs. I'm not sure what would cause this error specifically. Perhaps Krydos would know?
-
Hi ! I noticed numerous 502 - 503 - 504 errors on Tommy since several days. Any idea ?
-
Hi @wolstech, I just rechecked my DNS records recently using the DNS lookup by dnschecker.org. I'm curious why I haven't seen a lot of records I want to change? You can check the txt file attached that I got from that site. tenkyuu.dev-records-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzLwCrqAjJSxGhXPm.txt Thank youu!!
-
parasyadav9540 joined the community
-
alredis joined the community
-
Your account has been reset and you should receive a link to recreate your account shortly.