I ran the wire check and the diff speaks volumes, although I have 0 clue as to why it is behaving as it is.

All I can see is the same until Google for some reason on the remote box returns a 200 and just skips the 302 which is the post login redirect, which makes sense from what i was seeing earlier.

Tom

On 07/03/2012 17:10, Oleg Kalnichevski wrote:
On Wed, 2012-03-07 at 16:02 +0000, Tom Barber wrote:
Hi Guys

I am writing a Youtube data extraction plugin for a client of mine and
I've been developing locally on my Mac without any issues the helper
class i have written works absolutely fine, I also checked an Ubuntu VM
and its fine.

I then deployed it today to my clients RHEL based server and its
absolutely knackered, largely cause to login to Youtube CMS is a fudge
but a fudge that works when not on RHEL, on RHEL though the login seems
to work as I am redirected to the users management page, but then when I
do a httpget to get the file I require Google seems to have forgotten
I'm logged in and instead of pumping me a zip file I get a lovely html
login page.

I've attached the methods in question, but i'm at a loss as to what I
can do to resolve this. Any ideas? I'll happily supply more information
on request cause today is supposedly handover day and this doesn't work :)

Cheers

Tom
Tom,
I seriously doubt there are going to be many people willing to debug
your code.

What you should do is to generate wire logs for HTTP sessions in your
local environment and on the RHEL server and compare HTTP messages
transferred across the wire. Most likely messages will differ.

http://hc.apache.org/httpcomponents-client-ga/logging.html

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to