• Resolved kpl

    (@kpl)


    SOLR is installed on the server. During testing the WPSOLR plugin it always produces the notice “Solr JSON response could not be decoded”.

    How can I fix this error?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPSolr free

    (@wpsolr)

    Thread Starter kpl

    (@kpl)

    Now SOLR is installed on my apache server (HTTP), and the index folder “new-index” exists in /usr/home/USERNAME/solr/server/solr.

    Trying to connect occurs an error “We could not connect to your Solr server. It’s probably because the port is blocked. Please try another port, for instance 443, or contact your hosting provider/network administrator to unblock your port.

    Solr HTTP error: HTTP request failed, Failed to connect to localhost port 8983: Connection refused”

    Port 80 also fails, but the notice is another: “We could not join your Solr server. Your Solr path could be malformed, or your Solr server down (Solr code 404)”.

    Do I have to put the account owner’s user name and password into the fields key and secret of TAB 0?

    Plugin Author WPSolr free

    (@wpsolr)

    What is your Solr path in wpsolr index settings ?

    Thread Starter kpl

    (@kpl)

    I tried it with

    Host: localhost and IP-address and Host-Name
    the moment
    Solr index path: /solr/new-index
    and /solr/server/solr/new-index
    and /usr/home/USERNAME/solr/server/solr/new-index
    and /usr/home/USERNAME/solr/new-index

    Plugin Author WPSolr free

    (@wpsolr)

    Correct setting:

    Host: localhost
    Scheme: HTTP
    Port: 8983
    Solr index path: /solr/new-index

    You must ensure you can access your Solr admin UI locally.

    Can you show a capture of your Solr admin, menu “Core admin” ?
    (hide your external url)

    Thread Starter kpl

    (@kpl)

    Now the connection is successful established.
    Thank you!

    Plugin Author WPSolr free

    (@wpsolr)

    Have fun!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘JSON response could not be decoded’ is closed to new replies.