I'm getting interpretation errors on correctly return json because it doesn't have enough white space that the intrpretResponse function is expecting. I don't know why it need so many line breaks to work.
Error invoking the REST service REST Credential Service, operation login: Error interpreting response
The code is line 234 from httpclient.inc:
$client->rawResponse = $response;
$split = preg_split('/\r\n\r\n/', $response, 2);
The code needs to be:
$client->rawResponse = $response;
$split = preg_split('/\r\n/', $response, 2);
patch is attached.
Comments
Comment #1
dashohoxha commentedThis issue is fixed by the patch of the following issue: #2163459: Support proxy agents
Comment #2
dashohoxha commented@emarchak, can you check whether the last commit has fixed this problem?