I''m calling a web service using and am receiving the following error: Net::HTTPServerException 404 "Not Found" Can''t find any documentation on this. What method throws this error? The get, or the reading of the response? I''m performing a Net::HTTP::Get.new, then reading the response. Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
chris-OIzkuoyqg0kAvxtiuMwx3w@public.gmane.org
2006-Aug-24 09:34 UTC
[Rails] Re: Net::HTTPServerException 404 "Not Found"
jim dandy wrote:> I''m calling a web service using and am receiving the following error: > > Net::HTTPServerException 404 "Not Found" > > Can''t find any documentation on this. What method throws this error? The > get, or the reading of the response? I''m performing a > Net::HTTP::Get.new, then reading the response.You should be able to tell which method is resulting in that error by looking at the stack trace that gets printed underneath the error. It''ll tell you which method Ruby was in when the exception occurred, and which line number in which file that was. However, the root cause of the error is a standard 404 response from the server that''s running the web service you''re calling. Are you sure you''ve got the correct URL? Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Seemingly Similar Threads
- dashboard 1.1.1 with filebucket doesn't show contents of the new file
- fields_for and Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array.
- always Not Found
- Error Bundler
- 3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)