[Rails] Re: SSL testing on localhost - segfaults aplenty !

2009-05-25 Thread Abe Ced

Note to all those bewildered by random segfaults -- REPLACE MYSQL 5.1 
WITH A PREVIOUS VERSION and then copy a older libMySQL.dll to your ruby 
bin directory.

Already seen here :

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/66c916fabd91406a?pli=1

http://railsforum.com/viewtopic.php?id=28080

Enjoy, it took me more than 1 month to figure out what the bleep it 
could be..
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: SSL testing on localhost - segfaults aplenty !

2009-05-20 Thread Abe Ced

Hello Freddy,

Thank you for the reply ! Here is one sample segfault after 2 refreshes 
on one of the pages :

"Processing MainController#signup (for 127.0.0.1 at 2009-05-20 09:24:34) 
[GET]
D:/nu 
codes/R/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:114:
 
[BUG] Segmentation fault
ruby 1.8.6 (2009-03-31) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual 
way.
Please contact the application's support team for more information."

I tried hitting Mongrel direct but forgot to edit the line in my 
/etc/hosts Win32 file - contents thereof are :

127.0.0.1   localhost
127.0.0.1   www.niche.eu
::1 localhost

So it did not work with Mongrel direct until after introducing the first 
line. As in the server not responding on http://localhost:, 
responding on the fake domain name http://www.niche.eu[:, 
eventually] -> on the fake domain name I'm able to do https.

Should I dig into the Apache logs ? Maybe there is a timeout value in 
the httpd config, or it is not properly setup ? I must say I've never 
looked into Apache before, just wanted to have a solution of working 
https. Another striking issue is that I cannot get the web interface to 
Apache (as in http://localhost) to work, perhaps it has something to do 
with the hosts file having those redirects.

Nevertheless, Apache works - going to http://www.niche.eu redirects it 
to Mongrel, the site shows up.

Mongrel with https obviously not reachable (https://localhost:/).
Apache https with port included not reachable 
(https://www.niche.eu:/)

Or maybe I didn't get the hit Mongrel / hit Apache correctly ? :)

Thank you for your input ! I'm gonna try and investigate the matter 
further.


Freddy Andersen wrote:
> Where is the segfault?
> 
> Does Apache work like normal if you hit http and https ? You should be
> able hit the site with both before you even install the rail ssl
> require plugin. Mongrel does not care about if the client is talking
> http or https with Apache.
> 
> Does the site work like normal if you hit Mongrel direct?
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: SSL testing on localhost - segfaults aplenty !

2009-05-19 Thread Freddy Andersen

Where is the segfault?

Does Apache work like normal if you hit http and https ? You should be
able hit the site with both before you even install the rail ssl
require plugin. Mongrel does not care about if the client is talking
http or https with Apache.

Does the site work like normal if you hit Mongrel direct?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---