You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ApolloError.ts:57 Uncaught (in promise) Error: GraphQL error: internal system error
at new r (ApolloError.ts:57)
at Object.next (QueryManager.ts:225)
at p (Observable.js:130)
at d (Observable.js:165)
at n.value (Observable.js:219)
at observables.ts:12
at Set.forEach ()
at Object.next (observables.ts:12)
at p (Observable.js:130)
at d (Observable.js:165)
This is because this function is not yet implemented on on the server (see scanner.go:12)
To start the scanner you currently have to press the Scan button next to each user.
It should however be quick and easy to implement a function that scans each user.
First getting all users from the database, then calling scanner.ScanUser(db, userId) for each user returned from the database.
The reason I haven't gotten around to doing this yet, is because I would like to have a queue system such that only one user is scanned at a time, and scans should be cancelable. But this is quite a big feature in it self.
I followed README to install system from scratch via Docker.
It started.
Result:
Request URL: http://localhost:8000/api/graphql
Request Method: POST
Request Payload:
{"operationName":"scanAllMutation","variables":{},"query":"mutation scanAllMutation {\n scanAll {\n success\n message\n __typename\n }\n}\n"}
Response Status Code: 200 OK
Response:
{"errors":[{"message":"internal system error","path":["scanAll"]}],"data":null}
Browser error:
Docker log:
The text was updated successfully, but these errors were encountered: