Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 124073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:23:15+00:00 2026-05-11T04:23:15+00:00

I need to test HTTPS connections to my local Rails script/server instance in development

  • 0

I need to test HTTPS connections to my local Rails script/server instance in development it doesn’t seem to be supported and I wasn’t able to Google-up any solutions.

Here’s what it looks like from the client perspective:

 ted@teflon-ted ~/Downloads[master]$ grep tedslaptop /etc/hosts 127.0.0.1   api.tedslaptop.com ted@teflon-ted ~/Downloads[master]$ /usr/bin/curl https://api.tedslaptop.com:3000/ curl: (35) Unknown SSL protocol error in connection to api.tedslaptop.com:3000  

And here’s what I see on the server:

 $ script/server  => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart). ** Rails signals registered.  HUP => reload (without restart).  It might not work well. ** Mongrel 1.1.5 available at 0.0.0.0:3000 ** Use CTRL-C to stop. Fri Jan 16 13:06:50 -0500 2009: HTTP parse error, malformed request (127.0.0.1): # Fri Jan 16 13:06:50 -0500 2009: REQUEST DATA: '\200d\001\003\001\000K\000\000\000\020\000\0009\000\0008\000\0005\000\000\026\000\000\023\000\000\n\a\000?\0003\000\0002\000\000/\003\000\200\000\000\005\000\000\004\001\000\200\000\000\025\000\000\022\000\000\t\006\000@\000\000\024\000\000\021\000\000\b\000\000\006\004\000\200\000\000\003\002\000\200xa\377\\?wEM??/\235F\020\232' --- PARAMS: {} --- 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T04:23:16+00:00Added an answer on May 11, 2026 at 4:23 am

    HTTPS is something that is handled outside the Rails framework. Therefore, you cannot test it directly. The functionality that your Rails application provides should be exactly the same on HTTPS as it is on unencrypted HTTP.

    script/server uses Mongrel to serve your requests. Mongrel does not support SSL / HTTPS directly.

    If you really want to test HTTPS functionality, you have to setup Apache (or another webserver) with SSL/HTTPS support (using mod_ssl), and configure it to run your Rails application (using mod_rails or mod_proxy).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to test, if an instance is exactly of a given type. But
I'm writing a unit test for a custom subclass of org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<T> and I need
I need to test Perl Application ( File operation , Data base operation..etc )
I need to test if a user can write to a folder before actually
I need to test my application. Its a VoIP but each time I need
I need to test the bandwidth I have on my USB RNDIS connection. I
I need a test for a variable which would evaluate to true in two
I need to test my Android app for playing flash objects in the WebView.
I need to test a controller, of action index (generated by the grails generate-all
I need to test if a string (filenames with their complete path) contains another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.