I managed to work around my problem by simply connecting to the RHN over HTTPS 
rather than HTTP.
So my problem was specific to HTTP connections.

John Dunbar wrote:
Hi,

I've got pretty much the same problem. I have some perl scripts that connect to the RHN XMLRPC API, this connects over HTTP.

On rhel4 these work fine, on rhel5 they time out. I thought it could be perl and library versions so I've installed exactly the same version of perl and all libraries on the rhel5 machine as are in rhel4 and still the same.

I've also tried two different XMLRPC libraries on rhel5 (XMLRPC and Frontier) and both do the same, plus the different perl versions.
I've tried different rhel5 servers and my laptop and same results.

If I have a very simple script that just lists the servers I have registered with RHN and then run it and watch with strace I can see it login to RHN o.k, then very slowly get the first few servers back then eventually I get a error 500 timeout.

My problem is easy to replicate, can anyone here use the RHN API with perl on rhel5?

Thanks,
Daryl Herzmann wrote:
Good evening,

Over the past few years, I have been developing a python library to communicate (via http) with internet accessible webcameras from Canon. Anyway, with my migration to rhel5 (from el3...el4) I have had problems communicating with some of these cameras from el5 clients (python urllib2 and firefox). Strangely, a basic telnet connection to port 80 works :/

The symptom is from the connection to just hang there. So I fired up wireshark and noticed that it said this when my client sends the HTTP command:

checksum incorrect (maybe cased by TCP checksum offload)

and then a series of TCP Previous segment lost, Dup ACK 8 and other stuff I don't understand :)

I take my same python code or firefox and go to rhel4 and it works just fine. I also fired up windows xp in my vmware vm on rhel5 and it works there (don't hate me!). I also have many other systems and invariably, it fails on rhel5 and works on rhel4 to some of these webcams.

Anybody have any ideas what to try next or what could be wrong? Of the 30 webcams I test against, it is often failing for 6 of them.

thanks!
  daryl

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to