Logging from tablet is refused

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version:
    • Nextcloud 31.0.4
  • Operating system and version:
    • #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30)
  • Web server and version:
    • Server version: Apache/2.4.62 (Debian)
  • Reverse proxy and version:
    • nginx version: openresty/1.27.1.1
  • PHP version:
    • PHP 8.3.20 (cli) (built: Apr 11 2025 17:51:27) (NTS)
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • prob direct after installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • OMV Container
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • nope

Summary of the issue you are facing:

I see the “We have detected multiple invalid login attempts…” message. I can no longer logon neither as user nor as administrator

Steps to replicate it (hint: details matter!):

  1. Install Nextcloud on Android
  2. Logon a browser window opens
  3. I see this message and logon is denied

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

I'm unable to provide the logs as I cannot logon.

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

The console.log is empty

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

bash: occ: command not found

$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'password' => '',
    'port' => 6379,
  ),
  'upgrade.disable-web' => true,
  'instanceid' => 'oc6oc6hi85a5',
  'passwordsalt' => 'is this all the identifiable information you are referring to?',
  'secret' => 'is this all the identifiable information you are referring to?',
  'trusted_domains' => 
  array (
    0 => 'srv-nas-pi.kingma:8080',
    1 => 'office.kingma.ch',
    2 => 'office.king.ma',
  ),
  'overwrite.cli.url' => 'http://srv-nas-pi.kingma:8080',
  'overwriteprotocol' => 'https',
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '31.0.4.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'nextclouddb',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'is this all the identifiable information you are referring to?',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'theking2',
  'mail_domain' => 'king.ma',
  'mail_smtphost' => 'cicero.metanet.ch',
  'mail_smtpport' => '465',
  'mail_smpttimeout' => 30,
  'mail_smtpsecure' => 'ssl',
  'loglevel' => 3,
  'maintenance' => false,
  'maintenance_window_start' => 3,
  'default_phone_region' => 'CH',
);

This template does not help me to understand what you mean by identifiable information

Apps

The output of occ app:list (if possible).

bash: occ: command not found

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

How do I logon with the qr code? Where do I find this?

thanks, doesn´t help

What doesn’t help?

Something in your environment is triggering BFP. There are troubleshooting steps in there, including methods for turning on additional logging/etc.

The most common cause is having a misconfiguration with regards to your reverse proxy. Your config appears to not even reference a trusted_proxy but it also sounds like you’re using one. That may be, at least in part, the problem.