Hello Jan, Thank you for the return email. This is on Spacewalk 1.4 with Centos 5.6.
On Aug 29, 2011, at 3:52 AM, Jan Pazdziora <[email protected]> wrote: > On Tue, Aug 23, 2011 at 03:58:49PM -0600, Jeremy Davis wrote: >> 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"; >> } > > Is this RHEL 6 Spacewalk? Is this Spacewalk nightly? > > -- > Jan Pazdziora > Principal Software Engineer, Satellite Engineering, Red Hat > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
