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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:37:16+00:00 2026-05-28T16:37:16+00:00

I have get the add on on heroku application, and added required sunspot gem

  • 0

I have get the add on on heroku application, and added required sunspot gem in Gemfile and there is WEBSOLR_URL value in heroku config variables.

The sunspot.yml has also been added and the production settings is some thing like this production:

solr:
  hostname: <%=ENV["WEBSOLR_URL"]%>
  port: 8983
  log_level: WARNING

but still search is getting crash on heroku with this error

RSolr::Error::Http (RSolr::Error::Http - 404 Not Found
2012-01-18T05:27:31+00:00 app[web.1]: Error: <html><head><title>Apache Tomcat/6.0.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /solr/KEY_m0/select</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/solr/a55_m0/select</u></p><p><b>description</b> <u>The requested resource (/solr/KEY_m0/select) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.28</

P.S.
I have replaced the actual api key with KEY word.

  • 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-05-28T16:37:17+00:00Added an answer on May 28, 2026 at 4:37 pm

    I don’t think you can embed ERB tags into your sunspot.yml file – the line <%=ENV["WEBSOLR_URL"]%> is probably getting parsed literally.

    I’m looking at my sunspot.yml for a heroku app I’m running, and it looks like I don’t really have any settings for production at all. So long as heroku’s WEBSOLR_URL is set correctly, I think that overrides the sunspot.yml anyway. I’d try removing that concat tag altogether; it might be what’s tripping things up.

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

Sidebar

Related Questions

I have to add one month to todays date and have to get date
If I have following in jQuery $(#someId).add(#someOtherId).bind(click, function(e) {... I get the click bound
So I have a class that has the following member variables. I have get
I have an application that I want to host on Heroku. It has sensitive
I began taking up Heroku again, but have had some problems trying to get
On a Postgres backed Rails application running on Heroku I am trying to add
I have been playing around with different caching strategies on Heroku and have add
I have a Facebook application on my local machine and another created with Heroku
Suppose I was given a URL. It might already have GET parameters (e.g. http://example.com/search?q=question
<div id=container1> <span>...</span> </div> <div id=container2> <span>...</span> </div> Say if I have get the

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.