Hi, I'm back with a problem that is causing a large increase in logs. I have a very large number of queries from my own server (api), I can't find why this is happening. Can I ask for some guidance on how to diagnose which process or user is generating these queries?
MyIP- - [28/Jul/2023:14:53:41 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:41 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:43 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:43 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:44 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:44 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:47 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:47 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:51 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:51 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:53 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:53 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:55 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:55 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 1514 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:56 +0200] "GET /server/api/system/scripts/metadata-export HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:56 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" MyIP- - [28/Jul/2023:14:53:56 +0200] "GET /server/api/system/scripts/metadata-import HTTP/1.1" 401 965 "-" "Mozilla/5.0 (Linux x64) node.js/12.22.12 v8/7.8.279.23-node.57" and much more line like this ... Thanks, Karol czwartek, 13 lipca 2023 o 21:33:56 UTC+2 Karol napisał(a): > Hi, > > editors report incidental problems to me: > > 1) when depositing items sometimes there is a problem with automatic > "saving changes" or manual > 2) sometimes "loading dots" appear on the screen when moving to the next > step or editing, and so on until you refresh the page, go to the home page > and log in again. > > [image: Screenshot from 2023-07-13 21-29-57.png] > > 3) Sometimes when editing item metadata and trying to save changes > > [image: Screenshot from 2023-07-13 21-25-40.png] > > > I asked them to save the error hour and checked in the logs. I found > something like this: > > *org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ > Authentication is required (status:401 exception: Access is denied at: > org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:73))* > > Everything happens sometimes. I have the impression that as long as they > deposit an item, or long work logged into the repository. It looks like > there is a problem with the session because the editors have admin access ( > after logging in everything works ). Does anyone have similar problems and > is there any way to fix this? > > Greetings, > > Karol > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/704a1951-f7dc-4032-803a-f08e4d1a53b2n%40googlegroups.com.
