Bobcares

How to Fix the “FTP Authentication Failed” Error in CyberPanel

by | Dec 16, 2024

Learn how to fix the “FTP Authentication Failed” error in CyberPanel. Our CyberPanel Support team is here to help you with your questions and concerns.

How to Fix the “FTP Authentication Failed” Error in CyberPanel

How to Fix the "FTP Authentication Failed" Error in CyberPanelIf you are having trouble with the “FTP Authentication Failed” error in CyberPanel, you have come to the right place!

This error usually occurs when we cannot log in to your FTP server due to incorrect credentials or configuration issues.

FTP is essential for transferring files between our local computer and web server. This blog outlines common causes of FTP errors and their solutions to resolve them effectively.

An Overview:

Common Causes and Solutions

1. Incorrect FTP Username or Password

The most common cause of this error is entering the wrong FTP username or password. Users might also mistakenly use default credentials or outdated ones.

Sometimes, a recently changed password might not have been updated in the FTP client.

Fix:

  1. Verify FTP credentials in CyberPanel.
  2. Also, we can reset the FTP password or create a new FTP user in CyberPanel by clicking Manage FTP under FTP.
    Then, select the domain and reset the password or create a new user.

  3. Also, ensure the correct credentials are entered in our FTP client.

2. Incorrect FTP Host (Server Address)

Using an incorrect hostname or IP address will prevent authentication. Similarly, using “localhost” or “127.0.0.1” instead of the server’s domain or public IP can cause issues.

Fix:

  • For local connections, use the server’s IP or hostname.
  • For remote connections, ensure the correct domain or public IP address is configured in the FTP client.

3. Incorrect FTP Port or Protocol

FTP usually operates on port 21 for unencrypted connections or port 22 for SFTP. If the server uses FTPS, it may use a
If we use FTPS or SFTP, ensure that the FTP client is configured to use the appropriate secure connection, as CyberPanel supports FTP, FTPS, and different ports, such as 990.

Fix:

  • For FTP, use port 21.
  • For SFTP, use port 22.
  • For FTPS, use port 990.
  • Verify the FTP client’s protocol settings.

4. Firewall or Security Restrictions

Firewalls may block incoming or outgoing FTP connections. Also, the FTP Passive mode might be blocked or misconfigured.

Fix:

  1. Open required ports (21, 22, 990) on the server’s firewall:

    sudo ufw allow 21
    sudo ufw allow 22
    sudo ufw allow 990

  2. Enable Passive Mode in your FTP client settings and ensure the required port range is open.

5. Corrupt or Misconfigured FTP User Accounts

Locked, expired, or disabled accounts will fail to authenticate.

Fix:

  1. In CyberPanel, go to FTP > Manage FTP to verify the user’s status.
  2. Reset the password or create a new FTP user.

6. Server Overload or Resource Limits

FTP services can fail due to high load or insufficient resources. Furthermore, hosting environments often limit simultaneous FTP connections.

Fix:

  1. Monitor server resources using tools like `top` or `htop`.
  2. Ensure sufficient CPU, RAM, and disk space are available.

7. FTPS/SSL Certificate Issues

Expired or invalid SSL certificates can block FTPS connections. Also, FTP clients may reject untrusted certificates.

Fix:

  • Verify and renew SSL certificates if needed.
  • Configure the FTP client to trust the server’s certificate.

8. CyberPanel Misconfiguration

Issues in CyberPanel settings or installation can cause FTP errors.

Fix:

  1. Restart the FTP service:

    sudo systemctl restart vsftpd

  2. Reinstall the FTP service if necessary.

Step-by-Step Troubleshooting

  1. Verify the username and password in your FTP client.
  2. Reset the password in CyberPanel if needed.
  3. Use the correct server address, port (21, 22, or 990), and protocol.
  4. Ensure required ports are open and Passive Mode is enabled.
  5. Check CPU, RAM, and disk usage to ensure sufficient resources for FTP.
  6. Verify that the user account is enabled and not expired.
  7. For FTPS, ensure SSL certificates are valid and trusted.
  8. Restart the FTP service on the server.
  9. Try using a different FTP client (e.g., FileZilla or WinSCP).

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

By following these steps, we can resolve the “FTP Authentication Failed” error in CyberPanel and restore seamless file transfer functionality.

In brief, our Support Experts demonstrated how to fix the “FTP Authentication Failed” error in CyberPanel.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF