Here I am playing with restful in V15, EPC 150050, wondering why this works when I run from windows, but not when running in the IBM, maybe someone can point me to the issue.
When running in windows, I get the response with the bearer token and all is good, I do my follow up request with the json using that bearer token, success.
But in the IBM, the httprequest returns:
Code: Select all
BAD HTTP Request Status Code:
CONNECTION_ERROR
Failed to send outgoing data to the server, HTTPTransportException: Cannot initialize a channel
to the remote end. Failed to establish SSL connection to server, the operation gsk_secure_soc_init() failed.GSKiCode: Select all
#Url.SetScheme( 'https' )
#Url.SetHost( 'auth.dddddd.aaaaxxx.companyxxxx.com' )
#Url.SetPath( '/oauth2/token' )
#HttpRequest.Options.AddHeader Name('Content-Type') Value('application/x-www-form-urlencoded')
#HttpRequest.Content.AddUrlEncodedFormValue( 'grant_type' 'client_credentials' )
#HttpRequest.Content.AddUrlEncodedFormValue( 'client_id' '0000000aaaaaaaaaaaabbbbbbbbbbb' )
#HttpRequest.Content.AddUrlEncodedFormValue( 'client_secret' 'ccccccccccccccccdddddddddddeeeeeeeeeeeeee' )
#HttpRequest.Content.AddUrlEncodedFormValue( 'scope' 'updateaaaaaaaaaaabbbbbbbbbbcccccc' )
#HttpRequest.DoPost Url(#Url)
If (#HttpRequest.Response.IsSuccessfulRequest) /* <==== This is the one returning the error in the IBM */
If (#HttpRequest.Response.IsSuccessHttpStatusCode)As additional information, the IBM is set in the LANSA configuration for http and https (no that it should matter as my pc it is not and can send the https communication without issues).
Thank you