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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    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