java.io.IOException: Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A

Jenkins JIRA | Eric Huang | 5 years ago
  1. 0

    I am trying to setup a jenkins slave that is running on a pandaboard. I have Ubuntu 11.10 oneiric installed, and I am using OpenJDK Runtime Environment (IcedTea6 1.11pre). I am getting a "Invalid encoded sequence encountered" error when attempting to connect to the slave via ssh: [02/22/12 16:45:41] [SSH] Opening SSH connection to panda-devboard:22. 6:45:47] [SSH] Authentication successful. [02/22/12 16:45:47] [SSH] The remote users environment is: BASH=/bin/bash BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="4" [1]="2" [2]="10" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabi") BASH_VERSION='4.2.10(1)-release' DIRSTACK=() EUID=4086 GROUPS=() HOME=/home/release HOSTNAME=panda-devboard HOSTTYPE=arm IFS=$' \t\n' LANG=en_CA.UTF-8 LOGNAME=release MACHTYPE=arm-unknown-linux-gnueabi MAIL=/var/mail/release OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabi PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PIPESTATUS=([0]="0") PPID=10358 PS4='+ ' PWD=/home/release SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.1.0.195 4050 22' SSH_CONNECTION='10.1.0.195 4050 10.1.124.85 22' TERM=dumb UID=4086 USER=release XDG_SESSION_COOKIE=5c9ceadb707acb8eae13745b00000009-1329957946.802516-2119305671 _=']' [02/22/12 16:45:47] [SSH] Checking java version of java [02/22/12 16:45:48] [SSH] java -version returned 1.6.0_23. [02/22/12 16:45:48] [SSH] Starting sftp client. [02/22/12 16:45:48] [SSH] Copying latest slave.jar... [02/22/12 16:45:48] [SSH] Copied 257,564 bytes. [02/22/12 16:45:48] [SSH] Starting slave process: cd '/var/hudson' && java -jar slave.jar -text Running in text mode <===[JENKINS REMOTING CAPACITY]===><===[HUDSON TRANSMISSION BEGINS]===channel started Slave.jar version: 2.12 This is a Unix slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online [02/22/12 16:45:54] [SSH] Opening SSH connection to panda-devboard:22. ERROR: Connection terminated java.io.IOException: Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A at hudson.remoting.BinarySafeStream$1._read(BinarySafeStream.java:194) at hudson.remoting.BinarySafeStream$1.read(BinarySafeStream.java:80) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1127)

    Jenkins JIRA | 5 years ago | Eric Huang
    java.io.IOException: Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A
  2. 0

    I am trying to setup a jenkins slave that is running on a pandaboard. I have Ubuntu 11.10 oneiric installed, and I am using OpenJDK Runtime Environment (IcedTea6 1.11pre). I am getting a "Invalid encoded sequence encountered" error when attempting to connect to the slave via ssh: [02/22/12 16:45:41] [SSH] Opening SSH connection to panda-devboard:22. 6:45:47] [SSH] Authentication successful. [02/22/12 16:45:47] [SSH] The remote users environment is: BASH=/bin/bash BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="4" [1]="2" [2]="10" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabi") BASH_VERSION='4.2.10(1)-release' DIRSTACK=() EUID=4086 GROUPS=() HOME=/home/release HOSTNAME=panda-devboard HOSTTYPE=arm IFS=$' \t\n' LANG=en_CA.UTF-8 LOGNAME=release MACHTYPE=arm-unknown-linux-gnueabi MAIL=/var/mail/release OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabi PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PIPESTATUS=([0]="0") PPID=10358 PS4='+ ' PWD=/home/release SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.1.0.195 4050 22' SSH_CONNECTION='10.1.0.195 4050 10.1.124.85 22' TERM=dumb UID=4086 USER=release XDG_SESSION_COOKIE=5c9ceadb707acb8eae13745b00000009-1329957946.802516-2119305671 _=']' [02/22/12 16:45:47] [SSH] Checking java version of java [02/22/12 16:45:48] [SSH] java -version returned 1.6.0_23. [02/22/12 16:45:48] [SSH] Starting sftp client. [02/22/12 16:45:48] [SSH] Copying latest slave.jar... [02/22/12 16:45:48] [SSH] Copied 257,564 bytes. [02/22/12 16:45:48] [SSH] Starting slave process: cd '/var/hudson' && java -jar slave.jar -text Running in text mode <===[JENKINS REMOTING CAPACITY]===><===[HUDSON TRANSMISSION BEGINS]===channel started Slave.jar version: 2.12 This is a Unix slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online [02/22/12 16:45:54] [SSH] Opening SSH connection to panda-devboard:22. ERROR: Connection terminated java.io.IOException: Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A at hudson.remoting.BinarySafeStream$1._read(BinarySafeStream.java:194) at hudson.remoting.BinarySafeStream$1.read(BinarySafeStream.java:80) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1127)

    Jenkins JIRA | 5 years ago | Eric Huang
    java.io.IOException: Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A
  3. 0

    Certificate error while admin server startup (solaris 8, wls 8.1.4)

    Oracle Community | 7 years ago | 750709
    java.io.IOException: Inconsistent security configuration, Certificate expired: [ [ Version: V3 Subject: EMAILADDRESS=******************, CN=***********, OU=********, O=************, L=*******, ST=*******, C=** Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4 Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@672 Validity: [From: Thu Feb 03 11:25:08 GMT 2005, To: Tue Feb 02 11:25:08 GMT 2010] Issuer: EMAILADDRESS=******************, CN=***********, OU=********, O=************, L=*******, ST=*******, C=** SerialNumber: 00 Certificate Extensions: 3 [1]: ObjectId: 2.5.29.14 Criticality=false SubjectKeyIdentifier [ KeyIdentifier [ 0000: E9 1E E1 30 86 89 7E 1A 67 A2 58 5B 9D 8A 9E 7A ...0....g.X[...z 0010: C1 CF C4 DA .... ] ] [2]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: E9 1E E1 30 86 89 7E 1A 67 A2 58 5B 9D 8A 9E 7A ...0....g.X[...z 0010: C1 CF C4 DA .... ] EMAILADDRESS=******************, CN=***********, OU=********, O=************, L=*******, ST=*******, C=** SerialNumber: 00] [3]: ObjectId: 2.5.29.19 Criticality=false BasicConstraints:[ CA:true PathLen:2147483647 ] ] Algorithm: MD5withRSA Signature: 0000: 74 15 DF 05 54 27 1D 1D D5 35 F4 99 24 1A 84 1C t...T'...5..$... 0010: BF 93 25 FA 50 D7 1E 36 66 7F 30 1A EF 67 2A 79 ..%.P..6f.0..g*y 0020: 4A 72 FD C1 3B 33 05 61 D0 52 92 2D 15 89 68 67 Jr..;3.a.R.-..hg 0030: E8 13 A6 60 18 38 16 53 16 22 CC 4D 87 19 9F 30 ...`.8.S.".M...0 0040: 28 F3 3C C0 4C C2 C4 34 69 D3 BA 5C B2 4D 8A FF (.<.L..4i..\.M.. 0050: AA DD BD 04 96 AF 69 05 73 77 8D 93 89 90 5D 23 ......i.sw....]# 0060: E9 D0 CA 02 5A 20 39 40 85 12 A9 67 04 ED 7B 59 ....Z 9@...g...Y 0070: 34 FB 31 E7 AD F6 C0 AE E4 5E 66 BB 8E 7D 45 72 4.1......^f...Er ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Certificate error while admin server startup (solaris 8, wls 8.1.4)

    Oracle Community | 7 years ago | 750709
    java.io.IOException: Inconsistent security configuration, Certificate expired: [ [ Version: V3 Subject: EMAILADDRESS=******************, CN=***********, OU=********, O=************, L=*******, ST=*******, C=** Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4 Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@672 Validity: [From: Thu Feb 03 11:25:08 GMT 2005, To: Tue Feb 02 11:25:08 GMT 2010] Issuer: EMAILADDRESS=******************, CN=***********, OU=********, O=************, L=*******, ST=*******, C=** SerialNumber: [ 00] Certificate Extensions: 3 [1]: ObjectId: 2.5.29.14 Criticality=false SubjectKeyIdentifier [ KeyIdentifier [ 0000: E9 1E E1 30 86 89 7E 1A 67 A2 58 5B 9D 8A 9E 7A ...0....g.X[...z 0010: C1 CF C4 DA .... ] ] [2]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: E9 1E E1 30 86 89 7E 1A 67 A2 58 5B 9D 8A 9E 7A ...0....g.X[...z 0010: C1 CF C4 DA .... ] [EMAILADDRESS=******************, CN=***********, OU=********, O=************, L=*******, ST=*******, C=**] SerialNumber: [ 00] ] [3]: ObjectId: 2.5.29.19 Criticality=false BasicConstraints:[ CA:true PathLen:2147483647 ] ] Algorithm: [MD5withRSA] Signature: 0000: 74 15 DF 05 54 27 1D 1D D5 35 F4 99 24 1A 84 1C t...T'...5..$... 0010: BF 93 25 FA 50 D7 1E 36 66 7F 30 1A EF 67 2A 79 ..%.P..6f.0..g*y 0020: 4A 72 FD C1 3B 33 05 61 D0 52 92 2D 15 89 68 67 Jr..;3.a.R.-..hg 0030: E8 13 A6 60 18 38 16 53 16 22 CC 4D 87 19 9F 30 ...`.8.S.".M...0 0040: 28 F3 3C C0 4C C2 C4 34 69 D3 BA 5C B2 4D 8A FF (.<.L..4i..\.M.. 0050: AA DD BD 04 96 AF 69 05 73 77 8D 93 89 90 5D 23 ......i.sw....]# 0060: E9 D0 CA 02 5A 20 39 40 85 12 A9 67 04 ED 7B 59 ....Z 9@...g...Y 0070: 34 FB 31 E7 AD F6 C0 AE E4 5E 66 BB 8E 7D 45 72 4.1......^f...Er ]
  6. 0

    Steps: 1. Open two Roo shells 2. Close both shells at the same time This corrupts the ~/.spring_roo_pgp.bpg file leading to errors on the next start. Work-around: Close Roo and remove ~/.spring_roo_pgp.bpg. 8-Jul-2011 8:32:38 PM org.springframework.roo.felix.JdkDelegatingLogListener logNow SEVERE: [org.springframework.roo.felix [38]] [org.springframework.roo.felix.pgp.PgpServiceImpl] The activate method has thrown an exception org.apache.felix.log.LogException: java.lang.IllegalArgumentException: java.io.IOException: invalid header encountered at org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys(PgpServiceImpl.java:145) at org.springframework.roo.felix.pgp.PgpServiceImpl.trust(PgpServiceImpl.java:160) at org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeys(PgpServiceImpl.java:103) at org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeysIfRequired(PgpServiceImpl.java:87) at org.springframework.roo.felix.pgp.PgpServiceImpl.activate(PgpServiceImpl.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472) at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118) at org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:95) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1148) at org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:88) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322) at org.apache.felix.framework.Felix.getService(Felix.java:2913) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330) at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:785) at org.apache.felix.scr.impl.manager.DependencyManager$1.getInstance(DependencyManager.java:1039) at org.apache.felix.scr.impl.helper.BindMethod.getParameters(BindMethod.java:564) at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:226) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591) at org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:548) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472) at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:1028) at org.apache.felix.scr.impl.manager.DependencyManager.bind(DependencyManager.java:944) at org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:868) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:200) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118) at org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:95) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1148) at org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:88) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322) at org.apache.felix.framework.Felix.getService(Felix.java:2913) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330) at org.springframework.roo.shell.eclipse.Bootstrap.initShell(Bootstrap.java:575) at org.springframework.roo.shell.eclipse.Bootstrap.access$2(Bootstrap.java:545) at org.springframework.roo.shell.eclipse.Bootstrap$RooShellStartupMonitor.run(Bootstrap.java:619) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: invalid header encountered at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source) at org.bouncycastle.openpgp.PGPLiteralData.<init>(Unknown Source) at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source) at org.bouncycastle.openpgp.PGPPublicKeyRingCollection.<init>(Unknown Source) at org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys(PgpServiceImpl.java:132) ... 48 more 8-Jul-2011 8:32:38 PM org.spr

    SpringSource Issue Tracker | 5 years ago | Steffen Pingel
    org.apache.felix.log.LogException: java.lang.IllegalArgumentException: java.io.IOException: invalid header encountered

    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.io.IOException

      Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A

      at hudson.remoting.BinarySafeStream$1._read()
    2. Hudson :: Remoting Layer
      BinarySafeStream$1.read
      1. hudson.remoting.BinarySafeStream$1._read(BinarySafeStream.java:194)
      2. hudson.remoting.BinarySafeStream$1.read(BinarySafeStream.java:80)
      2 frames
    3. Java RT
      ObjectInputStream.readObject
      1. java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
      2. java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
      3. java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
      4. java.io.ObjectInputStream.readObject0(Unknown Source)
      5. java.io.ObjectInputStream.readObject(Unknown Source)
      5 frames
    4. Hudson :: Remoting Layer
      Channel$ReaderThread.run
      1. hudson.remoting.Channel$ReaderThread.run(Channel.java:1127)
      1 frame