• Not Answered

Http error in request/response to http://localhost:8080/solr/update/

When I login to my Telligent Community 5.0 site, or click 'login' I occasionally get an error.

In the control panel the exceptions report gives this exception

User Agent:
Path: as HTTP
Referrer:
Message: Http error in request/response to http://localhost:8080/solr/update/
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

I have not installed search for the site so I am confused as to why I get this error. 

Does anyone have any ideas?

Thanks

6 Replies

  • That shouldn't be the exception you get when you login.  The best way to get the exception when you login is to turn off custom errors.

    If you haven't installed search, then this error will occur frequently - at least 5 times every 2 minutes out of the box, and possibly more if you type in a search term.

  • In reply to Alex Crome:

    Hi Alex, Can this error also occur if the tomcat service is stopped for a few minutes (whilst reindexing -  deleting the /index folder) and the search task runs whilst it is turned off?

    Thanks

    Adam

  • In reply to Adam Seabridge:

    Yes that would be one possible explanation.  This error is saying that it tried to access the url localhost/.../update however got no response.  And since tomcat was stopped, there's no way that Solr could have possibly responded.

  • In reply to Alex Crome:

    Alex,

    I just installed Solr yesterday.

    I'm getting that same error as mentioned above:

    Message:  Http error in request/response to localhost/.../update

    System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080

    Along with this one (both every few minutes...):

    Message:  Error occurred while running background task SearchDeleteQueue

    System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080

    --

    (Results in the TC site always yields "Sorry, we were unable to find any results using your search terms. Please change your search terms and try again.")

    Solr seems to be operating fine and when I hit the admin page to test I get a good response.  Did I miss a step somewhere? 

     

  • In reply to Marc Mezzacca:

    Apache Urls are case sensitive.  Can you confirm you can access solr at

    http://localhost:8080/solr/ 

    as opposed to any of the following:

    http://localhost:8080/Solr/ or http://localhost:8080/SOLR/ or http://localhost:8080/SoLr/

  • In reply to Alex Crome:

    Yes, I can confirm that.  Since my last post I seemed to have figured out the problem, which was security related. I'm now getting results fine and not seeing errors.

Related