org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF

nabble.com | 4 months ago
  1. 0

    [JENKINS-11002] Windows DCOM slave fails to connect - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF
  2. 0

    Here's the trace from the failing slave: Connecting to 192.168.0.5 Failed to connect to port 135 of 192.168.0.5. Is Windows firewall blocking this port? Or did you disable DCOM service? ERROR: Message not found for errorCode: 0x8001FFFF org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825) at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152) at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:56) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) Caused by: java.net.SocketException: Network is unreachable at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:519) at java.nio.channels.SocketChannel.open(SocketChannel.java:157) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98) at rpc.Stub.attach(Stub.java:104) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860) ... 13 more I've already been through the suggestions at https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM, but no luck. Using nmap on my jenkins machine, running as user jenkins, I can see that the ports are open on the slave. I can even telnet/netcat to it. PORT STATE SERVICE 135/tcp open msrpc 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3389/tcp open ms-term-serv Sounds like it might be a bug in j-Interop, but can't confirm: http://sourceforge.net/projects/j-interop/forums/forum/840678/topic/3732777

    Jenkins JIRA | 5 years ago | Kevin Bulebush
    org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF
  3. 0

    Here's the trace from the failing slave: Connecting to 192.168.0.5 Failed to connect to port 135 of 192.168.0.5. Is Windows firewall blocking this port? Or did you disable DCOM service? ERROR: Message not found for errorCode: 0x8001FFFF org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825) at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152) at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:56) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) Caused by: java.net.SocketException: Network is unreachable at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:519) at java.nio.channels.SocketChannel.open(SocketChannel.java:157) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98) at rpc.Stub.attach(Stub.java:104) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860) ... 13 more I've already been through the suggestions at https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM, but no luck. Using nmap on my jenkins machine, running as user jenkins, I can see that the ports are open on the slave. I can even telnet/netcat to it. PORT STATE SERVICE 135/tcp open msrpc 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3389/tcp open ms-term-serv Sounds like it might be a bug in j-Interop, but can't confirm: http://sourceforge.net/projects/j-interop/forums/forum/840678/topic/3732777

    Jenkins JIRA | 5 years ago | Kevin Bulebush
    org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Here's the trace from the failing slave: Connecting to 192.168.0.5 Failed to connect to port 135 of 192.168.0.5. Is Windows firewall blocking this port? Or did you disable DCOM service? ERROR: Message not found for errorCode: 0x8001FFFF org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825) at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152) at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:56) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) Caused by: java.net.SocketException: Network is unreachable at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:519) at java.nio.channels.SocketChannel.open(SocketChannel.java:157) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98) at rpc.Stub.attach(Stub.java:104) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860) ... 13 more I've already been through the suggestions at https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM, but no luck. Using nmap on my jenkins machine, running as user jenkins, I can see that the ports are open on the slave. I can even telnet/netcat to it. PORT STATE SERVICE 135/tcp open msrpc 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3389/tcp open ms-term-serv Sounds like it might be a bug in j-Interop, but can't confirm: http://sourceforge.net/projects/j-interop/forums/forum/840678/topic/3732777

    Jenkins JIRA | 5 years ago | Kevin Bulebush
    org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF
  6. 0

    Here's the trace from the failing slave: Connecting to 192.168.0.5 Failed to connect to port 135 of 192.168.0.5. Is Windows firewall blocking this port? Or did you disable DCOM service? ERROR: Message not found for errorCode: 0x8001FFFF org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825) at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152) at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:56) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) Caused by: java.net.SocketException: Network is unreachable at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:519) at java.nio.channels.SocketChannel.open(SocketChannel.java:157) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98) at rpc.Stub.attach(Stub.java:104) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860) ... 13 more I've already been through the suggestions at https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM, but no luck. Using nmap on my jenkins machine, running as user jenkins, I can see that the ports are open on the slave. I can even telnet/netcat to it. PORT STATE SERVICE 135/tcp open msrpc 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3389/tcp open ms-term-serv Sounds like it might be a bug in j-Interop, but can't confirm: http://sourceforge.net/projects/j-interop/forums/forum/840678/topic/3732777

    Jenkins JIRA | 5 years ago | Kevin Bulebush
    org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      Network is unreachable

      at sun.nio.ch.Net.connect()
    2. Java RT
      SocketChannel.open
      1. sun.nio.ch.Net.connect(Native Method)
      2. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:519)
      3. java.nio.channels.SocketChannel.open(SocketChannel.java:157)
      3 frames
    3. org.jinterop.dcom
      JIComTransport.attach
      1. org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98)
      1 frame
    4. rpc
      Stub.attach
      1. rpc.Stub.attach(Stub.java:104)
      1 frame
    5. org.jinterop.dcom
      JIComServer.createInstance
      1. org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860)
      2. org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825)
      3. org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909)
      4. org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730)
      5. org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746)
      5 frames
    6. org.jvnet.hudson
      WMI.connect
      1. org.jvnet.hudson.wmi.WMI.connect(WMI.java:61)
      1 frame
    7. hudson.os.windows
      ManagedWindowsServiceLauncher.launch
      1. hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152)
      1 frame
    8. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:56)
      2. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199)
      2 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:149)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      5. java.lang.Thread.run(Thread.java:736)
      5 frames