talesaz Posted 8 hours ago Posted 8 hours ago Hello HelioHost Support Team, I am hosting my Flask application under the domain atenahub.app.br on the Morty server. Since the server maintenance that occurred yesterday, I have been experiencing frequent "500 Internal Server Error" responses. I checked my access logs and noticed several automated malicious bot requests (directory fuzzing/scanning for .env files). I am not entirely sure if these 500 errors are simply my application breaking due to these bot attack attempts, or if it is a side effect of the recent server maintenance/movement. Could you please verify the server status and help me investigate the root cause? Additionally, to make my backend more robust and mitigate these brute-force/scanning attempts, I plan to implement a rate limiter. Could you please install the Flask-Limiter Python library on my server environment? Thank you for your time and assistance! Quote
talesaz Posted 7 hours ago Author Posted 7 hours ago I have an additional request regarding my database on the Morty server. I am trying to connect remotely to my MySQL database using HeidiSQL and my local Python environment for development purposes. However, I am consistently getting the following error: Access denied for user 'talesaz_matrizhub00'@'2804:...' (using password: YES) Here is what I have already checked and configured: My credentials are 100% correct (I can access the database perfectly through phpMyAdmin in Plesk). In Plesk > Databases > User Management, I have already set the Access Control to "Allow remote connections from any host". Could you please verify if there is any server-side issue? This database is related to matrizhub.heliohost.us Thank you again for your time! Quote
MoneyBroz Posted 5 hours ago Posted 5 hours ago Your account was recently moved to the new morty server, did you update all of the references from morty.heliohost.org to morty2.heliohost.org? Quote
talesaz Posted 5 hours ago Author Posted 5 hours ago Hi MoneyBroz, Thank you for the update. Changing the hostname to morty2.heliohost.org fixed my remote database access via HeidiSQL. However, the production site atenahub.app.br is still returning a 500 Internal Server Error even after updating the internal database connection strings. Since my account was recently moved to the new server, The Python + Flask environment and WSGI configurations were fully preserved during the migration? The WSGI restart/reload mechanism is functioning correctly for my account on morty2? Thanks! Quote
wolstech Posted 56 minutes ago Posted 56 minutes ago Quote The Python + Flask environment and WSGI configurations were fully preserved during the migration? No they are not. Python modules you requested be installed (and I think WSGI control if it was enabled) do not carry over. Did you request either of these? If so, you'll need to request them again. Quote
talesaz Posted 25 minutes ago Author Posted 25 minutes ago 30 minutes ago, wolstech said: No they are not. Python modules you requested be installed (and I think WSGI control if it was enabled) do not carry over. Did you request either of these? If so, you'll need to request them again. Hi, Thank you for clarifying! That explains the silent 500 errors perfectly. Yes, I do need the WSGI control enabled for atenahub.app.br (I'm aware of the extra costs), and I need my Python modules reinstalled on the new server. Could you please enable WSGI and install the following Python libraries for my account? Flask Flask-SQLAlchemy Flask-Login Flask-Limiter mysql-connector-python firebase-admin requests Pillow pypdf qrcode mercadopago Additionally, could you please share the pyinfo link for the new morty2 server? I used to check https://krydos3.heliohost.org/pyinfo/info3.12.py on the old server to verify my environment and installed modules, and it would be very helpful to have the new equivalent link. I really appreciate your help in getting the application fully back online! Best regards. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.