Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All logins reported as suspicious - underlying DataLoader.php bug #862

Closed
billgertz opened this issue Mar 18, 2024 · 1 comment
Closed

Comments

@billgertz
Copy link

billgertz commented Mar 18, 2024

Any login attempt results in a nextcloud.log entry with the following details:

InvalidArgumentException
Datasets must have the same number of columns, 48 expected, but 16 given.
/usr/local/lib/owncloud/apps/suspicious_login/lib/Service/DataLoader.php
line 131
Rubix\ML\Datasets\Labeled->merge()
/usr/local/lib/owncloud/apps/suspicious_login/lib/Service/TrainService.php
line 72
OCA\SuspiciousLogin\Service\DataLoader->generateRandomShuffledData()
/usr/local/lib/owncloud/apps/suspicious_login/lib/BackgroundJob/TrainJobIpV4.php
line 70
OCA\SuspiciousLogin\Service\TrainService->train()
/usr/local/lib/owncloud/lib/public/BackgroundJob/Job.php
line 81
OCA\SuspiciousLogin\BackgroundJob\TrainJobIpV4->run()
/usr/local/lib/owncloud/lib/public/BackgroundJob/TimedJob.php
line 102
OCP\BackgroundJob\Job->start()
/usr/local/lib/owncloud/lib/public/BackgroundJob/TimedJob.php
line 92
OCP\BackgroundJob\TimedJob->start()
/usr/local/lib/owncloud/cron.php
line 152
OCP\BackgroundJob\TimedJob->execute()

This probably related to issue #860

How to replicate:

  1. Login into nextcloud as any user
  2. Login into nextcloud as Admin
  3. Goto Adimistrative Settings > Administration > Logging
  4. Find the suspicious_login entry and click on the hamburger ( '...')
  5. Select Show details

Should see something like the attached screenshot.
Screenshot 2024-03-18 at 14 31 30

@joshtrichards
Copy link
Member

Duplicate of #860

@joshtrichards joshtrichards marked this as a duplicate of #860 Apr 1, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants