Login Failures
Logins to Files.com can fail for nearly a dozen distinct reasons, spanning Web, FTP, SFTP, and other protocols. Wherever possible, Files.com reports a detailed error message that explains the reason for the failure.
Potential causes of login failures on Files.com:
- Password or Public key mismatch
- User is required to change their password by site policy
- User's access has expired (because you set an Allow Access Until timeline)
- User has been automatically disabled or deleted by User Life Cycle Rules
- User has been manually disabled by your Site administrator
- User has had password failures in the past and is subject to your Site's configured login attempt protection settings
- 2FA mismatch (if required by your site)
- Detected origin country does not match your Site's configured white/blacklist for allowed countries
- IP Address does not match your Site's configured whitelist for IP addresses
- Site is configured to require connections to be made to a specific regional endpoint, and connection is made to a different region
- Site is delinquent on payment (>30 days past due and unable to be reached by our Accounts Receivable team)
- The connecting IP address has been blocked because of excessive or unauthorized connection attempts
Failed Login Records
To investigate a failed sign-in, first check whether Files.com can associate the authentication request with your site. A request sent to your site's dedicated IP address identifies the site even when the username is unknown. On shared Files.com addresses, another part of the request must identify the site, such as a recognized username or a site hostname supplied in a web or API request.
If the request supplies no site identifier and its username does not match an account, Files.com cannot assign it to a site's customer logs. For example, a misspelled SFTP username on a shared address can leave no entry in your site's logs. The same unknown username sent to a dedicated site address can be logged. A missing entry therefore does not by itself show that the client never reached Files.com; confirm the exact username, destination, time, and source IP address with the user.
The API Logs record failed session requests associated with your site, including requests from file transfer clients and sign-ins rejected by IP or country restrictions. Match the time, interface, and requesting IP address, then inspect Error Type, Error Message, and Status. The corresponding protocol logs provide the client's connection and command sequence.
SSO Events provide SAML and LDAP authentication results. If the identity provider rejects a sign-in before returning to Files.com, investigate its own sign-in logs. History Logs and User Activity record successful logins; use API, protocol, or SSO logs for failed sign-ins.
SSO Account Mismatches
If someone can't sign in through a SAML or OAuth provider, confirm that their Files.com account is assigned to that provider and that the provider is sending the expected username. Sign-in can fail with a matching username if the provider sends a different account ID. That can happen if an identity provider account is deleted and recreated, or if a SAML mapping change gives the user a different NameID.
If a SAML Login event reports No SSO identity matched, compare its IdP UID with the value from an earlier successful sign-in for the same user and provider. If the values differ, ask your identity provider administrator to confirm what changed. If the change was intentional and the user still can't sign in, contact Files.com Support.
For OAuth or OpenID Connect, ask your identity provider administrator to check whether the account ID changed.
Locked Accounts
With Use default Files.com protection selected under Login Attempt Protection, Files.com rate-limits repeated failed sign-in attempts and blocks the IP addresses they come from. Repeated failures do not lock the user account under this default policy.
Account lockout applies only when your site enables the custom policy. A user who reaches the configured number of unique failed sign-ins within the configured time window is locked out for the configured lock period. An exact repeat of a sign-in that already failed is not checked again and does not increase the count. Each different password is checked and counts if it fails.
During lockout, sign-in fails even with the correct password. The lockout ends when the lock period expires or an administrator unlocks the account.
A Site Administrator can unlock any user on the site. A Workspace Administrator can unlock users within their Workspace.
When an account is locked, its Status column reflects the locked state and an Unlock option appears under the Actions column.
To get notified when a user is locked out, use Event Channels and subscribe to User Lockout events. Admin email preferences also cover user lockouts under the User Security Events preference.
SFTP and 3rd Party Apps
SFTP clients can display a generic authentication error or an invalid username/password message even when the cause is a key, account setting, or connection restriction.
Use the failed login records to find the available error details. SFTP troubleshooting explains the credential and account checks for that protocol.
Region Based Login Failures
A "Region Mismatch" error can occur when a user is attempting to connect to your site through one of our edge servers in a region disallowed by your site settings.
The API logs of your site will contain the error message Your account must login using a different server, https://yoursite.files.com. for each user that attempted to connect to your site via an incorrect region.
FTP(S) clients may display these messages:
Response: 530 Lockout Region Mismatch: Your account must login using a different server, https://claudiodemo.files.com.
Error: Critical error: Could not connect to server
SFTP clients may display this error:
Error: Authentication failed. Error: Critical error: Could not connect to server
WebDAV clients may display this error:
Could not connect: Connection timed out
The Global acceleration features setting of your site specifies the regions that users are allowed to connect to. The "Use servers closest to my users" option allows connections to all regions, while the "Use <region name> servers only" option only allows connections to that region. Customers who have a HIPAA BAA signed with Files.com do not have the "Use servers closest to my users" option available.
Changing the Global acceleration features setting of your site to "Use servers closest to my users" avoids this error.
How to Solve Region Based Login Failures
Users and systems must always connect using your site custom subdomain (e.g. yoursubdomain.files.com), or your site custom domain (e.g. files.yourcompany.com), so that connections are sent to the correct region. Never use IP addresses or the app.files.com hostname to connect with Files.com.
If your site has implemented a Custom Domain, ensure that the CNAME DNS record for your custom domain points to your custom subdomain (e.g. yoursubdomain.files.com) and not to app.files.com, an IP address, or some other hostname.
Dealing with Failed Logins and Improving Site Security
Customers with dedicated IP addresses can see Failed Login: Username not found messages because those addresses identify their site even when the supplied username does not. A high volume of failed login attempts is common on any server accessible via the public internet. Automated connections often try common usernames such as 'root' without having credentials for an account on your site.
Files.com includes these failed login messages in the logs to provide detailed debugging information, since some attempts may represent legitimate logins from your users or counterparties. Files.com limits repeated unsuccessful attempts and blocks addresses generating excessive traffic.
Its internal protection logs are not included in customer logs. These failed login messages are not necessarily a cause for concern, and no action is typically required on your part.
These failed login attempts are not a reason to restrict where your users connect from. Files.com already rate-limits and blocks the offending IP addresses, and neither IP Whitelisting nor Access Control by Country is recommended for this purpose. Both features can block legitimate users whose addresses or locations change, while unwanted connections can originate from many different addresses.
To reduce the risk that these attempts represent, strengthen authentication instead. Set strong password requirements through the Password Restrictions setting and require Two-Factor Authentication (2FA), which requires a second factor even when the password is correct.