Hi Michael, thanks for the response, nothing in my nginx configuration indicates any buffering explicitly one way or the other.
On Wed, Oct 4, 2017 at 3:17 PM, Michael Pailloncy < [email protected]> wrote: > If you run this very same command directly on the Jenkins server and > without reaching it through your reverse proxy, does it work ? > I'm wondering if it's not related to the configuration of your reverse > proxy. As described in this documentation > <https://jenkins.io/doc/book/managing/cli/#http-connection-mode>, you > need to ensure that it doesn't buffer request/response bodies when serving > Jenkins through HTTPS. > > Hopefully it helps. > > 2017-10-04 19:01 GMT+02:00 Richard Ginga <[email protected]>: > >> is anybody out there? >> >> my script syntax for this is >> >> cmd = 'java -jar ~/Downloads/jenkins-cli.jar -noKeyAuth -s >> https://stt-jenkins.disruptorbeam.com/ -auth >> rginga:0793b086e3c9272ddeb0daff1093518c connect-node ' + params.NODENAME >> st = sh(returnStatus: true, script: cmd) >> >> >> >> On Wed, Oct 4, 2017 at 10:08 AM, Richard Ginga <[email protected]> >> wrote: >> >>> I see a thread happening on CLI issues. I have a different >>> question/issue and do not want to hijack that other discussion. >>> >>> when running any cli in a pipeline script I an getting below but the >>> command works >>> >>> *00:04:11.368* + java -jar /Users/jenkins/Downloads/jenkins-cli.jar >>> -noKeyAuth -s https://stt-jenkins.disruptorbeam.com/ -auth >>> rginga:xxxxxxxxxx connect-node perf-test-client3 >>> >>> *00:04:28.597* Oct 04, 2017 9:52:34 AM hudson.cli.CLI$5 run*00:04:28.597* >>> WARNING: null*00:04:28.597* java.io.IOException: Stream is >>> closed*00:04:28.597* at >>> sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3512)*00:04:28.597* >>> at >>> sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3486)*00:04:28.597* >>> at >>> java.io.DataOutputStream.writeInt(DataOutputStream.java:197)*00:04:28.597* >>> at >>> hudson.cli.PlainCLIProtocol$EitherSide.send(PlainCLIProtocol.java:175)*00:04:28.597* >>> at >>> hudson.cli.PlainCLIProtocol$ClientSide.sendEndStdin(PlainCLIProtocol.java:347)*00:04:28.597* >>> at hudson.cli.CLI$5.run(CLI.java:679)*00:04:28.597* >>> >>> -- >>> Dick Ginga >>> Build Engineer >>> [email protected] >>> >>> >> >> >> -- >> Dick Ginga >> Build Engineer >> [email protected] >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/jenkinsci-users/CAL3PpaU2vJiaU65icq6vBNwBs%3D7_%3DvG_a4_ >> tOq_vdVxHbLo4Ug%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaU2vJiaU65icq6vBNwBs%3D7_%3DvG_a4_tOq_vdVxHbLo4Ug%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/CAPO77c2yn_VvCtXNbeA9R27E2yNm8xb2_ > PTn1UEK-0ocoTHvXw%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAPO77c2yn_VvCtXNbeA9R27E2yNm8xb2_PTn1UEK-0ocoTHvXw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Dick Ginga Build Engineer [email protected] -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaUB-PoHSb73KvBQuzW_0VGKNZKCb850KCLm2dB9SZ4msA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
