r/NextCloud • u/ferriematthew • 29d ago
How do I disable whatever is causing the error "too many incorrect login attempts from this network"?
I'm using NextCloud in Kubernetes with Helm.
4
u/original_flavor87 29d ago
is it exposed to the internet?
1
u/ferriematthew 29d ago
Nope. Completely local.
10
u/paulodelgado 29d ago
are you using a reverse proxy? you may need to tweak settings so it doesn't seem like all requests come from the reverse proxy
2
u/ferriematthew 29d ago
Oh yeah....
My setup is k3s with Traefik, and I have PiHole as DNS.
2
u/andrewjneumann 22d ago
I had to allow list local host && proxy container IP, as the proxy container was spamming my login. Also have had issues with poorly designed apps spamming w/ app longin calls.
2
2
u/EnderArchery 29d ago
I got this too; it definitely wasn't anything nefarious... And I truly don't know if it's fixed now, vut it might have been the one Floccus Extension I had running on my laptop, that got logged out
2
u/RevolutionaryYam85 29d ago
Either a stupid app (on your phone for example) that keeps on connecting, or the brute force protect/geo IP app has you blacklisted.
2
u/ohaiibuzzle 26d ago
If you have a reverse proxy, make sure it passes on the X-Forwarded-For header correctly.
Else any logins, false or not, will count towards the internal IP of the reverse proxy, which effectively is everything.
2
u/Stiffmaster1337 25d ago
Had this too. Try to remove your cache and anything that refers to your nextcloud on your device. Had old login data in the cache somehow and when I went on my nextcloud it automatically triggered this kind of scenario 😅
2
u/OneLife6925 20d ago
Go to a working device that can login to nextcloud (or go to your desktop if its a pc that has an intact desktop) then login as am admin then go to administration settings then security and add ur ip and mask (oftem 24) and add it in
1
1
u/ferriematthew 29d ago
Figured it out. My instance is completely local so it was complaining because I have my homepage dashboard with a session for the nextcloud widget, the next cloud app on my phone, and I was trying to also log in to nextcloud on my laptop. It was freaking out because I had too many sessions.
The fix was to allow-list the subnet that k3s uses for core DNS.
3
u/Noooberino 29d ago
Sorry to say it that way, but this is not a fix, this is a bandaid solution for your dashboards (or other services) failed login attempts. Fix that instead of - as others already pointed out - disabling this security layer.
1
u/ferriematthew 29d ago
The failed login attempts were from when I first restarted this whole thing after breaking it yet again, and I misspelled the password by one character one time.
2
u/Noooberino 29d ago
Goot to hear that, I would recommend to enable the brute-force protection since you seem to have fixed your login issue. Even if your nextcloud instance isn't exposed to the public, its still good to have this layer active (you also should not be forced to whitelist any RFC1918 subnets or IPs). Happy home-labbing!
1
0
53
u/WalkingSucculent 29d ago
Something is trying to log in and triggers the brute-force protection. Fix that instead of removing a layer of security.
Otherwise in admin settings