Hello List,

I have a working Perl script that when used on the main application server
of Spacewalk it works fine. When I change the host to a Proxy server it
gives the following error.

500 Bad chunk-size in HTTP response: <?xml version="1.0"
encoding="UTF-8"?><methodResponse><params><param><value><array><data><value><struct><member><name>id</name><value><i4>1000010545</i4></value></member>

Any idea as to how I can resolve this issue?

The calls I am making are as follows:

Host, username and password is given within the same script. Just removed it
for security reasons.

my $client = new Frontier::Client(url => "https://$HOST/rpc/api";);
my $session = $client->call('auth.login',$user, $pass);

my $allsystems = $client->call('system.listSystems', $session);
 foreach my $system (@$allsystems) {
   my $systemname = $system->{'name'};
   my $systemid = $system->{'id'};
   print "$systemname and $systemid \n";
 }


-- 
Kind regards,
Jeremy Davis, GCIH
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to