Displaying 20 results from an estimated 200 matches similar to: "authentication question"
2007 Oct 05
3
basic_auth problem since 0.6.9
I have a site that I don''t think "returns" a basic_auth request, but is
able to use basic_auth.
In the past on 0.6.8, I could use the following code:
require ''rubygems''
# gem ''mechanize'', ''=0.6.8''
require ''mechanize''
agent = WWW::Mechanize.new
agent.basic_auth("username", "password")
2007 Jul 12
3
Basic_auth questions
How do you make get the page when using basic_auth? Below is code, I am
getting a 401 error. I am not sure if the basic _auth comes before the
agent.get. I will appreciate any help.
require ''mechanize''
require ''logger''
agent = WWW::Mechanize.new {|a| a.log = Logger.new(STDERR) }
page = agent.get(''https://brewx.qualcomm.com/developer'' )
2007 Jul 02
6
Basic auth bug in 0.6.9
I haven''t spent the time to get a proper test case for this yet, but
there appears to be a bug in the basic_auth code for mechanize
0.6.9. I''ve attached a CSV (from Charles) that illustrates the problem.
Basically when running with basic_auth, there''s a failed request
that''s followed up by a successful request. That last POST is a
agent.submit(form)
2007 Sep 03
1
ftape on centos5?
Hello,
Does anyone have the ftape driver working with a centos5 machine,
specifically with a 2.6.18-8.18-8.el5 centosplus kernel? I've got a
situation where it is needed and haven't been able to find anything related
to kernels beyound 2.1 on it, not sure if that's still current, if not i'd
appreciate any suggestions.
Thanks.
Dave.
2006 Oct 02
3
Mongrel cluster FreeBSD rc.d script
Hello all
After installing Mongrel, Mongrel Cluster and all it''s dependencies via gems
under FreeBSD. Next I have configured all config/mongrel_cluster.yml for each
Rails app, then:
% mkdir /usr/local/etc/mongrel_cluster
and likend each railsapp.yml to it''s refering app/config/mongrel_cluster.yml
My question is, after preparing all base configs now I need to add some rc.d
2001 Feb 25
1
DNS - L I V E S .........
Andrew & Kenny - Thank You!
DSN will talk to me again! I still don't have the dynamic DNS
completely right, but God it sure is nice to have nslookup speaking to
me again. I couldn't have done it without your help. Ok, here is the
status.
Like a numer of us, I have the uncanny nack of making life far too
difficult for myself. You are goinng to sh!$ when you find out what my
2008 Jul 10
1
TX tcp checksum errors with Xen GPLPV 0.9.9 Drivers (xen 3.2.1 and windows Server x86 2003 R2)
Hello,
My first post on Xen-Users, so ..
i''ve discovered a strange problem.
Setup:
-A Windows server 2003R2 (x86) with GPL PV driver 0.9.9
ipferf 1.7.0 (from 2003)
-dom0 a opensuse 11.0 xen:
# rpm -q -a |grep -i xen
kqemu-kmp-xen-1.3.0pre11_2.6.25.5_1.1-7.1
kiwi-desc-xenboot-2.38-67.1
xen-3.2.1_16881_04-4.2
xen-tools-3.2.1_16881_04-4.2
xen-libs-3.2.1_16881_04-4.2
2009 Nov 23
3
Please some enlightment on ENUM !!
Hello all you Gurus out there!
Please could you explain something to me:
Currently I try to get ENUMLOOKUP() working. Naturally I do all the
testing with my own number.
I registered my number at e164.org
I paid for registration of my number at a registration agent for e164.arpa
(I know, I don't need both. I just did the .arpa registration first and
later discoverd the free .org service....)
2009 Apr 22
5
Connection reset by peer (Errno::ECONNRESET)
Hi,
I''m a new bee to Ruby and I''m trying to parse the html content from a
website using net/http. All urls work fine except for
"https://www.google.com/accounts/AuthSubRequest?scope=http%3A%2%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&session=0&secure=0&next=http%3A%2F%2Fwww.google.com".
When I try to access this url I get an error like this :
2013 Nov 20
2
[PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb
On Tue, Nov 19, 2013 at 02:00:11PM -0800, Eric Dumazet wrote:
> On Tue, 2013-11-19 at 23:53 +0200, Michael S. Tsirkin wrote:
>
> > Which NIC? Virtio? Prior to 2613af0ed18a11d5c566a81f9a6510b73180660a
> > it didn't drop packets received from host as far as I can tell.
> > virtio is more like a pipe than a real NIC in this respect.
>
> Prior/after to this patch,
2013 Nov 20
2
[PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb
On Tue, Nov 19, 2013 at 02:00:11PM -0800, Eric Dumazet wrote:
> On Tue, 2013-11-19 at 23:53 +0200, Michael S. Tsirkin wrote:
>
> > Which NIC? Virtio? Prior to 2613af0ed18a11d5c566a81f9a6510b73180660a
> > it didn't drop packets received from host as far as I can tell.
> > virtio is more like a pipe than a real NIC in this respect.
>
> Prior/after to this patch,
2007 Apr 07
2
TLS problem
Hi.
I have xen xen-3.0.4_1
If tls in not disabled I am getting the following:
***************************************************************
***************************************************************
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls glibc libraries. The emulation is **
** slow. To ensure full performance you
2013 Nov 19
3
[PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb
On Tue, Nov 19, 2013 at 01:36:36PM -0800, Eric Dumazet wrote:
> On Tue, 2013-11-19 at 22:49 +0200, Michael S. Tsirkin wrote:
> > On Tue, Nov 19, 2013 at 06:03:48AM -0800, Eric Dumazet wrote:
> > > On Tue, 2013-11-19 at 16:05 +0800, Jason Wang wrote:
> > > > We need to drop the refcnt of page when we fail to allocate an skb for frag
> > > > list, otherwise
2013 Nov 19
3
[PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb
On Tue, Nov 19, 2013 at 01:36:36PM -0800, Eric Dumazet wrote:
> On Tue, 2013-11-19 at 22:49 +0200, Michael S. Tsirkin wrote:
> > On Tue, Nov 19, 2013 at 06:03:48AM -0800, Eric Dumazet wrote:
> > > On Tue, 2013-11-19 at 16:05 +0800, Jason Wang wrote:
> > > > We need to drop the refcnt of page when we fail to allocate an skb for frag
> > > > list, otherwise
2015 Jan 21
4
way to set shell used for remote commands?
On Wed, Jan 21, 2015 at 17:29:00 +0000, Alex Bligh wrote:
>
> On 21 Jan 2015, at 15:36, Jason Vas Dias <jason.vas.dias at gmail.com> wrote:
>
> > Please can OpenSSH provide some way of specifying which shell to use to
> > execute commands on a host.
>
> Using dash as an example of another shell:
>
> ssh 127.0.0.1 -t dash
>
> and
>
>
2006 Jul 18
0
del.icio.us links in the layout - HELP
I''m trying to get my del.icio.us links to appear in the layout, so it''s
throughout the entire application. Here''s the code I have:
#controller - application.rb?
def get_authenticated(path, http)
request = Net::HTTP::Get.new(path)
request.basic_auth ''user'', ''pass''
response = http.request(request)
response.value
2009 Sep 02
0
Parse private rss feeds
hello
I would like to know how to get the content of an atom page, which is
in the same application ,
i tried to use NET::HTTP but i dont know how to decrypt user password to
login with eq.basic_auth
thnx
--
Posted via http://www.ruby-forum.com/.
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to
write in another way.
I have:
webservice WSDL link (https://something?WSDL, that''s .net webservice)
pem file (certificate, needed to authentificate for gettting data)
i need :
to consume that webservice without describing API''s for each method (i
mean use WSL to construct needed structures or objects).
2007 Mar 25
1
Automatic HTTP Basic Authentication In Ruby on Rails
Hi,
i need to access a url
www.sometesturl3456.com/index.php
It prompts HTTP Authentication window asking username and password. I
have do automatic HTTP Basic authentication without manual entry of
username and password, as i am reading the content of page in ruby in
rails using:
response = open("www.sometesturl3456.com/index.php").read
Please help me to know how this can be done.
2003 Nov 06
4
newbie's additional (probably to some extent OT) questions
(1)
So finally, thank to your help I have this:
summary(lm(x ~ 0+I(t^2)))
And then I get this result:
=================================================
Call:
lm(formula = x ~ 0 + I(t^2))
Residuals:
Min 1Q Median 3Q Max
-3.332e-02 -9.362e-03 1.169e-05 1.411e-02 3.459e-02
Coefficients:
Estimate Std. Error t value Pr(>|t|)
I(t^2) 0.0393821