VMware Cloud Community
brettparkhurst
Enthusiast
Enthusiast

HTTP Get Request fails / HTTP Status Code is NULL

I am running into an issue with InstallBuilder failing when making an HTTP Get request to our API.  I debugged it and InstallBuilder is erroring out and the ${installer_http_code} is NULL.  How can that be if it truly tried to make the API call?

I don't even see it trying to make the call, but the HTTP Get request hits the On Error Actions part of the call.  I display an error message with the ${installer_http_code} and it is blank.

I can make the same API call in any other tool including Postman and it works just fine. 

This Is blocking a critical release for our customers.  Can I get some help quickly on this please?

Thank you,

Brett

Reply
0 Kudos
11 Replies
michieldhont_
Hot Shot
Hot Shot

Hi @brettparkhurst,

Could you contact us in private support and send us the debugtrace?

 

.\installer.exe --debugtrace debug.txt

 

Regards,

Michiel

Reply
0 Kudos
brettparkhurst
Enthusiast
Enthusiast

Thank you, I will do that.  Much appreciated!

Reply
0 Kudos
jzatarain
Contributor
Contributor

What was the fix for this?

I believe I'm experiencing the same issue.

 

Brett worked with us, and he managed the builds, before.

Reply
0 Kudos
jzatarain
Contributor
Contributor

${installer_error_message_original} 

shows "there was an error download the file" and the http code is emty

Here's the xml
<httpGet>
<abortOnError>0</abortOnError>
<filename>${system_temp_directory}/result-${timestamp}.txt</filename>
<showMessageOnError>0</showMessageOnError>
<url>${P21MiddlewareURL}/.health/</url>

</httpGet>

Reply
0 Kudos
jzatarain
Contributor
Contributor

@michieldhont_ I'm tagging you, since I don't know if you got notified.

Tags (1)
Reply
0 Kudos
jzatarain
Contributor
Contributor

 
Reply
0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @jzatarain,

Unfortunately it's difficult to know the cause of the issue. Could you run the installer with the --debugtrace and contact us in private support?

.\installer.exe --debugtrace debug.txt

 

Regards,

Michiel

Reply
0 Kudos
jzatarain
Contributor
Contributor

It doesn't let me get the support, since I need to be added to the entitlement account, and I don't know the person that owns it 😕

Reply
0 Kudos
jzatarain
Contributor
Contributor

@michieldhont_ here's the log

Reply
0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @jzatarain,

Please accept my apologies for the late reply, Unfortunately the information from the debugger doesn't show the cause of the issue, it would be necessary to contact us in private support to be able to send the debugtrace. Could you tell me the issue you are having with creating a ticket?

 

Best regards,

Michiel

Reply
0 Kudos
jzatarain
Contributor
Contributor

@michieldhont_ I get "unable to download the file".

It seemed to be with only our, locally, hosted sites, but then I tried with google.com, and that just downloaded an error page from google.

It worked, with a local site, if I used http, instead of https.

When I try to get private support, the site doesn't let me continue, because I don't have an association with an entitled account.

I found out, yesterday, how to read parameters after the installation page, so I'm going to add the http requests in the code of what's installed.

Reply
0 Kudos