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 7919137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:45:40+00:00 2026-06-03T15:45:40+00:00

I couldn’t get Juggernaut/Socket.IO running on Windows so I took a shot at getting

  • 0

I couldn’t get Juggernaut/Socket.IO running on Windows so I took a shot at getting it running on Linux. I don’t know much Linux (or Rails for that matter). I can’t get Socket.io/Juggernaut working on my Rails server. It works OK on OS X (so I know it’s working).

After everything installed, I do the following:

/rails/app/path/rails s
redis-server
juggernaut # output is: info  - socket.io started

So I’m guessing that works OK. Now, when I run a window that uses Juggernaut, I get the following error in the Chrome Javascript Console:

XMLHttpRequest cannot load http://localhost:8080/socket.io/xhr-polling//1322359666443. Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin.
Resource interpreted as Script but transferred with MIME type text/plain.
Uncaught SyntaxError: Unexpected identifier

Software information:

  • Ubuntu 11.10
  • Ruby 1.9.2
  • Rails 3.1.1
  • NodeJS 0.4.9
  • NPM 0.2.19
  • Socket.IO v?.? (I just ran npm install socket.io today)
  • Juggernaut v?.? (I just ran npm install juggernaut today)
  • Tested in both Firefox and Chrome
  • 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-03T15:45:43+00:00Added an answer on June 3, 2026 at 3:45 pm

    This looks like a CORS issue, where the browser won’t allow an AJAX request to another origin (in this case port 8080).

    You might need to set your CORS headers in Socket.IO.

    I found this answer: https://stackoverflow.com/a/10423354/351937

    To find out more about CORS, have a look here: http://enable-cors.org/ and Google of course.

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

Sidebar

Related Questions

I couldn't find a straight answer to my question and need to know it
couldn't access registry HKLM keys from windows xp limited/guest user accounts public int GetEnabledStatus()
Couldn't find anything on this with a Google Search. Does anyone know how to
Couldn't find what the MediaRecorder: start failed -1 error message means. I'm getting it
Couldn't find anything really useful for my needs. So if I already know my
I couldn't really find this in Rails documentation but it seems like 'mattr_accessor' is
I couldn't get the POST value in servlet page. my previous question related to
couldn't think of a better title. I just want someone to let me know
I couldn't quite get this to work, and the examples I found only worked
Couldn't find one but can't believe they don't have one.

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.