Comments (8)
BTW, and sorry if it is a silly question but, if only the last model is used (in my case 146 I guess), are the previous models removed at some point or are they used to get the new models? Will models accumulate indefinitely?
Known unresolved enhancement: #51
from suspicious_login.
same issue here, with NC 20.0.1
did the upgrade yesterday from NC 19.0.6 .. got Internal Server Error and could not login again.
Then i had to rebuild the "Instanceid" .. when doing that, the appdata_xxxx Folder will also being rebuilt.
Since then there is the following error:
[suspicious_login] Fatal: Could not load classifier model 561: /appdata_ocxxxxx/suspicious_login/models
REPORT /remote.php/dav/addressbooks/users/xxxxx/contacts/
from 1xxxxxxx by xxxxx at 2021-04-15T11:07:42+02:00
Since then i have got this error
running command:
occ suspiciouslogin:predict xxxx xxx.xxx.xxx.xxx
In ModelStore.php line 135:
Could not load model 561
In Root.php line 205:
/appdata_ocxxxxxxxx/suspicious_login/models
from suspicious_login.
You should be able to resolve this with occ suspiciouslogin:train
from suspicious_login.
think there is something that can be improved here.
suspicious_login/lib/Service/ModelPersistenceService.php
Lines 171 to 186 in 75cf213
from suspicious_login.
You should be able to resolve this with
occ suspiciouslogin:train
Unfortunately the train
didn't seem to help, at least when using predict
from the CLI is still throwing the error:
$ occ suspiciouslogin:train
Using ipv4 strategy
Prescision(y): 0.99019607843137
Prescision(n): 1
Recall(y): 1
Recall(n): 0.99009900990099
$ ncc suspiciouslogin:predict luca 192.12.12.12 143
In ModelPersistenceService.php line 138:
Could not load model 143
In Root.php line 205:
/appdata_xxxxx/suspicious_login/models/143
suspiciouslogin:predict [--v6] [--] <uid> <ip> [<model>]
But I guess the error handling is missing and a model that can't be saved to storage should be cleared from the database.
I see, so it is a possible scenario that the out of space error leaded to this situation. I hope some error handling can be added sooner than later :)
from suspicious_login.
Try ncc suspiciouslogin:predict luca 192.12.12.12
. Model 143 doesn't work but the app will always take the latest model available anyway.
from suspicious_login.
OK, that didn't show any errors, but I'm not sure if it would have shown any errors before the train
either :)
I checked the DB and model 143 is still there, and there is no 143
file in appdata_xxxxx/suspicious_login/models/143
(but there is a new file 146
. I will keep monitoring the logs to see if the error is really gone.
BTW, and sorry if it is a silly question but, if only the last model is used (in my case 146 I guess), are the previous models removed at some point or are they used to get the new models? Will models accumulate indefinitely?
Thanks!
from suspicious_login.
I checked the DB and model 143 is still there, and there is no
143
file inappdata_xxxxx/suspicious_login/models/143
(but there is a new file146
. I will keep monitoring the logs to see if the error is really gone.
@Githopp192 is that also the case for you – the file doesn't exist, right?
from suspicious_login.
Related Issues (20)
- Memory consumption
- Log spam `jsonSerialize() should either be compatible with` HOT 1
- Setup psalm
- ValueError: random_int(): Argument #1 ($min) must be less than or equal to argument #2 ($max) HOT 10
- New login location detected email messages HOT 1
- App icon is inverted on app management
- Replace lint.yml with split workflows
- Dependency Dashboard
- Update rubixML HOT 15
- App not passing integrity check in v26/25 HOT 3
- Too verbose logs when model not found HOT 1
- Unit tests don't execute against php 8.2
- Add button to email notifications to get more info about the suspicious ip HOT 1
- A new login into your account was detected - really a login, or just a try? HOT 1
- Drop support for PHP 7.4 HOT 2
- PHP unserialize(): Error at offset HOT 5
- 0 rows on login_address table HOT 1
- Version on app store and compatible versions HOT 1
- Investigate feasibility of use in 32-bit environments HOT 2
- Email Notification: New login location detected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suspicious_login.