• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

mdberry

New Pleskian
Server operating system version
Microsoft Windows Server 2022
Plesk version and microupdate number
Plesk Obsidian v18.0.68_build20250228.10 os_Windows 2012/2016/2019/2022
Hello,

I recently purchased a VPS server from GoDaddy that is running Plesk. I have a .NET 9 with React application running on the VPS. Currently in my local environment, I am able to smoothly run the application and connect to the database that is hosted on the VPS. When I deploy the application to the VPS on Plesk, everything runs fine for about 10-15 minutes. Once that amount of time passes, everything still runs except the MySQL Connection to the database will fail and consistently return 500 errors to the .NET API.

After doing some debugging in the logs, I was able to find the following issue:

fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HNB00REQT1UF", Request id "0HNB00REQT1UF:00000001": An unhandled exception was thrown by the application.
MySqlConnector.MySqlException (0x80004005): Access denied for user ''@'119-204-178-68.host.secureserver.net' (using password: NO)


I am not sure what is causing the connection to be refused as it works fine on the initial deploy. Additionally, I have already remote connected to the server and verified that port 3306 is allow and is not being used by any other process and I also verified the database server and verified that the user account that I am trying to connect with is being accepted by any host.

I have attached and image of the full error to this post.

Any ideas? I have been stuck on this for days and would greatly appreciate anyone's assistance.
 

Attachments

  • stdout-logs.png
    stdout-logs.png
    163.3 KB · Views: 3
Instead of connecting using the host name of 119-204-178-68.host.secureserver.net try using localhost instead since I have a feeling it's probably trying to hairpin out then back which would throw you that error.
 
Back
Top