A lot of errors in logs (OD-2298)
Nikolai Filchenko opened 10 months ago

Onedev server has a lot of errors in console: They appear regularly. 10.244.0.0 is kubernetes pod address but I could not find any pod alive with this address after error happened

09:54:07 WARN  o.a.s.s.session.ServerSessionImpl - exceptionCaught(ServerSessionImpl[null@/10.244.3.51:56444])[state=Opened] SshException: Unable to negotiate key exchange for server host key algorithms (client: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss / server: rsa-sha2-512,rsa-sha2-256)
09:54:16 WARN  o.a.s.s.session.ServerSessionImpl - exceptionCaught(ServerSessionImpl[null@/10.244.2.252:33368])[state=Opened] SshException: Unable to negotiate key exchange for server host key algorithms (client: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss / server: rsa-sha2-512,rsa-sha2-256)
09:54:40 WARN  o.a.s.s.session.ServerSessionImpl - exceptionCaught(ServerSessionImpl[null@/10.244.3.51:44684])[state=Opened] SshException: Unable to negotiate key exchange for server host key algorithms (client: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss / server: rsa-sha2-512,rsa-sha2-256)
09:54:51 ERROR io.onedev.server.git.SshCommand - Error executing git command
java.lang.RuntimeException: java.lang.InterruptedException
        at io.onedev.commons.utils.command.Commandline.execute(Commandline.java:391)
        at io.onedev.commons.utils.command.Commandline.execute(Commandline.java:244)
        at io.onedev.server.git.command.UploadPackCommand.run(UploadPackCommand.java:65)
        at io.onedev.server.git.SshCommand$1.run(SshCommand.java:138)
        at io.onedev.server.util.concurrent.DefaultWorkExecutor$1.call(DefaultWorkExecutor.java:199)
        at io.onedev.server.util.concurrent.DefaultWorkExecutor$1.call(DefaultWorkExecutor.java:195)
        at io.onedev.server.security.SecurityUtils$1.call(SecurityUtils.java:543)
        at io.onedev.server.util.concurrent.DefaultWorkExecutor.lambda$call$0(DefaultWorkExecutor.java:70)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at io.onedev.server.security.SecurityUtils.lambda$inheritSubject$1(SecurityUtils.java:524)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.InterruptedException: null
        at java.base/java.lang.Object.wait(Native Method)
        at java.base/java.lang.Object.wait(Object.java:328)
        at java.base/java.lang.ProcessImpl.waitFor(ProcessImpl.java:495)
        at io.onedev.commons.utils.command.Commandline.execute(Commandline.java:388)
        ... 12 common frames omitted
  • Robin Shen changed state to 'Closed' 10 months ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 10 months ago

    Seems like some client (or build job) is cloning via ssh and it was cancelled for some reason. Not really a bug.

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
11.6.16
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2298
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover