Hello 

Any suggestion to debug this error on DSpace 6?

  ERROR org.dspace.ctask.general.ClamScan @ Error reading result from socket
java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
        at java.net.SocketInputStream.read(SocketInputStream.java:171)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at java.net.SocketInputStream.read(SocketInputStream.java:127)
        at org.dspace.ctask.general.ClamScan.scan(ClamScan.java:296)
        at org.dspace.ctask.general.ClamScan.perform(ClamScan.java:112)
        at org.dspace.curate.ResolvedTask.perform(ResolvedTask.java:88)
        at org.dspace.curate.Curator$TaskRunner.run(Curator.java:565)
        at org.dspace.curate.Curator.doCollection(Curator.java:515)
        at org.dspace.curate.Curator.doCommunity(Curator.java:487)
        at org.dspace.curate.Curator.curate(Curator.java:265)
        at org.dspace.curate.Curator.curate(Curator.java:203)

2023-11-19 23:56:11,689 DEBUG org.dspace.ctask.general.ClamScan @ Closing 
the socket for ClamAv daemon . . .
2023-11-19 23:56:11,689 INFO  org.dspace.curate.Curator @ Curation task: 
vscan performed on: 123456789/83475 with status: -1. Result: 'Error 
encountered using virus service - check setup'

clamav is supposed to be well configured.
LISTEN     0      15              127.0.0.1:3310             0.0.0.0:*     
users:(("clamd",pid=1830338,fd=4))    

# ./dspace curate -t vscan -i 123456789/1 -r - -v
/opt/jdk1.8.0_361
openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment (build 11.0.21+9-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Debian-1deb11u1, mixed mode, 
sharing)

OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was 
removed in 8.0
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javassist.util.proxy.SecurityActions 
(file:/home/dspace/runtime/lib/javassist-3.18.1-GA.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
javassist.util.proxy.SecurityActions
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Adding task: vscan
Starting curation
Curating id: 123456789/1
Ending curation. Elapsed time: 6384

-- 
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 Community" 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-community/17570093-00e5-442b-a47e-f21b84b838e2n%40googlegroups.com.

Reply via email to