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

  • SEARCH
  • Home
  • 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 8291613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:11:29+00:00 2026-06-08T13:11:29+00:00

I have a Ruby on Rails website at which I force all connections to

  • 0

I have a Ruby on Rails website at which I force all connections to be SSL. I need all connections from that site to use HTTPS as well. Also, Google Chrome will automatically switch to HTTPS even if I connect to another port.

This means that I cannot connect to
http://www.mysite.com:8080
I have to serve the juggernaut js file over https. But that doesn’t work since Juggernaut doesn’t want to use https instead of http at its internal webserver. So I copied the application.js file from the juggernaut folder /usr/local/lib/node_modules/juggernaut/public/application.js into my rails folder public/juggernaut and changed the following line in my HTML code:

to

Now I seem to be able to at least initiate a Juggernaut object. The problem arises when I start to actually do some listening. I get this error:

Not found: https://www.mysite.com:8080/socket.io/1/?t=1340749304426&jsonp=0

So either I need to

a) be able to change it so I can actually have Juggernauts webserver use https instead of http. This is preferable.

or

b1) fix Juggernaut so it doesn’t try to access socket.io over port 8080 and

b2) add socket.io to my server, preferably under the http://www.mysite.com/juggernaut folder instead of the root.

Any ideas?

Thanks!

  • 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. Editorial Team
    Editorial Team
    2026-06-08T13:11:30+00:00Added an answer on June 8, 2026 at 1:11 pm

    Might be a little late but I was able to get it to work using this. (My juggernaut is hosted on heroku)

        var jug = new Juggernaut({
            secure: true,
            host: 'yourHostHere',
            port: 443,
            transports: ['xhr-polling','jsonp-polling']
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have rails website that shows information from database. And I have ruby script
I have a Ruby on Rails Website that makes HTTP calls to an external
I am creating a Ruby on Rails website. The users can have avatars from
I have Ruby on Rails 3.1 application and i use for Sphinx + Thinking
I have a Ruby on Rails application that needs to find a home in
I have a Ruby on Rails app that I've recently deployed to a remote
I have a Ruby on Rails model that has a column called expiration_date .
I am creating a website in Ruby on Rails. I have a controller action
I'm porting the existing website from PHP to Ruby on Rails 3 and I
I have a Ruby on Rails application that will be a CMS in way

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.