Daniel-KM / Omeka-S-module-SearchSolr

Search Omeka resources instantly and deeply with Apache Lucene / Solr
Other
3 stars 1 forks source link

Solr HTTP error with localhost #11

Closed mquantin closed 1 year ago

mquantin commented 1 year ago

After configuring, I get an error Solr HTTP error: Solr core is not available. Check config to get Solr core schema "http://omeka_admin:1".

There are 2 differents base URL (see screenshot below). screenshot

-> What is this schema URL http://omeka_admin:1 in my error?

When I request the schema through the terminal (with the right URL), it works:

curl --user 'omeka_admin:password' 'http://localhost:8983/solr/omeka/schema'
{
  "responseHeader":{
    "status":0,
    "QTime":20},
  "schema":{
    "name":"default-config",
etc.

Where is the schema URL rewritten to that wrong one?

In the config page, the set URL is the right one http://localhost:8983/solr/omeka The credentials are OK

When I try to create a new core, I get the same error, right after the first step (field "name").

Daniel-KM commented 1 year ago

In this case, you can try "127.0.0.1".