0

On a Windows 10 system, I can connect my Jenkins slave through the command line but not via Services.

jenkins-slave.err.log shows MalformedByteSequence: invalid byte 2 of 2-byte UTF-8 sequence
MalformedByteSequenceException explained why it happens (and saved me the headache of transcribing the traceback stack!), but not how to find where the problem is so that I can fix it.

In a browser, I entered http://my-jenkins-master:8080/computer/my_agent/slave-agent.jnlp
Got the dialog window You have chose to open slave-agent.jnlp with size 377 bytes
But when I select "Save File" -- nothing happens, and jenkins-slave.err.log shows Content is not allowed in prolog

Other agents can download their slave-agent.jnlp OK, so I don't know where the problem is so that I can fix it.

Will be glad to supply any other information you need.

TheBick
  • 191
  • 1
  • 4
  • 11
  • You don't really need to download `slave-agent.jnlp`. I recommend to install the service through the command-line using `jenkins-slave.exe`. It is not difficult, see [this tutorial](https://hayato-iriumi.net/2019/05/23/how-to-install-jenkins-slave-as-windows-service/). In addition it allows you to automate slave setup. – zett42 Feb 26 '20 at 20:26
  • The whole Jenkins thing had been already set up before I inherited. Somehow this one item got broken and I'd like to fix it. Where is the file (presumably on the Jenkins master) so I can fix it? – TheBick Feb 27 '20 at 01:02

0 Answers0