Displaying 1 result from an estimated 1 matches for "directauth".
Did you mean:
digestauth
2006 Aug 02
0
Errno::ENXIO (Device not configured) when using net/https from rails
...start rails
(apache1.3 + scgi). I wonder if something here isn''t thread safe?
Just a guess.
@postdata = nil
headers = { ''Referer'' => '''', ''Content-Type'' =>
''application/x-www-form-urlencoded'' }
@postdata = "directauth=1&user=#{user}&pass=#{@password}"
site = Net::HTTP.new( ''mysite.com'', 443 )
site.use_ssl = true
response = site.post(''/login'', @postdata, headers) <<--- Line 69 in
method authorize
And this is the backtrace:
Errno::ENXIO (Device not configur...