Hi, Am Freitag, den 01.04.2005, 14:35 -0500 schrieb Paul Winkler:
On Fri, Apr 01, 2005 at 08:29:39AM +0100, Chris Withers wrote:
Paul Winkler wrote:
I have a somewhat similar issue; an in-house Zope product is retrieving some information from a remote URL. If I hit the same URL from the command line on the zope server (using wget), it works fine. When Zope hits it, it gets a Bad Gateway error from the remote (Apache + Jboss) server. Will post back here with anything I find out, maybe it will help you.
For both you and Jacob I'd recommend getting a packet sniffer up and running. It looks like the requests your python code is emitting are not the same as the ones that, for example, wget is emitting.
It'd be a heck of a lot easier if the packets were unencrypted. I set up tcpwatch (great tool!) but predictably, for an SSL connection, the output is gibberish. Any other ideas?
You might try http://www.rtfm.com/ssldump/ (also as package available for most systems)