Welcome Guest | Login

FCGI and Basic Authentication issue

I have a Rails app that uses the restful_authentication plugin. I can log in fine from the browser. When testing my Rails application using curl I get get an error "Couldn't authenticate you":

curl -v -H  'Accept: application/xml' -H 'Content-Type: application/
xml' -u username:password -d '<request></request>' http://theurl.com

I can use this same command against my dev machine (running either webrick or mongrel on Win XP) and it works ok.

It looks like the the basic authentication headers are being stripped out at some point but I'm not sure where.

2007-09-07 01:38 PM

Hello,

I have searched a lot in various forums and so far I haven't got any relevant fixes or settings related with the mentioned issue. can you please update us with all the necessary steps to recreate the issue at our end so that we can investigate the issue further.

2007-09-07 06:39 PM

Regards,
Rahul
Do you need to use my application or the steps to create your own environment?

2007-09-07 06:48 PM

I'd suggest sending in a support ticket with the exact steps to recreate the problem on your application.  Its likely a problem with curl...can you use curl from different boxes and the same issue happens?  

2007-09-08 08:41 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!