search for: socketerror

Displaying 20 results from an estimated 36 matches for "socketerror".

Did you mean: socket_error
2006 Jul 15
3
SocketError when trying to install Rails with RubyGems
I downloaded RubyGems 0.9.0 and successfully extracted and built it by running "sudo setup.rb". Then I try to install Rails via this command: "sudo gem install rails --include-dependencies" But I get this error everytime: ERROR: While executing gem ... (SocketError) getaddrinfo: no address associated with nodename Can someone point me in the right direction? Thanks much. Sri -- Posted via http://www.ruby-forum.com/.
2010 Feb 25
0
SocketError: getaddrinfo: Name or service not known --> error while running test case
...getting the below error when I try to run my test case. I have already started selenium RC server (port:4444).. Also I have specified " 127.0.0.1 localhost " in /etc/hosts ... :ruby test1.rb Loaded suite test1 Started E Finished in 0.022698 seconds. 1) Error: testfestool(Test1): SocketError: getaddrinfo: Name or service not known /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'' /usr/lib/ruby/1.8/net/http.rb:560:in `open'' /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'' /usr/lib/ruby/1.8...
2009 Feb 08
2
SocketError in EmailController#correspond
SocketError in EmailController#correspond getaddrinfo: no address associated with hostname. Please see above, these are the errors i get when i try to email a user on my networking site. Can you help please. Actionmailer address = smtp.vodafone.ie Below is code used for the email controller in apps/controll...
2008 Jun 12
1
how do I mock the Rails Logger with should_receive?
Hey Guys, I''m trying to mock the Rails Logger for the following code: ... rescue TimeoutError => error $logger.error("#{self.name} Timeout for #{path}: #{error}") and return rescue SocketError => error $logger.error("#{self.name} SocketError for #{path}: #{error}") and return rescue StandardError => error $logger.error("#{self.name} Error for #{path}: #{error}") and return end ... my failed attempt to spec: logger = mock_model(Logger)...
2008 Jun 12
1
Does anyone know how to mock the Rails Logger then set expectations with should_receive?
Hey Guys, I''m trying to mock the Rails Logger for the following code: ... rescue TimeoutError => error $logger.error("#{self.name} Timeout for #{path}: #{error}") and return rescue SocketError => error $logger.error("#{self.name} SocketError for #{path}: #{error}") and return rescue StandardError => error $logger.error("#{self.name} Error for #{path}: #{error}") and return end ... my failed attempt to spec: logger = mock_model(Logger)...
2006 Feb 03
3
Breakpointer not working
When I try to run script/breakpointer, I get the following error: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getnameinfo: Non-recoverable failure in name resolution (SocketError) It''s Rails 1.0 on OSX 10.4.4. Any suggestions?
2008 Feb 12
4
getaddrinfo: Name or service not known
Hi. When running "puppetd --server <puppetmaster> --waitforcert 50 --test" on a puppet client we get the following error: /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/net/http.rb:560:in `open'' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'' from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' from /usr/lib/ru...
2006 Feb 17
2
HELP: Strange problem with breakpointer - stopped working
...am running: Suse 9.3 Rails 1.00 Ruby 1.8.3 Please help, if you have any idea. Thanks Christian Error log from start breakpointer ./script/breakpointer (returned immedeatly after start): /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: Name or service not known (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in `open_server'' from /u...
2006 Sep 06
3
DRb error when using rails_spec on OS X
...er'' (not rails_spec_server as the website currently reads, btw) in a separate shell, then in another shell I run ''script/rails_spec'' and get the following: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:i...
2006 Aug 16
1
ActionMailer cannot use SMTP for email delivery...
...dows development laptop works without a hitch, but on a Linux staging server using the exact same source code with the exact same config files it doesn''t work; the symptoms are as follows... If I put the name of the SMTP server in "config/environment.rb" I get the following SocketError on the Linux box: getaddrinfo: Temporary failure in name resolution /usr/lib/ruby/1.8/net/protocol.rb:206:in `initialize'' ... If I put the SMTP''s IP address in "config/environment.rb" instead of it''s name, it doesn''t work either, but this...
2008 May 30
3
Mongrel error since updating to OSX 10.5.3
...tart ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... /usr/local/ruby-patched/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../ lib/mongrel/tcphack.rb:12:in `initialize_without_backlog'': getaddrinfo: nodename nor servname provided, or not known (SocketError) from /usr/local/ruby-patched/lib/ruby/gems/1.8/gems/ mongrel-1.1.5/bin/../lib/mongrel/tcphack.rb:12:in `initialize'' from /usr/local/ruby-patched/lib/ruby/1.8/drb/drb.rb:865:in `open'' from /usr/local/ruby-patched/lib/ruby/1.8/drb/drb.rb:865:in `open...
2006 Aug 16
5
installing Ruby on Rails behind a firewall
Ok, I went to the "Get Ruby on Rails ..." web page and followed directions. When I get to the step where I''m to do this: gem install rails --include-dependencies I get this error: ERROR: While executing gem ... (SocketError) getaddrinfo: no address associated with hostname. Here is my configuration, Win XP Pro Running commands in a cygwin "bash" sh. And I AM behind a firewall - meaning in my brower I use a proxy server for all outside access. Can anyone help me make the install work ? Thanks in ad...
2006 Feb 22
8
Install Rails
...by\bin>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails --include-dep endencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' ERROR: While executing gem ... (SocketError) getaddrinfo: no address associated with hostname. C:\ruby\bin> How can I solve this problem ? Where can I download rails*.gem ? Thanks very much . -- Posted via http://www.ruby-forum.com/.
2006 Feb 09
2
breakpointer error
...r to work on locomotive. Pretty sure it used to work... Any ideas?? Jeroen jeroen$ ruby script/breakpointer /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:828:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:828:in `open_server_inaddr_any'' from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:851:in `open_se...
2006 Feb 27
1
Trapping specific errors
Hi, I have a begin rescue clause and want to trap for specific errors begin cause error rescue Excpetion => err case err when SocketError do stuff when ... # trap for ErrNo::EINVAL end end Say I get the error ErrNo::EINVAL ... how/where can I find out what the Excpetion for it is named? I have tries ErrNo::EINVAL, ErrNo::EINVALError, EINVALError, but none of these seem to trap the exception .... Any help please Than...
2009 Nov 11
1
getaddrinfo: nodename nor servname provided, or not known
...il address." end end In environment.rb I have: ActionMailer::Base.delivery_method = :sendmail and at the top of the same file I have: ENV[''RAILS_ENV''] ||= ''production'' When I try and enter an email address into the form: I tget an error back: SocketError in EmailController#remind getaddrinfo: nodename nor servname provided, or not known Has anyone else experienced this, and how do you get it up and running? Many Thanks
2006 Feb 02
3
breakpointer failing
.../snippets/posts/show/303). But the one thing that doesn''t work is breakpoints and the breakpointer script. When I run script/breakpointer, I get the following error: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getnameinfo: Non-recoverable failure in name resolution (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:i...
2006 Jul 06
0
Problem joining Netapp server to samba domain
...39;s what I do and where it goes wrong (I've hidden the real ip addresses). I've also created a machine account for the Netapp server on the PDC.: What is the name of the Windows NT 4 domain? [WORKGROUP]: PCKLAS CIFS - Starting SMB protocol... Wed Jul 5 17:08:47 CEST [filertop: nbt.nbss.socketError:error]: NBT: Cannot connect to server x.y.v.w over NBSS socket for port 139. Error 0xd: Permission denied. *** CIFS Setup could not establish a connection with the Primary Domain *** Controller (PDC). Usually this happens when the 'FILERTOP' account *** does not exist in the d...
2006 Sep 28
1
upload_progress and DRb.start_service crashes
Whenever I tried to start mongrel_rails with the upload progress script, it would die with the following error: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb...
2009 Oct 13
7
Unicorn Nginx Issue
I''ve setup nginx with this server { listen 80; server_name unicorn.local; location / { proxy_pass http://unicorn; } } upstream unicorn { server unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock; } When I run unicorn_rails -c config/unicorn.rb -E development I can access the application just fine on unicorn.local When I run unicorn_rails -c