Octo.exe deploy error message on deploy with variables

Hi,
I am running the octo.exe tool for the command line and I’m able to create releases, delete etc. but I’m tripping up on actually doing a deploy as I cannot make any sense of the following error message after running the command below. (I have substituted any sensitive details). This results in the error below but it does not say much to me.

Thanks for any clarification around this.

Tuka

octo deploy-release --project “Sample project” --releaseNumber 1.0.5 --deployto Development --variable Client:Test --variable Host:test --variable webname:test --variable Folder:test --server http://octopus --apiKey API-ASAMPLEAPIKEY

Error from Octopus server (HTTP 200): Unable to process response from server: Object reference not set to an instance of an object… Response content: {
“StepsToExecute”: [],
“Form”: {
“Values”: {
"4dd8bd6c-01d2-6859-2cbe-4a59548df70
Exit code: -7

Hi Tukaopaleye,

Thanks for getting in touch!

What version of Octopus are you running ?

Are you able to send the server log (should be in C:\octopus\logs) so we can see where the exception is happening ?

Regards

Damian

Hi,

I am using Octopus version 3.0.10

I did not find any relevant error logs in the log file. I have included a cleaned out version of the log (remove thumbprints etc) for your reference. I had run the same command as above 3 times from 9:48 today and I don’t see any error messages .

Thanks for your help.

OctopusServer.txt (190 KB)

Hi Tukaopaleye,

Thanks for that. You are right, nothing in the server logs.

Are you using a recent version of Octo.exe as well ? Is the output in your first post the entire stack track ?
And finally, are you able to use Wireshark or something similar to track the response from the server and see what that looks like ?

Regards

Damian

Hi Damian,
I am using Octo.exe version 3.2.0.97 but just upgraded to 3.2.2 with no luck.

The full stack track (output on console is below): Also, further below I have included the responses using fiddler.

Octopus Deploy Command Line Tool, version 3.2.2+Branch.master.Sha.38fdc11a40c257dea3ea3b3a1c8b3a1c8ad6cf42

Handshaking with Octopus server: http://octopus/
Handshake successful. Octopus version: 3.0.10.2278; API version: 3.0.0
Authenticated as: User1 <…emailremoved…com>
Finding project: Vuelio Client Migration
Finding release: 1.0.518
Error from Octopus server (HTTP 200): Unable to process response from server: Object reference not set to an instance of an object… Response content: {
“StepsToExecute”: [],
“Form”: {
“Values”: {
"4dd8bd6c-01d2-6859-2cbe-4a59548df70
Exit code: -7

D:\Tools\OctopusTools.3.2.2>

--------------------- Fiddler Outputs ------------------------------------

—updated ***** see the next comment below*****

Hi Damian,

The fiddler output was a bit messy in the previous post so I added it in the text file attached to this comment.

Thanks

RawFile_fordebugging_octoexe.txt (2 KB)

Hi,

Sorry for the delay here. We submitted a bug to get this fixed https://github.com/OctopusDeploy/Issues/issues/2191

Sorry for the trouble caused. We’ll try to fix it as soon as we can.

Thanks,

Dalmiro

This now works with most recent deployment of Octopus deploy 3.2.15.
I have been able to successfully deploy with variables using octo.exe

Thanks,
Tuka