search for: read_status_line

Displaying 20 results from an estimated 25 matches for "read_status_line".

2007 Jul 27
3
Is mechanize thread safe?
Hello all, I was just wondering if anybody knew whether mechanize is supposed to be thread-safe or not? I didn''t really find any information about it anywhere. I''ve been getting a strange error in protocol.rb when I run a script that uses mechanize in a multi threaded fashion, but not with a single thread. I''m trying to write a spider that does multiple gets in
2006 Aug 17
1
sysread error in "net" library?
...sr/lib/ruby/1.8/timeout.rb:76:in `timeout'' from /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from /usr/lib/ruby/1.8/net/http.rb:1988:in `read_status_line'' from /usr/lib/ruby/1.8/net/http.rb:1977:in `read_new'' ... 13 levels... from (eval):1 -- View this message in context: http://www.nabble.com/sysread-error-in-%22net%22-library--tf2121538.html#a5851469 Sent from the RubyOnRails Users forum at Nabble.com.
2008 Apr 23
1
Error in execution of rails Application using solr Search engine
...in `timeout'' /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' /usr/lib/ruby/1.8/net/http.rb:2029:in `read_status_line'' /usr/lib/ruby/1.8/net/http.rb:2018:in `read_new'' /usr/lib/ruby/1.8/net/http.rb:1059:in `request'' /usr/lib/ruby/1.8/net/http.rb:1046:in `request'' /usr/lib/ruby/1.8/net/http.rb:547:in `start'' /usr/lib/ruby/1.8/net/http.rb:1044:in `request'' /usr/l...
2007 Dec 13
3
Realise a web service with ruby on rails.
...in `timeout'' /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' /usr/lib/ruby/1.8/net/http.rb:2020:in `read_status_line'' /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new'' /usr/lib/ruby/1.8/net/http.rb:1050:in `request'' /usr/lib/ruby/1.8/net/http.rb:845:in `post'' /usr/lib/ruby/1.8/soap/netHttpClient.rb:93:in `post'' /usr/lib/ruby/1.8/soap/netHttpClient.rb:116:in `start'&...
2010 Jun 17
6
Foreman / external_node.rb
...t; % [ARGV[0], res.class] end ########################################################################## When I run it against a node, which I already took off the internal node definitions, I get the following error: /etc/puppet/external_node.rb hostname /usr/lib/ruby/1.8/net/http.rb:2022:in `read_status_line'': wrong status line: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN \">" (Net::HTTPBadResponse) from /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new'' from /usr/lib/ruby/1.8/net/http.rb:1050:in `request'' from /etc/puppe...
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
...Trace from master: /usr/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill'' /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'' /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'' /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'' /usr/lib/ruby/1.8/net/http.rb:1051:in `request'' /usr/lib/ruby/1.8/net/http.rb:1037:in `request'' /usr/lib/ruby/1.8/net/http.rb:543:in `start'' /usr/lib/ruby/1.8/net/http.rb:1035:in `request'' /usr/l...
2011 May 24
0
read_nonblock': end of file reached (EOF Error)
...reached (EOFError) from /usr/local/lib/ruby/1.9.1/net/protocol.rb:135:in `rbuf_fill'' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'' from /usr/local/lib/ruby/1.9.1/net/http.rb:2219:in `read_status_line'' from /usr/local/lib/ruby/1.9.1/net/http.rb:2208:in `read_new'' from /usr/local/lib/ruby/1.9.1/net/http.rb:1191:in `transport_request'' from /usr/local/lib/ruby/1.9.1/net/http.rb:1177:in `request'' from /usr/local/lib/ruby/1.9.1/net/http.rb:888:in `get''...
2007 Sep 14
1
Unable to scrap gmail.com - EOFError: End of file reached
...6:in `timeout'' from /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from /usr/lib/ruby/1.8/net/http.rb:2017:in `read_status_line'' from /usr/lib/ruby/1.8/net/http.rb:2006:in `read_new'' from /usr/lib/ruby/1.8/net/http.rb:1047:in `request'' from /var/lib/gems/1.8/gems/mechanize-0.6.10/lib/mechanize.rb:514:in `fetch_page'' from /var/lib/gems/1.8/gems/mechanize-0.6...
2006 May 25
3
webservice timeout issue
...timeout.rb:76:in `timeout'' /usr/local/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' /usr/local/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' /usr/local/lib/ruby/1.8/net/protocol.rb:126:in `readline'' /usr/local/lib/ruby/1.8/net/http.rb:1988:in `read_status_line'' /usr/local/lib/ruby/1.8/net/http.rb:1977:in `read_new'' /usr/local/lib/ruby/1.8/net/http.rb:1046:in `request'' /usr/local/lib/ruby/1.8/net/http.rb:840:in `post'' /usr/local/lib/ruby/1.8/soap/netHttpClient.rb:93:in `post'' /usr/local/lib/...
2007 Jul 04
2
timeout error
...6:in `timeout'' from /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from /usr/lib/ruby/1.8/net/http.rb:2017:in `read_status_line'' from /usr/lib/ruby/1.8/net/http.rb:2006:in `read_new'' from /usr/lib/ruby/1.8/net/http.rb:1047:in `request'' ... 14 levels... from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ runner.rb:47 from /usr/local/lib/site_ruby/1.8/...
2008 Jun 09
1
FX ruby program error EOF
...rb:76:in `timeout'' from C:/ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' from C:/ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' from C:/ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from C:/ruby/lib/ruby/1.8/net/http.rb:2017:in `read_status_line'' from C:/ruby/lib/ruby/1.8/net/http.rb:2006:in `read_new'' ... 14 levels... from C:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.13-mswin32/lib/fox16/responder2.rb:55:in `call'' from C:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.13-mswin32/lib/fox16/responder2.rb:...
2007 Sep 11
3
Production mode bug with ruby/amazon
Hi all, I''ve got an issue that only ever appears in production mode. I''ve got my app hooked up to amazon''s web service (ECS, using ruby/amazon from http://www.caliban.org/ruby/ruby-amazon.shtml). In the dev environment, everything''s peachy. But in production mode, after I''ve left the app up for a couple of hours (sometimes, minutes), I get an
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
...; /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' > /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' > /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' > /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' > /usr/lib/ruby/1.8/net/http.rb:2029:in `read_status_line'' > /usr/lib/ruby/1.8/net/http.rb:2018:in `read_new'' > /usr/lib/ruby/1.8/net/http.rb:1059:in `request'' > /usr/lib/ruby/gems/1.8/gems/mechanize-0.6.10/lib/mechanize.rb:514:in > `fetch_page'' > /usr/lib/ruby/gems/1.8/gems/mechanize-0.6.10/lib/mechani...
2009 Apr 22
5
Connection reset by peer (Errno::ECONNRESET)
...ib/ruby/1.8/timeout.rb:93:in `timeout'' from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'' from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from /usr/lib/ruby/1.8/net/http.rb:2020:in `read_status_line'' from /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new'' from /usr/lib/ruby/1.8/net/http.rb:1050:in `request'' from ./rssModule.rb:40:in `extractor'' from /usr/lib/ruby/1.8/net/http.rb:543:in `start'' from ./rssModule.rb:38:in `extractor''...
2007 Jun 06
10
Attachment_fu S3 uploads killing mongrel
I was wondering if anyone here has seen a similar error to this... >From mongrel.log /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/ transactions.rb:85:in `transaction'': Transaction aborted (ActiveRecord::Transactions::TransactionError) from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ configurator.rb:293:in `call'' from
2007 Mar 25
5
mechanize 0.6.6 Released
mechanize version 0.6.6 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: =
2006 Apr 21
3
Problem with Mongrel, Rails and web services using xmlrpc
...t'' from c:/ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' from c:/ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' from c:/ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from c:/ruby/lib/ruby/1.8/net/http.rb:1988:in `read_status_line'' from c:/ruby/lib/ruby/1.8/net/http.rb:1977:in `read_new'' from c:/ruby/lib/ruby/1.8/net/http.rb:1046:in `request'' from c:/ruby/lib/ruby/1.8/net/http.rb:1033:in `request'' from c:/ruby/lib/ruby/1.8/net/http.rb:545:in `start''...
2006 Apr 18
3
install rail behind a proxy
Hello i try to install rail. I am behin a proxy with no Authorization C:\rubygems-0.8.11>gem install rails -p http://xxx.xxx.xxx.xxx Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org Install required dependency rake? [Yn] y
2011 Nov 14
3
ruby 1.9.3 causes rbuf_fill timeout, but 1.8.7 does not
...from /usr/local/lib/ruby/1.9.1/net/protocol.rb:140:in `rbuf_fill'' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'' from /usr/local/lib/ruby/1.9.1/net/http.rb:2562:in `read_status_line'' from /usr/local/lib/ruby/1.9.1/net/http.rb:2551:in `read_new'' from /usr/local/lib/ruby/1.9.1/net/http.rb:1319:in `block in transport_request'' from /usr/local/lib/ruby/1.9.1/net/http.rb:1316:in `catch'' from /usr/local/lib/ruby/1.9....
2010 Apr 21
12
puppetd stops
Hi all, The last 2 weeks we have been having problems with puppetd just randomly stopping. The only thing the log shows is: <snip> Apr 21 12:14:59 relay puppetd[1376]: Finished catalog run in 4.78 seconds Apr 21 12:30:07 relay puppetd[1376]: Finished catalog run in 4.76 seconds Apr 21 12:45:20 relay puppetd[1376]: Finished catalog run in 4.61 seconds </snip> There is no pattern when